@charset "utf-8";

/* ==========================================================================
   COMPONENT : 공통 컴포넌트 
   ========================================================================== */

/* --- 서브 비주얼 배너 --- */   
.sub-visual__bg { 
    height: 350px; 
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    gap: 100px;
}

.bg-intro {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
     url('../images/sub-visual_01.png'); 
}

.bg-gallery {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
     url('../images/sub-visual_02.png'); 
}

.bg-cs {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
     url('../images/sub-visual_03.png'); 
}

.bg-mypage {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
     url('../images/sub-visual_04.png'); 
}

.sub-visual__text h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

.sub-visual__nav {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.sub-visual__nav-list {
    display: flex;
    justify-content: center;
 }

.sub-visual__nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
}

.sub-visual__nav-list li a::after {
    display: inline-block;
    content: "";
    width: 14px;
    height: 10px;
    border: none;
    background-image: url(../images/icon_top_arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(90deg);
    padding: 0 15px;
    filter: brightness(0) invert(1);
}

.sub-visual__nav-list li:last-child a::after {
    display: none;
}

/* --- 탭 메뉴 --- */ 
.tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd; 
    margin-bottom: 34px;
}

/* DEV-ADD START 2026-06-05: 상단 공통 탭 이동 후 새 화면이 탭 위치로 복귀하도록 스크롤 기준점 지정 */
.tabs--scroll-restore {
    scroll-margin-top: 120px;
}
/* DEV-ADD END 2026-06-05: 상단 공통 탭 이동 후 스크롤 기준점 지정 */

.tabs ul {
    display: flex;
    gap: 0; 
    list-style: none;
    padding: 0;
    margin: 0;
}

.tabs ul li {
    display: flex;
    justify-content: center;
}

.tabs ul li a {
    position: relative;
    display: inline-flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
    padding: 35px 40px;  
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #888;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    transition: color 0.3s;
}

.tabs ul li a:hover {
    color: #444;
}

/* DEV-ADD START 2026-06-05: 탭 자동 포커스 시 기본 outline 박스가 노출되지 않도록 조정 */
.tabs ul li a:focus {
    outline: none;
}

.tabs ul li a:focus-visible {
    outline: 2px solid #2f73b7;
    outline-offset: 4px;
    border-radius: 8px;
}
/* DEV-ADD END 2026-06-05: 탭 자동 포커스 기본 outline 조정 */

.tabs ul li:not(:last-child) a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #d9d9d9;
}

.tabs ul li a.active {
    color: #2f73b7;
}

.tabs ul li a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 60%;
    height: 3px;
    background-color: #2f73b7;
    right: auto;
    transform: translateX(-50%);
}

/* --- 버튼 필터 --- */ 
.filters__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 30px 0
}

.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.filters__button {
    font-size: 1.125rem;
    padding: 8px 22px 10px;
    border-radius: 999px;
    background: #f6f6f6;
    color: #888;
    font-weight: 600;
}

.filters__button.all {
    padding: 8px 30px 10px;
}

.filters__button:hover {
    color: #2b6cb0; 
}

.filters__button.active {
    background: #2f73b7;
    color: #fff
}

.filters__wrap.two {
    justify-content: space-between;
}

/* --- 검색창 --- */ 
legend, .hd-element {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -999999px !important;
}

.search {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search__select-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    position: relative;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
}

.search select,
.search input,
.search textarea,
.field,
.form-table input,
.form-table select {
    color: #54555a;
    font-size: 0.875rem;
    height: 45px;
    border-radius: 0.6rem;
}

.search__select-control {
    display: inline-block;
    background-color: #fff;
    background-image: url(../images/icon_select_arrow.svg);
    background-position: calc(100% - 15px) center;
    background-repeat: no-repeat;
    border-color: #DAE1E6;
    border-style: solid;
    border-width: 1px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    padding: 10px 40px 10px 15px;
}

.search__input-box {
    position: relative;
}

.search__input-control {
    display: block;
    width: 100%;
    background-color: #FFF;
    border-color: #DAE1E6;
    border-style: solid;
    border-width: 1px;
    color: #666;
    height: 4rem;
    padding: 10px 80px 10px 15px;
    font-size: 1.6rem;
    border-radius: 0.4rem;
}

.search__input-box button {
    display: inline-block;
    position: absolute;
    right: 1rem;
    top: 0.9rem;
    width: 20px;
    height: 20px;
    background: url(../images/icon_search_gray.png) no-repeat center center;
    padding: 0;
    min-height: auto;
    min-width: auto;
    text-indent: -99999px;
    border: 0;
    background-size: cover;
}

/* --- 카운트 --- */ 
.count {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: #54555a;
    margin-bottom: 25px;
}

.count span {
    color: #2f73b7;
    font-weight: 600;
}

/* --- 페이지 h4 디자인 --- */ 
.h4-title {
    display: inline-flex;  
    align-items: center;  
    gap: 5px;            
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 20px;
}

.h4-title::before {
    content: '';
    width: 13px;          
    height: 13px;          
    border-radius: 50%;   
    background-color: #fff; 
    border: 4px solid #2f73b7; 
    flex-shrink: 0; 
}

/* --- 테이블 폼 --- */ 
.form {
    border-top: 1px solid #54555a;
}

.form-row {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    align-items: center;
    padding: 10px;
}

.form-row label {
    width: 160px;
    padding: 20px;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 600;
    color: #1c1c1c;
    box-sizing: border-box;
    display: block;
}

.required {
    color: #e0002a;
}

.form-row-body {
    flex: 1;
    box-sizing: border-box;
}

.form-input, 
.form-select, 
.form-textarea {
    width: 100%;
    height: 45px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    color: #54555a;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus, 
.form-select:focus, 
.form-textarea:focus {
    border-color: #1c1c1c;
}

.form-select {
    max-width: 300px;
    background: #fff url(../images/icon_select_arrow.svg) no-repeat right 10px center;
    appearance: none;
    -webkit-appearance: none;
}

.form-textarea {
    height: auto;
    padding: 12px;
    resize: vertical;
    margin: 8px 0;
}

.form-address-row,
.form-region-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.zipcode-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zipcode-wrap .form-input-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px 20px;
}

.address-wrap {
    flex: 1;
}

.address-detail-wrap {
    width: 100%;
    max-width: 730px;
    margin-top: 12px;
}

.address-detail-wrap .form-input {
    width: 100%;
    height: 40px;
}

.address-notice {
    display: block; 
    font-size: 13px;
    color: #888;
    margin-top: 6px;
    margin-bottom: 4px;
}


.file-upload {
    display: flex;
    gap: 8px;
    max-width: 500px;
    margin: 8px 0 6px;
}
.file-name {
    background-color: #f8f9fa;
    cursor: default;
}
.file-upload .file-button {
    display: inline-flex;  
    align-items: center;    
    justify-content: center; 
    width: 120px;
    height: 45px;
    background: #fff;
    border: 1px solid #2f73b7;
    color: #2f73b7;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
}

.file-upload .file-button:hover {
    background-color: #f2f6ff;
}

.sr-only {
    display: none;
}

.helper {
    display: block;
    font-size: 0.82rem;
    color: #888;
    margin: 15px 0 8px;
}

.privacy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.radio-filters {
    display: flex;
    gap: 20px;
}

.radio-filters label {
    width: auto;
    padding: 0;
    background: transparent;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    color: #545456;
    cursor: pointer;
}
.password-input-wrap .pwd-input {
    max-width: 180px;
    height: 38px;
}

.form-button {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 20px 0 80px 0;
}
.form-button > a,
.form-button > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 46px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    color: #54555a;
}

.form-button .cancel-button {
    border: 1px solid #ddd;
    background-color: #fff;
    color: #868686;
}

.form-button .cancel-button:hover {
    background-color: #f5f5f5;
}

.form-button .submit-button {
    border: 1px solid #2f73b7;
    background-color: #2f73b7;
    color: #fff;
}

.form-button .submit-button:hover {
    background-color: #255c92;
}

.form-input-button {
    color: #2f73b7;
    padding: 5px 10px;
    background-color: #fff;
    border: 1px solid #2f73b7;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.form-input-button:hover {
    background-color: #f2f6ff;
}

/* --- 버튼 --- */ 
.button--blue-border {
    display: flex;
    justify-content: flex-end;
}

.button--blue-border a {
    background-color: #fff;
    color: #2f73b7;
    border-radius: 10px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 600;
    border: 1px solid #2f73b7;
    height: 2.89rem;
    padding-left: 2rem;
    padding-right: 2rem
}

.button--blue-border a:hover {
    background-color: #f2f6ff;
}

.complete-action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- 페이징 --- */ 
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 70px 0;
}

.pagination a {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid #ddd;
    background: #fff;
    color: #54555a;
    font-size: 0.875rem;
    font-weight: 600;
}

.pagination a .sr-only {
    display: none;
}

.pagination__btn.first {
    background: url(../images/icon_first_paging.png) no-repeat center center;
    margin-right: 0;
}

.pagination__btn.prev {
    background: url(../images/icon-prev_paging.png) no-repeat center center;
    margin-right: 0.8rem;
}

.pagination__btn.next {
    background: url(../images/icon_next_paging.png) no-repeat center center;
    margin-left: 0.8rem;
}

.pagination__btn.last {
    background: url(../images/icon_last_paging.png) no-repeat center center;
    margin-left: 0;
}

.pagination .active {
    background: #2f73b7;
    color: #fff;
    border-color: #2f73b7;
}

/* ==========================================================================
   MENU 1-1: 공모전 소개
   ========================================================================== */

/* --- 공통 --- */
.contest-intro .tag {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: #2f73b7;
    margin-bottom: 25px;
}

.contest-intro .title {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 600;
    color: #1c1c1c;
    line-height: 1.3;
    margin-bottom: 40px;
}

.contest-intro .desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 400;
    color: #54555a;
    line-height: 1.5;
    padding: 0 2rem;
}

/* --- 탑 배너 --- */
.top-banner {
    margin-top: 100px; 
    letter-spacing: -1px;
}

.top-banner__bg { 
    display: flex;
    flex-direction: column;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/top-banner.png') center/cover;
    padding: 90px;
    color: #fff;
    margin-bottom: 80px;
    gap: 60px;
}

.top-banner__title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.4;
 }

.top-banner__desc {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.5;
}

/* --- 사진 공모전 소개 --- */
.intro__info-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.intro > .desc p {
    margin-bottom: 40px;
}

.intro > .desc p:last-child {
    margin: 0;
}

.intro__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.intro__info-card {
    text-align: center;
    margin: 95px 0;
    padding: 20px;
    border-right: 1px solid #ddd;
}

.intro__info-card:last-child {
    border: 0;
}

.intro__info-item {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-right: 1px solid #ddd;
}

.intro__info-item:last-child {
    border: none;
}

.intro__title:before {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: #f6f6f6;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 30px;
}

.intro__title.icon-01:before {
    background-image: url('../images/icon_camera.png');
}

.intro__title.icon-02:before {
    background-image: url('../images/icon_share.png');
}

.intro__title.icon-03:before {
    background-image: url('../images/icon_layer.png');
}

.intro__title {
    display: inline-block;
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    color: #1c1c1c;
    font-weight: 600;
}

.intro__desc {
    margin-top: 30px;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: #54555a;
    line-height: 1.3;
}

/* --- 참여 대상 --- */
.target {
    display: flex;
    flex-direction: column;
    text-align: center; 
    background-color: #f2f6ff; 
    padding: 70px 50px;
}

.target__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 60px;
}

.target__card { 
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 12px; 
    text-align: left;
}

.target__title {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: #1c1c1c;
    font-weight: 600;
}

.target__title:before {
    content: "";
    display: block;
    width: 50px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 15px;
}

.target__title.icon-01:before {
    background-image: url('../images/icon_bag.png');
}

.target__title.icon-02:before {
    background-image: url('../images/icon_color-camera.png');
}

.target__title.icon-03:before {
    background-image: url('../images/icon_phone.png');
}

.target__title.icon-04:before {
    background-image: url('../images/icon_location.png');
}

.target__desc {
    margin-top: 15px;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: #54555a;
    line-height: 1.3;
}

/* --- 기다리는 작품 --- */
.themes {
    display: flex;
    flex-direction: column;
    text-align: center; 
    padding: 70px 0;
}

.themes__grid {
    width: 100%;
    display: grid;
    gap: 40px;
}

.grid--two {
    margin-top: 50px;
    grid-template-columns: repeat(3, 1fr);
}

.grid--three {
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
}

.themes__item {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.themes__image {
    width: 100%;
    overflow: hidden;
}

.themes__image img {
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.grid--two .themes__image img {
    aspect-ratio: 1 / 0.5;
}

.grid--three .themes__image img {
    aspect-ratio: 1 / 0.35;
}

.themes__text {
    padding: 20px 10px;
    text-align: left;
}

.themes__text strong {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: #1c1c1c;
}

.themes__text p {
    margin-top: 15px;
    font-size: 1.125rem;
    color: #54555a;
    line-height: 1.3;
}

.themes__notice {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 500;
    color: #1c1c1c;
    text-align: left;
    margin-top: 35px;
    line-height: 1.5;
}

/* --- 유의 사항 --- */
.caution {
    display: flex;
    flex-direction: column;
    text-align: center; 
    background-color: #f2f6ff; 
    padding: 70px 50px;
}

.caution__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 60px;
}

.caution__card { 
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 12px; 
    text-align: left;
}

.caution__title {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: #1c1c1c;
    font-weight: 600;
}

.caution__title:before {
    content: "";
    display: block;
    width: 55px;
    height: 45px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 15px;
}

.caution__title.icon-01:before {
    background-image: url('../images/icon_photo.png');
}

.caution__title.icon-02:before {
    background-image: url('../images/icon_write.png');
}

.caution__title.icon-03:before {
    background-image: url('../images/icon_check.png');
}

.caution__title.icon-04:before {
    background-image: url('../images/icon_law.png');
}

.caution__title.icon-05:before {
    background-image: url('../images/icon_calendar.png');
}

.caution__title.icon-06:before {
    background-image: url('../images/icon_caution.png');
}

.caution__desc {
    margin-top: 15px;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: #54555a;
    line-height: 1.3;
}

.caution__notice {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    color: #2f73b7;
    text-align: left;
    margin-top: 35px;
    line-height: 1.5;
}

/* --- 공모전 둘러보기 --- */
.view {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center; 
    padding: 70px 0 140px;
}

.view__btn {
    padding: 30px 60px;
    background-color: #2f73b7;
    color: #fff; 
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-top: 70px;
    transition: all 0.3s;
}

.view__btn span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view__btn span::after {
    content: "";
    display: block;
    width: 26px;
    height: 26px;
    background-image: url('../images/icon_btn-search.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.view__btn:hover {
    background-color: #255c92;
}
 
/* ==========================================================================
   MENU 1-2: 공모전 목록
   ========================================================================== */

/* --- 연도 필터 --- */
.contest__select-year {
    width: 120px;
    height: 40px;
    padding: 0 15px;
    border: 2px solid #2f73b7; 
    border-radius: 10px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: #2f73b7;
    font-weight: 600;
    cursor: pointer;
    background: #fff url(../images/icon_select_arrow.svg) no-repeat right 10px center;
    appearance: none;
}

.contest__select-year:focus {
    outline: none;
    border-color: #1a5a9d;
}

/* --- 공모전 목록 --- */
.contest__content {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}

.contest__card {
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    padding: 15px 15px 30px;
}

.contest__image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 12px;
}

.contest__image img {
    width: 100%;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.5s ease-in-out;
    transform: scale(1);
}

.contest__image:hover img {
    transform: scale(1.1);
}

.contest__tag {
    display:flex;
    gap:5px;
    margin-bottom:12px;
}

.contest__icon {
    font-size: 0.875rem;
    font-weight: 600;
    padding:4px 10px;
    border-radius:999px;
}

.contest__icon.local {
    border: 1px solid #f2d284;
    background:#fff5d6;
    color: #9a6700;
}

.contest__icon.on {
    border: 1px solid #bfd5ff;
    background:#eaf2ff;
    color: #1d42d8;
}

.contest__icon.kto {
    border: 1px solid #ffa2b3;
    background:#ffe9ed;
    color: #ef4364;
}

.contest__icon.off {
    border: 1px solid #bfbfbf;
    background:#f6f6f6;
    color: #54555a;
}

.contest__text h3 {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    margin-bottom: 10px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contest__text p {
    font-size: 0.875rem;
    color: #707070;
}

/* ==========================================================================
   MENU 1-2: 공모전 상세
   ========================================================================== */

/* --- 공통 --- */
.contest-top {
    margin-top: 100px;
    margin-bottom: 100px;
}

.contest-top__wrap {
    display: flex;
    gap: 60px; 
    align-items: flex-start;
}

.contest-top__thumb-box {
    flex: 0 0 510px; 
    border: 1px solid #e5e5e5;
    border-radius: 30px;
    overflow: hidden;
}

.contest-top__thumb {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contest-top__info-box {
    flex: 1; 
    padding-top: 10px;
}

.contest-top__title {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 700;
    color: #1c1c1c;
    line-height: 1.3;
    margin-bottom: 30px;
}

.contest-top__desc-box {
    padding: 30px 0 20px;
    margin-bottom: 25px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.contest-top__theme {
    padding: 30px;
    background: #f6f6f6;
    border-radius: 20px;
    line-height: 1.5;
}

.contest-top__theme strong {
    margin-bottom: 20px;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
}

.contest-top__theme p {
    margin-top: 15px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.contest-top__list {
    padding-top: 15px;
}

.contest-top__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 10px 0;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    line-height: 1.5;
}

.contest-top__term {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 600;
    position: relative;
    padding: 5px 10px;
    border-radius: 10px;
    background: #f2f6ff;
}

.contest-top__desc {
    flex: 1;
    color: #222;
    margin: 0;
}

.contest-top__desc strong {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.contest-top__down-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
    padding: 10px 10px 10px 12px;
    border-radius: 10px;
    background-color: #54555a;
    font-size: 0.875rem;
}

.contest-top__down-btn::after {
  content: "";           
  display: inline-block;
  width: 15px;          
  height: 15px;       
  background-image: url('../images/icon_contest_down.png'); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contest-top__actions {
    display: flex;
    gap: 12px;
}

.contest-top__btn {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    padding: 25px 45px 30px;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    background-color: #2f73b7;
    transition: all 0.2s ease;
}

.contest-top__btn::after {
  content: "";           
  display: inline-block;
  width: 30px;          
  height: 30px;       
  background-image: url('../images/icon_contest_apply.png'); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contest-top__btn:hover {
    background-color: #255c92;
}

.contest-content {
    margin-bottom: 90px;
}

/* ==========================================================================
   MENU 1-2: 공모전 상세 > 공모요강
   ========================================================================== */

/* --- 공통 --- */
.contest-detail {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    line-height: 1.6;
}

.contest-section {
    margin-bottom: 60px;
}

/* --- 공모주제 --- */
.contest-section__box-01 {
    background-color: #f6f6f6;
    text-align: center;
    border-radius: 20px;
    padding: 30px;
}

.contest-section__highlight-text {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.4;
}

.contest-section__highlight-text strong {
    display: block;
    margin-bottom: 15px;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

/* --- 공모개요 --- */
.form-table {
    border-top: 1px solid #54555a;
}

.form-table__row {
    display: flex;
    border-bottom: 1px solid #ddd;
    line-height: 1.4;
}

.form-table__label {
    display: flex;
    align-items: center;
    flex: 0 0 200px; 
    background-color: #f2f6ff;
    padding: 20px;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 700;
}

.form-table__value {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 10px 20px;
    justify-content: space-between;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.form-table__text  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 20px;
}

.form-table__text p:last-child {
    margin-top: 15px;
    font-size: 1rem;
    color: #54555a;
}

.form-table__refer {
    width: 55%;
    font-size: 0.875rem;
    padding: 20px;
    border-radius: 15px;
    background-color: #f6f6f6; 
}

.form-table__refer span {
    color: #2f73b7;
    font-weight: 600;
}

/* --- 공통 디자인: 공모개요, 공모부문, 시상내역 --- */
.contest-multi-table {
    border-top: 1px solid #ccc;
}

.contest-multi-table__header,
.contest-multi-table__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    border-bottom: 1px solid #ddd;
}

/* 3개 열(시상내역)일 때 유연하게 조정 가능한 수정자 */
.contest-multi-table--center .contest-multi-table__header,
.contest-multi-table--center .contest-multi-table__row {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.contest-multi-table__header {
    background-color: #f2f6ff;
    font-weight: 600;
}

.contest-multi-table__cell {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #ddd;
}

.contest-multi-table__cell:last-child {
    border: 0;
}

.contest-multi-table__body .contest-multi-table__cell {
    font-size: 1rem;
}

.contest-multi-table__cell.span2 {
    grid-column: span 2;
}

.contest-multi-table__cell.span3 {
    grid-column: span 3;
    justify-content: flex-start;
    text-align: left;
    padding: 30px;
}

.contest-multi-table__cell.gray-bg {
    background-color: #f6f6f6;
    font-weight: 600;
}

.contest-multi-table__cell--label {
    background-color: #f6f6f6;
    font-size: 1rem;
    font-weight: 600;
}

.contest-multi-table__cell--label.mobile {
    display: none;
}

/* --- 공통 디자인: 심사 안내, 유의사항, 참고사항 --- */
.contest-section__box-02 {
    background-color: #fff;
    text-align: left;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 50px;
}

.contest-section__check-title {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 1.125rem;
    font-weight: 600;
}

.contest-section__check-title::before {
    content: "";           
    display: inline-block;
    width: 22px;          
    height: 22px;       
    background-image: url('../images/icon_contest_check.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;  
}

.contest-steps-container {
    background-color: #f7f7f7;
    border-radius: 20px;
    padding: 50px 40px;
    width: 100%; 
    margin: 30px 0;
}

.contest-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.contest-steps__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.contest-steps__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contest-steps__circle--step1 {
    background-color: #a7c6e5; 
}

.contest-steps__circle--step2 {
    background-color: #5c96d1; 
}

.contest-steps__circle--step3 {
    background-color: #2f73b7;
}

.contest-steps__text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #54555a;
    margin: 0;
    text-align: center;
    white-space: nowrap; 
}

.contest-steps__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px; 
    top: 35px;           
    display: inline-block;
    width: 40px;          
    height: 40px;       
    background-image: url('../images/icon_steps_arrow.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.contest-top__btn {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    padding: 25px 45px 30px;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    background-color: #2f73b7;
    transition: all 0.2s ease;
}

.contest-top__btn::after {
    content: "";           
    display: inline-block;
    width: 30px;          
    height: 30px;       
    background-image: url('../images/icon_contest_apply.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.contest-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 12px;
}

/* --- 유의사항 --- */
.contest-notice__subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.contest-notice__list {
    padding-left: 20px;
    margin: 0;
}

.contest-notice__item {
    margin-bottom: 8px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contest-section__notes {
    margin-bottom: 50px;
}

.contest-section__notes:last-child {
    margin: 0;
}

.contest-section__notes strong {
    font-size: 1.125rem;
    margin-bottom: 15px;
}

.contest-section__notes p {
    font-size: 1.125rem;
    margin-bottom: 15px;
}

.contest-section__bg {
    padding: 20px;
    border-radius: 15px;
    background-color: #f6f6f6;
}

.contest-multi-table__cell.span3 ul li,
.contest-section__bg ul li,
.contest-section__box-02 ul li {
    font-size: 0.95rem;
    line-height: 1.65;
    padding-left: 14px;  
    text-indent: -10px;
    font-size: 1rem;  
    word-break: break-all;
}

.contest-section__check-title,
.contest-section__notes p {
    font-size: 1rem;
}

/* ==========================================================================
   MENU 1-2: 공모전 상세 > 작품접수 > 공통
   ========================================================================== */

/* --- 부문별 탭 버튼 --- */
.category-tabs__button {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: #54555a;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.category-tabs__button.active {
    border: 3px solid #2f73b7;
    color: #2f73b7;
}

.category-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px;             
    width: 100%;
    max-width: 700px;         
    padding: 60px 0;     
    margin: 0 auto;
}

.category-tabs--work-manage {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 1100px;
}

/* DEV-ADD START 2026-06-05: 작품접수 부문 전환 시 새 화면이 탭 위치로 복귀하도록 스크롤 기준점 지정 */
.category-tabs--entry-nav {
    scroll-margin-top: 120px;
}
/* DEV-ADD END 2026-06-05: 작품접수 부문 전환 스크롤 기준점 지정 */

.scroll-restore-anchor {
    scroll-margin-top: 120px;
}

.category-tabs__button {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: #54555a;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.category-tabs__button:hover {          
    border-color: #2f73b7;
    background-color: #f2f6ff;
    color: #2f73b7;   
}

.category-tabs__button.active {
    border: 3px solid #2f73b7;
    background-color: #fff;
    color: #2f73b7;
}


/* --- 단계별 이미지 --- */
.step-progress {
    background-color: #f2f6ff;
    padding: 40px 20px;
    border-radius: 4px;
}

.step-progress__list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.step-progress__list::before {
    content: '';
    position: absolute;
    top: 30px; 
    left: 15%;
    right: 15%;
    height: 1px;
    background-color: #a7b6d7;
    z-index: 1;
}

.step-progress__item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2; 
}

.step-progress__number-box {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background-color: #a7b6d7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-progress__number {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 700;
}

.step-progress__text-box {
    display: flex;
    flex-direction: column;
}

.step-progress__step-name,
.step-progress__title {
    color: #54555a;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 600;
}

.step-progress__item--is-active .step-progress__number-box {
    background-color: #2f73b7;
}

.step-progress__item--is-active .step-progress__step-name,
.step-progress__item--is-active .step-progress__title {
    color: #2f73b7;
    font-weight: 700;
}

/* ==========================================================================
   MENU 1-2: 공모전 상세 > 작품접수 > 1단계
   ========================================================================== */

/* --- 출품을 위한 사전동의 --- */
.agreement * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
}

.agreement {
    margin: 60px 0;
}

.agreement__header {
    margin-bottom: 24px;
}

.agreement__title {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 8px;
}

.agreement__description {
    font-size: 1rem;
    color: #54555a;
}

.agreement__content {
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 30px 40px;
}

.agreement__list {
    display: flex;
    flex-direction: column;
    line-height: 2;
}

.agreement__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.agreement__item .accordion-trigger {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0; 
    width: 100%;
    box-sizing: border-box;
    user-select: none;
}

.agreement__item .agreement__label {
    margin: 0;
    cursor: pointer;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px; 
}

.agreement__item .agreement__text {
    cursor: pointer;
    display: inline-block;
    width: 100%;
}

.agreement__item .arrow-icon {
    margin-left: 10px;
    font-size: 0.75rem;
    color: #888;
    transition: transform 0.3s ease, color 0.3s ease;
}

.agreement__item .accordion-content {
    display: none;
    width: 100%;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    margin-top: 5px;
    font-size: 0.875rem;
    box-sizing: border-box;
    max-height: 200px;
    overflow-y: auto;
}

.agreement__item .accordion-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.agreement__item .accordion-content .important {
    text-decoration: underline;
    font-weight: 600;
}

.agreement__item .accordion-content .red {
    color: #e0002a;
}

.agreement__label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.agreement__checkbox {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: #0078d4;
    cursor: pointer;
}

.agreement__text {
    font-size: 1rem;
}

.accordion-content .contest-multi-table {
    margin: 20px 0;
}

.accordion-content .contest-multi-table__header, 
.accordion-content .contest-multi-table__row {
    grid-template-columns: repeat(5, 1fr);
}

.accordion-content .contest-multi-table__cell {
    padding: 15px;
    font-size: 0.875rem;
}

.accordion-content .contest-multi-table__cell img {
    width: auto;
    max-width: 100%;
}

.accordion-content .contest-multi-table__cell.span3 {
    justify-content: center;
    padding: 15px;
}

/* --- 응모자 기본정보 입력 --- */
.applicant-info__text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.applicant-info h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

.applicant-info__text p {
    font-size: 0.875rem;
    color: #54555a;
}

.applicant-info .form-input {
    max-width: 300px;
}

.applicant-info .form-table__value {
    flex-direction: column;
    align-items: flex-start;
}

.applicant-info .form-table__value.value-02 {
    justify-content: center;
}

.applicant-info .form-table__value span {
    padding-top: 10px;
    color: #54555a;
    font-size: 0.875rem;
}

.contest-steps-button {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
}

.contest-steps-button button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 15px 25px;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    background-color: #2f73b7;
    transition: all 0.2s ease;
}

.contest-steps-button button::after {
    content: "";           
    display: inline-block;
    width: 25px;          
    height: 16px;       
    background-image: url('../images/icon_contest_steps.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.contest-steps-button button:hover {
    background-color: #255c92;
}

.zipcode-wrap .form-input {
    width: 300px;
    max-width: none;
}

.address-wrap .form-input {
    width: 100%;
    max-width: 500px;
}

/* ==========================================================================
   MENU 1-2: 공모전 상세 > 작품접수 > 2단계
   ========================================================================== */

/* --- 출품작 정보 입력 --- */
.entry-info {
    margin: 60px 0 20px;
}

.entry-info__header {
    margin-bottom: 24px;
}

.entry-info__title {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 8px;
}

.entry-info__description {
    font-size: 1rem;
    color: #54555a;
}

.entry-info__content {
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 30px 20px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.entry-info_text {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.entry-info__icon {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 600;
    padding:4px 10px;
    margin-right: 10px;
    border-radius:999px;
    border: 1px solid #ef4364;
    background:#ffe9ed;
    color: #ef4364;
}

.entry-info__list {
    display: flex;
    gap: 60px;
}

.entry-info__box {
    display: flex;
    flex-direction: column;
}

.entry-info__item {
    position: relative;
    padding-left: 10px;
}

.entry-info__item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;      
}

.entry-info_text-box {
    display: flex;
    justify-content: flex-end;
    margin: 30px 0 20px;
}

.entry-info_text-box p {
    color: #54555a;
    font-size: 0.875rem;
}

.entry-info .form-table__value {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.entry-info .form-table__value span {
    padding-top: 10px;
    color: #54555a;
    font-size: 0.875rem;
}

.entry-info .form-input.date {
    max-width: 300px;
}

.birth-date-picker {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.birth-date-picker__control {
    position: relative;
}

.birth-date-picker__input {
    padding-right: 48px;
    cursor: pointer;
    background-color: #fff;
}

.birth-date-picker__toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    background: url('../images/icon_calendar.png') no-repeat center / 18px 18px;
    border: 0;
}

.birth-date-picker__panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 30;
    width: min(320px, 100vw - 40px);
    padding: 18px;
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.birth-date-picker__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.birth-date-picker__selectors {
    display: flex;
    flex: 1;
    gap: 8px;
}

.birth-date-picker__select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d7dbe5;
    border-radius: 10px;
    background: #fff;
    font-size: 0.9375rem;
    color: #1f2937;
}

.birth-date-picker__nav {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid #d7dbe5;
    border-radius: 999px;
    background: #fff;
    position: relative;
}

.birth-date-picker__nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #2563eb;
    border-right: 2px solid #2563eb;
    transform: translate(-35%, -50%) rotate(-135deg);
}

.birth-date-picker__nav--next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.birth-date-picker__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 0.8125rem;
    text-align: center;
}

.birth-date-picker__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.birth-date-picker__day {
    width: 100%;
    aspect-ratio: 1;
    border: 0;
    border-radius: 12px;
    background: #f8fafc;
    color: #111827;
    font-size: 0.9375rem;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.birth-date-picker__day:hover:not(:disabled) {
    background: #e8f0ff;
    transform: translateY(-1px);
}

.birth-date-picker__day.is-selected {
    background: #2563eb;
    color: #fff;
    font-weight: 700;
}

.birth-date-picker__day.is-today:not(.is-selected) {
    outline: 1px solid #93c5fd;
    background: #eff6ff;
}

.birth-date-picker__day.is-outside {
    color: #9ca3af;
    background: #f3f4f6;
}

.birth-date-picker__day:disabled {
    cursor: default;
    color: #c2c8d0;
    background: #f8fafc;
}

.birth-date-picker__actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.birth-date-picker__action {
    min-width: 84px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #d7dbe5;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 0.875rem;
}

.birth-date-picker__action--primary {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.entry-info__file {
    position: relative;
    width: 100%;
}

.entry-info .form-input-button {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
}

.entry-info .input-control {
    display: block;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    height: 50px;
    border-radius: 10px;
    padding: 0 16px 0 104px;
}

.entry-info__uploaded-file {
    margin-top: 12px;
    padding: 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 100%;
}

.entry-info__uploaded-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.entry-info__thumbnail-preview {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entry-info__thumbnail-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entry-info__file-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.entry-info__file-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.entry-info__file-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 !important;
}

.entry-info__file-size {
    font-size: 13px;
    color: #868e96;
    flex-shrink: 0;
    padding: 0 !important;
}

.entry-info__file-delete {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.entry-info__file-delete:hover {
    background-color: #e9ecef;
}

.entry-info__file-info {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    background-color: #f6f6f6;
    border-radius: 10px;
    font-size: 0.875rem;
}

.entry-info__file-desc-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.entry-info__file-desc-desc {
    color: #54555a;
}

/* ==========================================================================
   MENU 1-2: 공모전 상세 > 작품접수 > 3단계
   ========================================================================== */

/* --- 출품완료 안내 --- */
.entry-completed {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 70px 0;
    font-weight: 600;
    gap: 5px;
    text-align: center;
}

.entry-completed-text {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
}

.entry-completed-text span {
    color: #2f73b7;
}

.entry-completed-number {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* --- 등록된 작품 --- */
.entry-info .contest-multi-table__header,
.entry-info .contest-multi-table__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) 88px 88px;
    border-bottom: 1px solid #ddd;
}

.entry-info .contest-multi-table--readonly .contest-multi-table__header,
.entry-info .contest-multi-table--readonly .contest-multi-table__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
}

.entry-info .contest-multi-table__body .contest-multi-table__cell {
    justify-content: flex-start;
    min-width: 0;
    overflow-wrap: anywhere;
}

.entry-info .contest-multi-table__body .contest-multi-table__cell--empty {
    justify-content: center;
    text-align: center;
}

.entry-info .contest-multi-table__cell--action {
    justify-content: center;
    text-align: center;
}

.entry-info .contest-multi-table__cell--action form {
    display: flex;
    justify-content: center;
    width: 100%;
}

.entry-info .contest-multi-table__cell--action .contest-edit-button,
.entry-info .contest-multi-table__cell--action .contest-delete-button {
    margin: 0 auto;
}

.entry-info .contest-multi-table__cell a span {
    color: #1d4f88;
    font-weight: 600;
    text-decoration: underline;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.contest-multi-table__cell.span7 {
    grid-column: span 7;
}

.contest-multi-table__cell.span5 {
    grid-column: span 5;
}

.contest-edit-button,
.contest-delete-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d7dbe3;
    border-radius: 999px;
    background-color: #fff;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contest-action-label {
    display: none;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
}

.contest-edit-button {
    color: #2f73b7;
    border-color: #cfe0f4;
    background-color: #f7fbff;
}

.contest-edit-button:hover {
    border-color: #2f73b7;
    background-color: #eef5ff;
    color: #1d4f88;
}

.contest-delete-button:hover {
    border-color: #ef4364;
    background-color: #fff1f4;
    color: #ef4364;
}

/* ==========================================================================
   MENU 1-2: 공모전 상세 > 작품접수 > 3단계 (출품작 상세정보 모달팝업)
   ========================================================================== */

.layer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000; 
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.layer-modal--active {
    display: flex;
}

.layer-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.layer-modal__content {
    position: relative;
    width: 100%;
    max-width: 650px;
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 2010;
    overflow: hidden;
    animation: modalSlideUp 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.layer-modal__header {
    padding: 20px 40px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #31649e;
}

.layer-modal__title {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.layer-modal__close-btn {
    position: relative;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.layer-modal__close-btn span {
    position: absolute;
    top: 11px;
    left: 2px;
    width: 30px;
    height: 1px;
    background-color: #fff;
    display: block;
    transition: background-color 0.2s;
}

.layer-modal__close-btn span:nth-child(1) { transform: rotate(45deg); }
.layer-modal__close-btn span:nth-child(2) { transform: rotate(-45deg); }

.layer-modal__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 40px;
    max-height: 70vh; 
    overflow-y: auto;
}

.layer-modal__body::-webkit-scrollbar {
    width: 8px; 
    background-color: #ddd; 
    border-radius: 10px;
}

.layer-modal__body::-webkit-scrollbar-thumb {
    background-color: #31649e; 
    border-radius: 10px; 
}

.modal-info__img {
    width: 500px;
    height: 333px;
}

.modal-info__img img {
    width: 100%;
    height: 100%;
}

.modal-info__text {
    width: 100%;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.4;
    padding-left: 20px;
    text-indent: -20px;
    margin: 30px 0 10px;
    word-break: break-all;
    color: #54555a;
}

.modal-info {
    border-top: 1px solid #222;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
}

.modal-info__group {
    display: flex;
    width: 100%; 
    border-bottom: 1px solid #ddd;
}

.modal-info__group:last-child {
    border-bottom: none; 
}

.modal-info__label {
    width: 120px;
    background-color: #f8f9fa;
    color: #1c1c1c;
    font-weight: 700;
    padding: 15px;
    font-size:clamp(0.95rem, 2vw, 1.125rem);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.modal-info__value {
    flex: 1;
    padding: 12px 16px;
    color: #1c1c1c;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    display: flex;
    align-items: center;
    word-break: break-all;
    box-sizing: border-box;
}

.modal-info__status--complete {
    display: inline-block;
    padding: 2px 8px;
    background-color: #e6f4ea;
    color: #137333;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.layer-modal__footer {
    padding: 20px 24px;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.layer-modal__btn {
    padding: 12px 35px;
    border-radius: 10px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.layer-modal__btn--confirm {
    background-color: #2f73b7;
    color: #fff;
    transition: background-color 0.15s;
}

.layer-modal__btn--confirm:hover {
    background-color: #255c92;;
}


/* 애니메이션 스크립트 */
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   MENU 1-2: 공모전 상세 > 작품접수 > 접수확인
   ========================================================================== */

/* --- 접수확인 --- */
.entry-confirm__title h4 {
font-size: clamp(1.125rem, 2.5vw, 1.5rem)
}

.entry-confirm__info {
margin: 20px 0;
padding: 20px;
background-color: #f6f6f6; 
border-radius: 20px;
text-align: center;
}

.entry-confirm__info p {
margin-bottom: 5px;
font-size:clamp(0.95rem, 2vw, 1.125rem);
font-weight: 600;
}

.entry-confirm__info p span {
color: #2f73b7;
}

.entry-confirm__info p:last-child {
font-size: clamp(0.9rem, 1.8vw, 1rem);
}

/* --- 부문별 접수 확인 --- */
.entry-info__wrap {
    margin-bottom: 20px;
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.entry-info__number {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 20px 0;
    padding: 5px 10px;
    border-radius: 10px;
    background-color: #f6f6f6;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 500;
}

.entry-info__number span {
    color: #2f73b7;
    font-weight: 600;
}

.contest-multi-table__cell.span5 {
    grid-column: span 5;
}

/* ==========================================================================
   MENU 2: 수상작 갤러리
   ========================================================================== */

.gallery__years {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    margin:100px 0 45px;
}

.gallery__years-inner{
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery__years-button {
    color: #54555a;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 10px 30px;
    font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
    font-variant-numeric: tabular-nums lining-nums;
}

.gallery__years-button:hover {          
    border-color: #2f73b7;
    background-color: #f2f6ff;
    color: #2f73b7;   
}

.gallery__years-button.active {
    background-color: #fff;
    border: 3px solid #2f73b7;
    color: #2f73b7;
}

.gallery__years-arrow {
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    background-image: url('../images/icon_gallery-year_next.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain; 
    background-color: transparent; 
    text-indent: -9999px;
    overflow: hidden;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 230px 220px 230px 230px 230px;
    grid-template-areas:
        "a a b b"
        "a a c c"
        "d d c c"
        "e f g g"
        "h h i j";
    gap: 30px;
    margin-top: 24px;
}

.gallery__grid-item {
    display: flex;
    align-items: flex-end; 
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #dfe8f1;
    height: 100%; 
    cursor: default;
}

.gallery__grid-item[data-detail-url] {
    cursor: pointer;
}

.gallery__grid-item[data-detail-url]:focus-visible {
    outline: 3px solid #2f73b7;
    outline-offset: 4px;
}

.gallery__grid-item::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(7,16,30,.04) 15%,rgba(7,16,30,.72) 100%)
}

.gallery__grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1;      
    transition:transform .35s ease
}

.gallery__grid-item:hover img {
    transform:scale(1.03)
}

.gallery__grid-caption {
    position: relative; 
    z-index: 2; 
    width: 100%;
    padding: 30px; 
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.gallery__grid-caption small {
    display: block;
    color: rgba(255, 255, 255, 1);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    margin-bottom: 8px;
    line-height: 1.2;
}

.gallery__grid-caption strong {
    display: block;
    color: #ffffff;
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 600;
    line-height: 1.2;
}

.gallery__grid-item--a {
    grid-area:a
}

.gallery__grid-item--b {
    grid-area:b
}

.gallery__grid-item--c {
    grid-area:c
}

.gallery__grid-item--d {
    grid-area:d
}

.gallery__grid-item--e {
    grid-area:e
}

.gallery__grid-item--f {
    grid-area:f
}

.gallery__grid-item--g {
    grid-area:g
}

.gallery__grid-item--h {
    grid-area:h
}

.gallery__grid-item--i {
    grid-area:i
}

.gallery__grid-item--j {
    grid-area:j
}

/* ==========================================================================
   MENU 3-1: 고객지원 > 공지사항
   ========================================================================== */

/* --- 공지사항 목록 --- */
.notice__wrap {
    margin-top: 100px;
}

.board {
    width: 100%;
    margin: 30px 0 20px;
    border-top: 1px solid #54555a;
}

.board__head, .board__item {
    display: grid;
    grid-template-columns: 80px 1fr 140px;
    align-items: center;
    padding: 20px 10px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.2;
}

.board__head {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 600;
    color: #1c1c1c;
}

.board__item {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: #1c1c1c;
    transition: background-color 0.2s ease;
}

.board.board-empty .board__item--empty {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 36px 20px;
}

.board.board-empty .board__cell--full {
    width: 100%;
    text-align: center;
    line-height: 1.6;
    word-break: keep-all;
}

.board__cell.cell-title {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    text-align: left;
}

.board__cell.cell-title a {
    display: -webkit-box;
    line-height: 2.2rem;
    text-overflow: ellipsis;
    word-wrap: normal;
    overflow: hidden;
    box-sizing: border-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: 0.2s ease;
    font-weight: 600;
    color: #1c1c1c;
}

.board__cell.cell-title a:hover {
    text-decoration: underline;
}

.board__item.notice-important {
    background-color: #f6f6f6; 
}

.board__item.notice-important .cell-title a {
    font-weight: 600; 
    color: #000;
}

.board__notice-icon {
    display: inline-block;
    background-color: #fff; 
    border: 1px solid #2f73b7;
    color: #2f73b7;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 20px;
}

/* --- 공지사항 상세 --- */
.notice__view {
    border-top: 1px solid #1c1c1c;
}

.notice__title {
    padding: 30px 34px;
    border-bottom: 1px solid #ddd;
}

.notice__title h2 {
    margin-bottom: 20px;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.2;
}

.notice__date {
    color: #54555a;
    font-size: 0.875rem;
}

.notice__detail {
    padding: 34px;
    min-height: 220px;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    line-height: 1.9;
    color: #54555a;
}

.notice__navigation {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid #ddd;
}

.notice__navigation dl {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #ddd;
    padding: 1.2em 1.2rem 1.2rem 0;
}

.notice__navigation dt {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #54555a;
    font-size: .9rem;
    flex-basis: 10rem;
}

.notice__navigation dd {
    display: flex;
    text-align: left;
    vertical-align: middle;
    font-weight: 700;
    font-size: 1rem;
    align-items: center;
    justify-content: space-between;
    flex: 1 1
}

.notice__navigation dd a {
    display: -webkit-box;
    line-height: 2rem;
    text-overflow: ellipsis;
    word-wrap: normal;
    overflow: hidden;
    box-sizing: border-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: 0.2s ease;
    font-weight: 600;
    color: #1c1c1c;
}

/* ==========================================================================
   MENU 3-2: 고객지원 > Q&A
   ========================================================================== */

/* --- Q&A 목록 --- */
.qna {
    margin-top: 100px;
}

.qna__wrap {
    display: flex;
    gap: 10px;
}

.qna__select-category {
    width: 250px;
    height: 45px;
    padding: 0 15px;
    border: 2px solid #2f73b7; 
    border-radius: 10px;
    color: #2f73b7 !important;
    font-weight: 600;
    cursor: pointer;
    background: #fff url(../images/icon_select_arrow.svg) no-repeat right 10px center;
    appearance: none;
}

.qna__select-category:focus {
    outline: none;
    border-color: #1a5a9d;
}

.qna .board__head, 
.qna .board__item {
    grid-template-columns: 80px 1fr 2fr 120px 140px 120px;
}

.qna .cell-title-icon {
    display: inline-flex;
    align-items: center;
    max-width: 10rem;
}

.qna .cell-title .icon-lock {
    width: 12px;
    height: 17px;
    background: url(../images/icon_qna_lock.png) no-repeat center center;
    margin-left: 8px;
    text-indent: -999px;
}

.qna .cell-title .icon-lock span {
    display: inline-block;
}

.board__status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 32px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    background: #fff;
}

.board__status-chip.status-waiting {
    background-color: #eaf2ff;
    color: #1d4ed8;
    border: 1px solid #bfd5ff;
}

.board__status-chip.status-complete {
    background-color: #f6f6f6;
    color: #54555a;
    border: 1px solid #bfbfbf;
}

/* --- Q&A 글쓰기 --- */
.qna__write {
    margin-top: 100px;
}

/* --- Q&A 상세 --- */
.qna__view {
    border-top: 1px solid #1c1c1c;
}

.qna__question-title {
    padding:30px 34px;
    border-bottom:1px solid #ddd;
}

.qna__question-title h2 {
    margin-bottom:20px;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.2;
}

.qna__question-meta {
    color: #54555a;
    font-size: 0.875rem;
}

.qna__question-name::after {
    content: "|";         
    margin: 0 10px;
    color: #aaa;   
    font-size: 0.75rem; 
    vertical-align: top;     
  }

.qna__question-detail {
    padding:34px;
    min-height:220px;
    font-size:clamp(0.95rem, 2vw, 1.125rem);
    line-height:1.9;
    color: #54555a;
}

.qna__answer {
    margin-top:24px;
    border: 1px solid #ddd;
}

.qna__answer-title {
    padding:24px 34px;
    background:#f6f6f6;
    border-bottom:1px solid #ddd;
}

.qna__answer-title strong {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
}

.qna__answer-meta {
    padding-top: 15px;
    color: #54555a;
    font-size: 0.875rem;
}

.qna__answer-name {
    font-weight: 600;
}

.qna__answer-name::after {
    content: "|";         
    margin: 0 10px;
    color: #aaa;   
    font-size: 0.75rem; 
    vertical-align: top;     
  }

.qna__answer-detail {
    padding:18px 34px 34px;
    font-size:clamp(0.9rem, 1.8vw, 1rem);
    line-height:1.9;
    color: #54555a;
}

.qna__form-button {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    margin-bottom: 100px;
}

.qna__list-button {
    padding: 15px 45px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 500;
    color: #54555a;
}

.qna__list-button:hover {
    background-color: #f9fafb;
}

/* ==========================================================================
   MENU 3-3: 고객지원 > FAQ
   ========================================================================== */

.faq {
    margin-top: 100px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 100px;
}

.faq__item {
  width: 100%;
  background-color: #fff;
  border: 1px solid #ddd; 
  border-radius: 20px;
  overflow: hidden;
}

.faq__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  cursor: pointer;
  background-color: #fff;
  transition: background-color 0.2s ease;
}

.faq__item:hover {
    border: 1px solid #2f73b7;
}

.faq__q-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.faq__q-prefix {
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  font-weight: 700;
  color: #2f73b7;
}

.faq__title-link {
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  color: #1c1c1c;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}

.faq__arrow-btn {
  display: inline-block;
  width: 20px;
  height: 15px;
  background-image: url("../images/icon_faq_button.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.25s ease;
}

.faq__item--open .faq__arrow-btn {
  transform: rotate(180deg);
}

.faq__content {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: #f7f8f9;
  transition: max-height 0.3s ease-out;
}

.faq__item--open .faq__content {
  border-top: 1px solid #ddd;
}

.faq__content-inner {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 30px 40px;
}

.faq__a-prefix {
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  font-weight: 700;
  color: #1c1c1c; 
}

.faq__answer-text {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: #1c1c1c;
  line-height: 1.6;
  font-weight: 400;
}

/* ==========================================================================
   MENU 4-1: 마이페이지 > 나의 Q&A
   ========================================================================== */

   .mp-qna > .qna {
    margin-top: 0;
}

/* ==========================================================================
   MENU 4-2: 마이페이지 > 접수 관리 목록
   ========================================================================== */

/* --- 접수 관리 목록 --- */   
.mp-manage .board__head, 
.mp-manage .board__item {
    grid-template-columns: 170px 2.2fr 1.2fr 180px;
    align-items: center;
}

.cell-category-box {
    display: flex;
    align-items: center;
}

.cell-thumb {
    width: 70px;
    height: 95px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-right: 20px;
}

.cell-thumb img {
    width: 100%;
}

.cell-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mp-manage .cell-author {
    line-height: 1.5;
    word-break: keep-all;
}

.status-edit {
    width: 90px;
    height: 35px;
    border: 1px solid #2f73b7;
    border-radius: 10px;
    color: #2f73b7;
}

.status-edit:hover {
    background-color: #f2f6ff;
}

.status-cancle {
    width: 90px;
    height: 35px;
    border: 1px solid #c0c0c0;
    border-radius: 10px;
    color: #888;
}

.status-cancle:hover {
    background-color: #f5f5f5;
}


/* --- 접수취소 팝업 --- */
.c-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.c-modal.is-open {
  display: flex;
}

body.is-locked {
  overflow: hidden;
}

.c-modal__dimmed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
}

.c-modal__content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px; 
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    box-sizing: border-box;
}

.c-modal__icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: bold;
}

.c-modal__icon--warning {
    border: 2px solid #1e73be;
    color: #1e73be;
}

.c-modal__title {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.c-modal__desc {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: #54555a;
    margin: 0 0 28px 0;
    line-height: 1.4;
}

.c-modal__footer {
    display: flex;
    gap: 12px; 
    justify-content: center;
}

.c-modal__btn {
    flex: 1;
    max-width: 140px;
    height: 44px;
    border-radius: 10px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

.c-modal__btn--cancel {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    color: #888;
}
.c-modal__btn--cancel:hover {
    background-color: #f5f5f5;
}

.c-modal__btn--confirm {
    background-color: #2175c4;
    border: none;
    color: #ffffff;
}
.c-modal__btn--confirm:hover {
    background-color: #185ba1;
}

.upload-progress-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(3px);
}

.upload-progress-overlay[hidden] {
    display: none !important;
}

.upload-progress-dialog {
    width: min(100%, 480px);
    padding: 32px 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.upload-progress-spinner {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border: 4px solid #d6e0f5;
    border-top-color: #1f5bd8;
    border-radius: 50%;
    animation: uploadProgressSpin 0.9s linear infinite;
}

.upload-progress-title {
    margin: 0;
    color: #101828;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

.upload-progress-description {
    margin: 8px 0 0;
    color: #475467;
    font-size: 15px;
    line-height: 1.6;
    word-break: keep-all;
}

.upload-progress-bar {
    margin-top: 20px;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6ecf8;
}

.upload-progress-bar__fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1f5bd8 0%, #2e90fa 100%);
    transition: width 0.2s ease-out;
}

.upload-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
}

body.upload-progress-open {
    overflow: hidden;
}

@keyframes uploadProgressSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.a11y-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   MENU 4-2: 마이페이지 > 접수 관리 상세
   ========================================================================== */

/* 공모전 접수내역 */
.mp-manage-detail__my-info {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 30px;
    margin-bottom: 65px;
    gap: 30px;
    border: 1px solid #ddd;
    border-radius: 30px;
    line-height: 1.3;
}

.mp-manage-detail__main-info {
    flex: 1 1 calc(50% - 15px);
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-right: 1px solid #ddd;
}

.mp-manage-detail__thumb {
    width: 76px;
    height: 106px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.mp-manage-detail__thumb img {
    width: 100%;
    height: 100%;
}

.mp-manage-detail__main-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mp-manage-detail__main-text-01 {
    color: #1c1c1c;
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-weight: 600;
}

.mp-manage-detail__main-text-02 {
    display: flex;
    flex-wrap: wrap;
    color: #54555a;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 400;
}

.mp-manage-detail__number {
    position: relative;
    padding-right: 15px; 
    margin-right: 12px;
}

.mp-manage-detail__sub-info {
    flex: 1 1 calc(50% - 15px);
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px 30px;
    background: #f6f6f6;
    border-radius: 20px;
}

.mp-manage-detail__sub-text-01 {
    margin-bottom: 10px;
    color: #1c1c1c;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 600;
}

.mp-manage-detail__sub-text-02 {
    color: #1c1c1c;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
}

.mp-manage-detail__sub-info span {
    color: #2f73b7;
}

/* --- 접수정보 수정 --- */
.mp-manage-detail__edit h3 {
    color: #1c1c1c;
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-weight: 700;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.mp-manage-detail__edit .h4-title {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
}

.mp-manage-detail__wrap {
    padding: 0 40px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.mp-manage-detail__wrap .form-table__label {
    background-color: #fff;
    padding: 20px 0;
}

.mp-manage-detail__wrap .form-table__value {
    padding: 15px;
}

.mp-manage-detail__wrap .zipcode-wrap > .form-input,
.mp-manage-detail__wrap .address-wrap > .form-input {
    background-color: #f5f5f5;
}

.mp-manage-detail__wrap .form-table__row:last-child {
    border: 0;
}

.value-preline {
    white-space: pre-line;
    align-items: flex-start;
}

.mypage-entry-preview {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    margin: 24px 0;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fafafa;
}

.mypage-entry-preview__image {
    flex: 0 0 220px;
    max-width: 220px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
}

.mypage-entry-preview__image img {
    display: block;
    width: 100%;
    height: auto;
}

.mypage-entry-preview__meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mypage-entry-preview__title {
    color: #1c1c1c;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 700;
}

.mypage-entry-preview__text {
    color: #54555a;
    font-size: clamp(0.95rem, 1.8vw, 1rem);
    line-height: 1.6;
    word-break: break-all;
}

/* ==========================================================================
   MENU 4-3: 마이페이지 > 개인정보 관리
   ========================================================================== */

.mp-pi__content {
    border-radius: 1rem;
    padding: 3.34rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    grid-row-gap: 2.5rem;
    row-gap: 2.5rem;
    border: 1px solid #d1d2d9;
    margin-bottom: 60px;
}

.mp-pi__text:before {
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    background-image: url('../images/icon_mypage-privacy.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 30px;
}

.mp-pi__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    text-align: center;
    color: #1c1c1c;
    line-height: 1.5;
}

.mp-pi__button {
    background: #2f73b7;
    border-radius: 10px;
    font-weight: 500;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: #fff;
    padding: 1.5rem;
    line-height: 1.2;
    text-align: center;
}

.mp-pi__button:hover {
    background-color: #255c92;
}

/* ==========================================================================
   미디어쿼리
   ========================================================================== */

@media (max-width: 1024px) {

    /* --- MENU 1-1: 공모전 소개 --- */
    .contest-intro .title {
        margin-bottom: 20px;
    }

    .top-banner__bg {
        gap: 30px;
    }

    .intro__info-item p:nth-child(2),
    .target__desc,
    .themes__text p,
    .caution__desc {
        line-height: 1.5;
    }

    .target, .themes, .caution {
        padding: 70px 2rem;
    }

   /* --- MENU 1-2: 공모전 목록 --- */
    .contest__content {
        grid-template-columns: repeat(2,1fr);
    }

    .entry-info .contest-multi-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .entry-info .contest-multi-table__header,
    .entry-info .contest-multi-table__row {
        min-width: 860px;
    }

    /* --- MENU 1-2: 공모전 상세 > 공모요강 --- */
    .contest-top__wrap {
        gap: 30px;
    }

    .contest-top__thumb-box {
        flex: 0 0 40%;
    }

    /* --- MENU 4-2: 마이페이지 > 접수 관리 상세 --- */
    .mp-manage-detail__my-info {
        flex-direction: column;
    }

    .mp-manage-detail__main-info {
        border: 0;
    }

    .mypage-entry-preview {
        flex-direction: column;
        align-items: flex-start;
    }

    .mypage-entry-preview__image {
        max-width: 100%;
    }
}  

@media (max-width: 768px) {

    /* --- COMPONENT : 공통 컴포넌트 --- */
    .tabs ul li a { 
        padding: 35px 40px;  
    }

    .filters__wrap {
        justify-content: center;
        gap: 30px;
    }

    .search__select-wrap {
        flex-direction: column; 
    }

    .search,
    .search__select-box,
    .search__select-control,
    .search__input-box {
        display: block;
        width: 100%;
    }

    .form-input, 
    .form-select, 
    .form-textarea {
        max-width: 100% !important;
    }

    .form-address-row,
    .form-region-row {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
   
   /* --- MENU 1-1: 공모전 소개 --- */
    .contest-intro .tag {
        margin-bottom: 15px;
    }

    .top-banner {
        margin-top: 2rem;
    }

    .intro__grid {
        margin: 50px 0 20px;
        border-top: 1px solid #ddd;
        grid-template-columns: repeat(1, 1fr);
    }

    .intro__info-card {
        margin: 0; 
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 2rem 0.8rem;
    }

    .intro__info-card .text {
        position: relative;
        text-align: left;
    }

    .intro__title:before {
        position: absolute;
        bottom: 0;
        right: 0;
        margin: 0;
        width: 70px;
        height: 70px;
    }
    
    .intro__desc {
        margin-top: 20px;
    }

   .intro__desc br {
        display: none;
    }

    .themes__grid {
        gap: 20px;
    }

    .grid--three {
        margin-top: 20px;
    }

    .caution__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .view__btn span::after {
        width: 20px;
        height: 20px;
    }
   
   /* --- MENU 1-2: 공모전 상세 > 공모요강 --- */
    .contest-top {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .contest-top__wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .contest-top__info-box {
        width: 100%;
    }

    .contest-top__thumb-box {
        width: 100%;
        flex: none;
    }

    .contest-top__title {
        margin-bottom: 20px;
    }

    .contest-top__desc-box {
        padding: 20px 0;
    }

    .contest-top__theme {
        padding: 20px;
    }

    .contest-top__item {
        gap: 12px;
        padding: 5px 0;
    }

    .contest-top__btn {
        width: 100%;
        padding: 17px 30px 23px;
    }

    .contest-top__btn::after {
        width: 25px;
        height: 25px;
    }

    .contest-content .tabs ul li a {
        padding: 15px;
        font-size: 1rem;
    }

    .tabs ul li:last-child a:after {
        width: 75%;
    }

    .contest-section {
        margin-bottom: 40px;
    }

    .form-table,
    .contest-multi-table {
        border: 0;
    }

    .form-table__row {
        flex-direction: column;
        border: 0;
    }

    .form-table__label {
        flex: 0;
        padding: 15px;
        border-top: 1px solid #ddd;
    }

    .form-table__value {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 15px;
    }

    .form-table__text {
        margin: 0 0 30px 0;
    }

    .form-table__refer {
        width: 100%;
    }

    .contest-section__box-02 {
        padding: 30px;
    }

    .contest-steps {
        flex-direction: column;
        gap: 40px;
    }

    .contest-steps__item {
        width: 100%;
    }

    .contest-steps__item:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 50%;
        right: auto;
        top: auto;
        bottom: -30px;
        width: 20px;
        height: 20px;
        transform: translateX(-50%) rotate(90deg);
    }

    .contest-steps-button {
        border-top: 1px solid #ddd;
    }

    .contest-steps-button button {
        gap: 20px;
    }

    .contest-multi-table__header,
    .contest-multi-table__row,
    .contest-multi-table--center .contest-multi-table__header,
    .contest-multi-table--center .contest-multi-table__row {
        grid-template-columns: 1fr !important;
    }

    .contest-multi-table--center .contest-multi-table__header,
    .contest-multi-table--center .contest-multi-table__row {
        text-align: left;
    }

    .contest-multi-table__header {
        display: none;
    }

    .contest-multi-table__row {
        display: flex;
        flex-direction: column;
    }

    .contest-multi-table__row:first-child {
        border-top: 1px solid #ddd;
    }

    .contest-multi-table__cell {
        border-right: 0;
        justify-content: flex-start;
        text-align: left;
    }

    .contest-multi-table__cell--empty {
        justify-content: center;
        text-align: center;
        background-color: #fff !important;
    }

    .contest-multi-table__cell:first-child {
        background-color: #f2f6ff;
        font-weight: 600;
    }

    .contest-multi-table__cell.span2.gray-bg,
    .contest-multi-table__cell--label {
        background-color: #f6f6f6;
    }

    .contest-multi-table__cell.gray-bg {
        background-color: #fff;
    }

    .contest-multi-table__cell--label.mobile {
        display: flex;
        border-top: 1px solid #ddd;
    }

    .contest-multi-table__cell.span3 {
        padding: 30px 15px;
    }

    .entry-info .contest-multi-table {
        overflow-x: visible;
    }

    .entry-info .contest-multi-table__header,
    .entry-info .contest-multi-table__row {
        min-width: 0;
    }

    .entry-info .contest-multi-table--readonly .contest-multi-table__header,
    .entry-info .contest-multi-table--readonly .contest-multi-table__row {
        min-width: 0;
    }

    .entry-info .contest-multi-table__cell--action {
        justify-content: center;
        text-align: center;
    }

    .entry-info .contest-multi-table__cell--action form {
        justify-content: center;
    }

    .entry-info .contest-multi-table__cell--action .contest-edit-button,
    .entry-info .contest-multi-table__cell--action .contest-delete-button {
        margin: 0 auto;
    }

    .contest-edit-button,
    .contest-delete-button {
        width: 100%;
        min-width: 0;
        height: 48px;
        padding: 0 16px;
        border-radius: 12px;
        font-size: 0.95rem;
        font-weight: 700;
    }

    .contest-edit-button svg,
    .contest-delete-button svg {
        display: none;
    }

    .contest-action-label {
        display: inline;
    }

    .category-tabs__list {
        gap: 5px;
    }

    .step-progress {
        padding: 20px 10px;
    }

    .zipcode-wrap .form-input {
        width: 100%;
    }

   /* --- MENU 1-2: 공모전 상세 > 작품접수 > 공통 --- */
    html {
        font-size: 1rem;
    }

    .category-tabs {
        grid-template-columns: 1fr;
        max-width: 100%;        
        padding: 20px 16px 50px;       
    } 

    /* --- MENU 1-2: 공모전 상세 > 작품접수 > 1단계 --- */
    .agreement__content {
        padding: 25px;
    } 
    
    .agreement__checkbox {
        width: auto;
        height: auto;
    }

    .agreement__label {
        align-items: baseline;
    }

   /* --- MENU 1-2: 공모전 상세 > 작품접수 > 2단계 --- */
    .entry-info {
    margin: 60px 0 0 0;
    }  
    
    .entry-info__list {
        flex-direction: column;
        gap: 0;
    }

   /* --- MENU 1-2: 공모전 상세 > 작품접수 > 3단계 --- */
    .applicant-info.type-02 .form-table__row:last-child {
        border-bottom: 1px solid #ddd;
    }

    .entry-info .contest-multi-table__header {
        display: none;
    }    

    .modal-info__group {
        width: 100%;
        flex-direction: column;
    }

    .modal-info__group:nth-last-child(2) {
        border-bottom: 1px solid #eee;
    }

    .modal-info__label {
        width: 100%;
        padding: 10px;
    }

    /* --- MENU 1-2: 공모전 상세 > 작품접수 > 접수확인 --- */
    .entry-confirm .form-table__row:last-child {
        border-bottom: 1px solid #ddd;
    }

    .entry-info__wrap {
        padding: 30px;
    }

    /* --- MENU 2: 수상작 갤러리 --- */
    .gallery__years {
        width: 100%;
        overflow: visible; 
        margin: 40px 0;
    }

    .gallery__years::-webkit-scrollbar {
        display: none; 
    }

    .gallery__years-inner {
        display: flex;
        align-items: center;
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 10px 8px;
        width: 100%;
    }

    .gallery__years-button {
        flex-shrink: 1;
        min-width: 70px;
        height: 36px;
        font-size: 0.9rem;
        padding: 0 12px;
    }

    .gallery__years-arrow {
        display: none !important;
    }

    .search__form {
        margin-top: 20px;
    }

    .gallery__grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        grid-template-rows: auto;
        grid-template-areas: none;
        gap: 20px; 
    }

    .gallery__grid-item {
        grid-area: auto !important;
        height: 230px; 
    }

    /* --- MENU 3-1: 고객지원 > 공지사항 --- */
    .notice__wrap {
        margin-top: 40px;
    }

    .board__head {
        display: none;
    }

    .board__item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px 23px;
        position: relative;
    }

    .board__cell.cell-num {
        display: none;
    }

    .notice-important .cell-num {
        display: flex;
        margin-bottom: 8px;
        text-align: left;
    }

    .board__cell.cell-date {
        display: inline-block;
        font-size: 0.82rem;
        color: #999;
    }

    /* --- MENU 3-2: 고객지원 > Q&A --- */
    .qna,
    .qna__write {
        margin-top: 40px;
    }

    .qna__wrap {
        flex-direction: column;
    }

    .qna__category,
    .qna__select-category {
        width: 100%;
    }

    .qna .board__item {
        display: flex;
        flex-wrap: wrap;
        padding: 16px 120px 16px 15px;
        gap: 0;
    }

    .qna-empty-state .board__item--empty {
        padding: 28px 15px;
    }

    .qna .cell-category {
        font-size: 0.85rem;
        text-align: left;
        line-height: 1.2;
    }

    .qna .cell-title {
        width: 100%;
    }

    .qna .cell-author {
        width: auto;
        order: 2;
        font-size: 0.85rem;
        color: #666;
        margin-bottom: 5px;
    }

    .qna .cell-date {
        width: auto;
        order: 3;
        font-size: 0.85rem;
        color: #888;
    }

    .qna .cell-status {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        order: 4;
    }

    .qna .board__status-chip {
        width: 75px;
        height: 32px;
        font-size: 0.8rem;
    }

    .form-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-row label {
        width: 100%;
        padding: 12px 0;
    }
    
    .form-row-body {
        padding: 0 0 15px 0;
    }
    
    .form-select {
        max-width: 100%;
    }
    
    .qna__privacy {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .form-button {
        justify-content: center;
    }

    /* --- MENU 3-3: 고객지원 > FAQ --- */
    .faq {
        margin-top: 40px;
    }

   /* --- MENU 4-2: 마이페이지 > 접수 관리 상세 --- */
    .step-progress__number-box {
        width: 60px;
        height: 60px;
    }

    .mp-manage-detail__my-info {
        padding: 30px;
    }

    .mp-manage-detail__main-info,
    .mp-manage-detail__sub-info {
        flex: 1 100%;
        min-width: 100%;
    }

    .mp-manage-detail__wrap {
        padding: 30px;
    }

    .mp-manage-detail__wrap.form-table {
        border: 1px solid #ddd;
    }

    .mp-manage-detail__wrap .form-table__row:first-child .form-table__label {
        border-top: 0;
        padding-top: 0;
    }

    .mp-manage-detail__wrap .form-table__label {
        padding-bottom: 0;
    }

    .mp-manage-detail__wrap .form-table__value {
        padding: 15px 0;
    }

    .mp-manage-detail__wrap .form-table__row:last-child .form-table__value {
        padding-bottom: 0;
    }

    .mypage-entry-preview {
        padding: 24px;
        gap: 20px;
    }

    .mypage-entry-preview__image {
        flex-basis: auto;
        width: 100%;
    }

   /* --- MENU 4-3: 마이페이지 > 개인정보 관리 --- */
    .mp-manage .board__item {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 16px;
        padding: 24px 20px;
    }

    .mp-manage .cell-thumb {
        width: 90px;
        height: 120px;
        object-fit: cover;
        margin-right: 0;
    }

    .mp-manage .board__cell.cell-num {
        display: inline-flex;
        width: auto;
        padding: 6px 14px;
        border-radius: 999px;
        background-color: #f5f7fc;
        font-size: 0.75rem;
        font-weight: 600;
        color: #666;
        line-height: 1;
    }

    .mp-manage .cell-category-box {
        width: 100%;
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }

    .mp-manage .cell-title {
        flex: 1;
        padding-top: 6px;
        font-size: 1.125rem;
        font-weight: 600;
        line-height: 1.5;
        word-break: keep-all;
    }

    .mp-manage .board__cell.cell-title a {
        -webkit-line-clamp: 2; /* 라인수 */
        line-height: 1.5rem;
    }

    .mp-manage .cell-author,
    .mp-manage .cell-date {
        display: inline-flex;
        align-items: center;
        width: auto;
        font-size: 0.95rem;
        color: #54555a;
        line-height: 1.5;
    }

    .mp-manage .cell-author {
        margin-left: 105px;
        margin-top: -60px;
    }

    .mp-manage .cell-date {
        margin-top: -15px;
        margin-left: 105px;
    }

    .mp-manage .board__status-chip {
        flex: 1;
        width: 100%;
        height: 40px;
        border-radius: 12px;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .mp-manage .cell-status {
        width: 100%;
        margin-top: 8px;
        flex-direction: row;
    }
}

@media (max-width: 480px) {

    /* --- COMPONENT : 공통 컴포넌트 --- */  
    .sub-visual__bg {
        height: 280px;
        gap: 70px;
    }

    .sub-visual__text h1 {
        font-size: 2.2rem;
    }

    .tabs ul li a {
        padding: 30px; 
    }

    .filters__wrap {
        margin: 20px 0 30px;
        gap: 15px;
    }

    .filters {
        display: flex;
        width: 100%;
        gap: 5px; 
        flex-wrap: nowrap;
    }

    .filters__button {
        flex: 1; 
        text-align: center;
        padding: 10px 0; 
        font-size: 0.875rem; 
        white-space: nowrap; 
        min-width: 0; 
    }

    .filters__button.all {
        flex: 0.2; 
    }  

    .pagination {
        gap: 4px; 
        flex-wrap: wrap;
        margin: 40px 0;
    }

    .pagination a {
        width: 32px;  
        height: 32px;
        font-size: 0.875rem;
        flex-shrink: 0;
    }

    .pagination__btn.prev, 
    .pagination__btn.next {
        margin: 0 2px;
    }

    /* --- MENU 1-1: 공모전 소개 --- */  
    .contest-intro .tag {
        margin-bottom: 15px;
    }

    .contest-intro .desc {
        padding: 0 0.8rem;
    }

    .top-banner__bg {
        margin-bottom: 50px;
        padding: 50px 20px;
    }      

    .intro__title:before {
        width: 60px;
        height: 60px;
    }

    .intro__desc {
        width: 70%;
    }

    .intro__desc br {
        display: block;
    }

    .target__grid {
        grid-template-columns: 1fr;
    }

    .grid--three .themes__image img {
        aspect-ratio: 1 / 0.5;
    }

    .grid--two, 
    .grid--three {
        grid-template-columns: 1fr;
    }

    .caution__grid {
        grid-template-columns: 1fr;
    }

    .target__title:before,
    .caution__title:before {
        width: 45px;
    }

    .target,
    .themes,
    .caution,
    .view {
        padding: 70px 20px;
    }

    .view__btn {
        margin-top: 40px;
        padding: 20px 40px;
    }

   /* --- MENU 1-2: 공모전 목록 --- */
    .contest__content {
        grid-template-columns: repeat(1,1fr)
    }

   /* --- MENU 1-2: 공모전 상세 > 작품접수 > 2단계 --- */
    .entry-info_text {
        flex-direction: column;
        align-items: flex-start;
    }

    .entry-info_text p {
        margin-top: 10px;
    }

    .entry-info .form-input-button {
        left: 12px;
    }

    .entry-info__uploaded-item {
        flex-direction: column;
    }

    .entry-info__file-meta {
        flex-direction: column;
    }

    .entry-info .form-table__value span {
        white-space: normal;
        word-break: break-all;
        max-width: 100%;
    }

    /* --- MENU 1-2: 공모전 상세 > 작품접수 > 3단계 (출품작 상세정보 모달팝업) --- */
    .layer-modal__header {
        padding: 20px;
    }

    .layer-modal__close-btn span {
        width: 20px;
    }

    .layer-modal__body {
        padding: 20px;
    }

    .modal-info__img {
        width: 100%;
    }

    /* --- MENU 3-1: 고객지원 > 공지사항 --- */
    .notice__navigation dt {
        flex-basis: 5rem;
    }

    /* --- MENU 3-2: 고객지원 > Q&A --- */
    .qna__question-title {
        padding: 20px;
    }

    .qna__question-detail {
        padding: 20px;
    }

    .qna__answer-title {
        padding: 20px;
    }

    .qna__answer-detail {
        padding: 20px;
    }

    /* --- MENU 3-3: 고객지원 > FAQ --- */
    .faq__trigger {
        padding: 20px;
    }

    .faq__arrow-btn {
        width: 18px;
        height: 13px;
    }

    .faq__content-inner {
        padding: 20px;
    } 

    /* --- MENU 4-2: 마이페이지 > 접수 관리 목록 --- */
    .mp-manage .board__item {
        padding: 20px 16px;
        gap: 16px;
    }

    .mp-manage .cell-category-box {
        gap: 14px;
    }

    .mp-manage .cell-thumb {
        width: 78px;
        height: 105px;
    }

    .mp-manage .cell-title {
        min-height: 50px;
        font-size: 1rem;
    }

    .mp-manage .cell-author,
    .mp-manage .cell-date {
        margin-left: 91px;
        font-size: 0.875rem;
    }

    .mp-manage .cell-author::before,
    .mp-manage .cell-date::before {
        min-width: 60px;
    }

    .mp-manage .board__status-chip {
        font-size: 0.875rem;
    }

    .c-modal__content {
        max-width: 300px;
        padding: 30px;
    }

    .upload-progress-overlay {
        padding: 16px;
    }

    .upload-progress-dialog {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .upload-progress-title {
        font-size: 19px;
    }

    .upload-progress-description {
        font-size: 14px;
    }

    .upload-progress-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    /* --- MENU 4-2: 마이페이지 > 접수 관리 상세 --- */
    .mp-manage-detail__my-info {
        line-height: 1.5;
    }

    .mp-manage-detail__main-info {
        flex-direction: column;
        justify-content: center;
    }

    .mp-manage-detail__number::after {
        display: none; 
    }

    .zipcode-wrap,
    .address-wrap {
        width: 100%;
    }

    .mp-manage__btn-search {
        width: 30%;
    }

    /* --- MENU 4-3: 마이페이지 > 개인정보 관리 --- */
    .mp-pi__content {
        padding: 2rem;
    }

    .mp-pi__text:before {
        width: 60px;
        height: 60px;
        margin-bottom: 25px;
    }

    .mp-pi__button {
        padding: 1rem;
    }
}

@media (max-width: 320px) {    

    /* ---  COMPONENT : 공통 컴포넌트 --- */ 
    .tabs ul li a {
        font-size: 0.95rem; 
    }

    .pagination a {
        width: 28px; 
        height: 28px;
        font-size: 0.8rem;
    }
}

/* DEV-KEEP START 2026-06-10: 현재 서비스 템플릿 호환용 보완 스타일 유지 */
.applicant-info__text p .required {
    font-size: 1rem;
    font-weight: 700;
}

.entry-info_text-box p .required {
    font-size: 1rem;
    font-weight: 700;
}

.mobile-verification-row {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 520px;
}

.mobile-verification-row .form-input {
    flex: 1;
}

.mobile-verification-status {
    display: block;
    margin-top: 8px;
    margin-bottom: 4px;
    color: #54555a;
    font-size: 13px;
    font-weight: 400;
}

.mobile-verification-status.is-verified {
    color: #1d6b3c;
    font-weight: 600;
}

.contest-steps-button {
    align-items: center;
    gap: 12px;
}

.contest-steps-button .contest-steps-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 15px 25px;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    background-color: #2f73b7;
    border: 1px solid #2f73b7;
    transition: all 0.2s ease;
}

.contest-steps-button .contest-steps-button__link:hover {
    background-color: #255c92;
}

.contest-steps-button .contest-steps-button__link--secondary {
    color: #2f73b7;
    background-color: #fff;
}

.contest-steps-button .contest-steps-button__link--secondary:hover {
    background-color: #f2f6ff;
}

.contest-steps-button .contest-steps-button__button--plain {
    gap: 0;
}

.contest-steps-button .contest-steps-button__button--plain::after {
    content: none;
}

.contest-steps-button .contest-steps-button__button--secondary {
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 600;
    color: #2f73b7;
    background-color: #fff;
    border: 1px solid #2f73b7;
}

.contest-steps-button .contest-steps-button__button--secondary:hover {
    background-color: #f2f6ff;
}

.contest-steps-button .contest-steps-button__button--next::after {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.entry-info .form-table__value .form-guide-text {
    white-space: pre-line;
    word-break: keep-all;
}

.notice__date {
    font-size: 0.875rem;
}

.notice__navigation dd a {
    font-weight: 600;
}

@media (max-width: 768px) {
    .mobile-verification-row {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .contest-steps-button .contest-steps-button__button--plain {
        gap: 0;
    }
}

@media (max-width: 480px) {
    .entry-info .form-table__value .form-guide-text {
        white-space: pre-line;
        word-break: keep-all;
    }
}
/* DEV-KEEP END 2026-06-10: 현재 서비스 템플릿 호환용 보완 스타일 유지 */
