@charset "utf-8";

/*
 * 국민참여심사 퍼블리싱 전용 스타일
 * 디자이너 전달본의 수치와 상태를 화면별 wrapper 안에서만 적용한다.
 */

.public-judge-list-page,
.public-judge-detail-page,
.public-judge-popup-page,
.public-judge-complete-page,
.public-judge-thumbnail-page {
    --public-judge-blue: #497cb7;
    --public-judge-blue-dark: #224d7e;
    --public-judge-active-blue: #2f73b7;
    --public-judge-title-blue: #224e77;
    --public-judge-text: #1c1c1c;
    --public-judge-muted: #707070;
    --public-judge-border: #dddddd;
}

:where(
    .public-judge-list-page,
    .public-judge-detail-page,
    .public-judge-popup-page,
    .public-judge-complete-page,
    .public-judge-thumbnail-page
) :is(a, button, input, select):focus-visible {
    outline: 2px solid var(--public-judge-active-blue);
    outline-offset: 3px;
}

/* ==========================================================================
   이벤트 목록
   ========================================================================== */

.public-judge-list-page .sub-visual__bg.bg-event,
.public-judge-detail-page .sub-visual__bg.bg-event {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("../images/sub-visual_05.png");
    background-position: center;
    background-size: cover;
}

.public-judge-list-page .public-judge-event-list {
    padding-bottom: 70px;
}

.public-judge-list-page .tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--public-judge-border);
}

.public-judge-list-page .tabs ul {
    display: flex;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.public-judge-list-page .tabs li {
    display: flex;
    justify-content: center;
}

.public-judge-list-page .tabs a {
    position: relative;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: 35px 40px;
    color: #888888;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s;
}

.public-judge-list-page .tabs li:not(:last-child) a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 20px;
    background: #d9d9d9;
    transform: translateY(-50%);
}

.public-judge-list-page .tabs a:hover {
    color: #444444;
}

.public-judge-list-page .tabs a.active,
.public-judge-list-page .tabs a[aria-current="page"] {
    color: var(--public-judge-active-blue);
}

.public-judge-list-page .tabs a.active::after,
.public-judge-list-page .tabs a[aria-current="page"]::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 60%;
    height: 3px;
    background: var(--public-judge-active-blue);
    transform: translateX(-50%);
}

.public-judge-list-page .filters__wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 30px 0;
}

.public-judge-list-page .filters__wrap.two {
    justify-content: space-between;
}

.public-judge-list-page .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.public-judge-list-page .filters__button {
    padding: 8px 22px 10px;
    border: 0;
    border-radius: 999px;
    color: #888888;
    background: #f6f6f6;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
}

.public-judge-list-page .filters__button.all {
    padding: 8px 30px 10px;
}

.public-judge-list-page .filters__button:hover {
    color: #2b6cb0;
}

.public-judge-list-page .filters__button.active {
    color: #ffffff;
    background: var(--public-judge-active-blue);
}

.public-judge-list-page .search {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.public-judge-list-page .search__select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.public-judge-list-page .search select,
.public-judge-list-page .search input {
    height: 45px;
    border-radius: 0.6rem;
    color: #54555a;
    font-size: 0.875rem;
}

.public-judge-list-page .search__select-control {
    display: inline-block;
    padding: 10px 40px 10px 15px;
    border: 1px solid #dae1e6;
    background-color: #ffffff;
    background-image: url("../images/icon_select_arrow.svg");
    background-position: calc(100% - 15px) center;
    background-repeat: no-repeat;
    appearance: none;
}

.public-judge-list-page .search__input-box {
    position: relative;
}

.public-judge-list-page .search__input-control {
    display: block;
    width: 100%;
    height: 45px;
    padding: 10px 80px 10px 15px;
    border: 1px solid #dae1e6;
    border-radius: 0.6rem;
    color: #666666;
    background: #ffffff;
    font-size: 0.875rem;
}

.public-judge-list-page .search__input-box button {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    display: inline-block;
    width: 20px;
    min-width: auto;
    height: 20px;
    min-height: auto;
    padding: 0;
    border: 0;
    background: url("../images/icon_search_gray.png") no-repeat center center / cover;
    text-indent: -99999px;
}

.public-judge-list-page .count {
    margin-bottom: 25px;
    color: #54555a;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.public-judge-list-page .count span {
    color: var(--public-judge-active-blue);
    font-weight: 600;
}

.public-judge-list-page .contest__select-year {
    width: 120px;
    height: 40px;
    padding: 0 35px 0 15px;
    border: 2px solid var(--public-judge-active-blue);
    border-radius: 10px;
    color: var(--public-judge-active-blue);
    background: #ffffff url("../images/icon_select_arrow.svg") no-repeat right 10px center;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    appearance: none;
}

.public-judge-list-page .contest__content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.public-judge-list-page .contest__card {
    min-width: 0;
    padding: 15px 15px 30px;
    overflow: hidden;
    border: 1px solid var(--public-judge-border);
    border-radius: 20px;
    background: #ffffff;
}

.public-judge-list-page .contest__card > a,
.public-judge-list-page .public-judge-card__static {
    display: block;
    color: inherit;
    text-decoration: none;
}

.public-judge-list-page .contest__image {
    width: 100%;
    margin-bottom: 12px;
    overflow: hidden;
}

.public-judge-list-page .contest__image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.5 / 1;
    border-radius: 0.5rem;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s ease-in-out;
}

.public-judge-list-page .contest__card > a:hover .contest__image img {
    transform: scale(1.1);
}

.public-judge-list-page .contest__tag {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}

.public-judge-list-page .contest__icon {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.public-judge-list-page .contest__icon.kto {
    border: 1px solid #ffa2b3;
    color: #ef4364;
    background: #ffe9ed;
}

.public-judge-list-page .contest__icon.on {
    border: 1px solid #bfd5ff;
    color: #1d42d8;
    background: #eaf2ff;
}

.public-judge-list-page .contest__icon.off {
    border: 1px solid #bfbfbf;
    color: #54555a;
    background: #f6f6f6;
}

.public-judge-list-page .contest__text h2,
.public-judge-list-page .contest__text h3 {
    display: -webkit-box;
    margin-bottom: 10px;
    overflow: hidden;
    color: var(--public-judge-text);
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.public-judge-list-page .contest__text p {
    color: var(--public-judge-muted);
    font-size: 0.875rem;
}

.public-judge-list-page .public-judge-empty {
    padding: 70px 20px;
    border: 1px solid var(--public-judge-border);
    border-radius: 20px;
    color: var(--public-judge-muted);
    background: #ffffff;
    text-align: center;
}

.public-judge-list-page .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 70px 0;
}

.public-judge-list-page .pagination a {
    display: grid;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    place-items: center;
    border: 1px solid var(--public-judge-border);
    border-radius: 50%;
    color: #54555a;
    background: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.public-judge-list-page .pagination .active {
    border-color: var(--public-judge-active-blue);
    color: #ffffff;
    background: var(--public-judge-active-blue);
}

.public-judge-list-page .pagination__btn.first {
    background: #ffffff url("../images/icon_first_paging.png") no-repeat center;
}

.public-judge-list-page .pagination__btn.prev {
    margin-right: 0.8rem;
    background: #ffffff url("../images/icon-prev_paging.png") no-repeat center;
}

.public-judge-list-page .pagination__btn.next {
    margin-left: 0.8rem;
    background: #ffffff url("../images/icon_next_paging.png") no-repeat center;
}

.public-judge-list-page .pagination__btn.last {
    background: #ffffff url("../images/icon_last_paging.png") no-repeat center;
}

.public-judge-list-page .pagination__btn.disabled,
.public-judge-list-page .pagination a[aria-disabled="true"] {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* ==========================================================================
   이벤트 상세
   ========================================================================== */

.public-judge-detail-page .event {
    margin-top: 100px;
    margin-bottom: 100px;
    letter-spacing: -1px;
}

.public-judge-detail-page .event__title {
    padding-bottom: 80px;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.public-judge-detail-page .event__title-contest {
    display: block;
    font-size: inherit;
}

.public-judge-detail-page .event__title-name {
    display: block;
    font-size: clamp(1.375rem, 3vw, 1.875rem);
}

.public-judge-detail-page .event__banner {
    display: flex;
    margin-bottom: 70px;
    background: url("../images/eventArea_1.png") no-repeat center;
    text-align: center;
}

.public-judge-detail-page .event__line {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.public-judge-detail-page .event__theme {
    max-width: 18em;
    padding-bottom: 20px;
    color: #ffffff;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    white-space: pre-line;
}

.public-judge-detail-page .event__text {
    font-size: 18px;
    line-height: 1.3;
    white-space: pre-line;
}

.public-judge-detail-page .event__content {
    padding: 0 10%;
    color: #333333;
}

.public-judge-detail-page .event__list {
    display: flex;
    flex-direction: row;
    padding-bottom: 20px;
}

.public-judge-detail-page .event__list-title {
    display: flex;
    width: 145px;
    flex-shrink: 0;
    align-items: center;
    color: var(--public-judge-title-blue);
    font-weight: 700;
}

.public-judge-detail-page .event__list-title::before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 18px;
    flex: 0 0 21px;
    margin: -3px 3px 0 0;
    background: url("../images/pTit.png") no-repeat center;
}

.public-judge-detail-page .event__list-desc {
    min-width: 0;
    flex-basis: 100%;
}

.public-judge-detail-page .event__list-desc .blue {
    color: #26639b;
    font-weight: 700;
}

.public-judge-detail-page .desc__wrap li,
.public-judge-detail-page .event__notice em {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.3;
}

.public-judge-detail-page .event__dynamic-copy {
    white-space: pre-line;
}

.public-judge-detail-page .desc__wrap li p {
    display: flex;
    padding-bottom: 7px;
}

.public-judge-detail-page .desc__wrap li p::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 2px;
    flex: 0 0 5px;
    margin: 7px 3px 0 0;
    background: #a3a4a5;
}

.public-judge-detail-page .desc__wrap li.important {
    margin-top: 10px;
    margin-left: 20px;
    text-indent: -20px;
}

.public-judge-detail-page .event__list.prize {
    align-items: flex-start;
    padding-bottom: 40px;
}

.public-judge-detail-page .prize-wrap {
    display: flex;
    text-align: center;
}

.public-judge-detail-page .prize-wrap > li {
    width: 100%;
    margin: 20px 30px 0 0;
    padding: 30px 20px 20px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px #dfdfdf;
}

.public-judge-detail-page .prize-wrap > li:last-child {
    margin-right: 0;
}

.public-judge-detail-page .prize-wrap li div p {
    display: block;
    padding: 0;
}

.public-judge-detail-page .prize-wrap li div p::before {
    content: none;
}

.public-judge-detail-page .prize-wrap li p:first-child::before {
    content: "";
    display: block;
    width: 120px;
    height: 78px;
    margin: auto auto 15px;
}

.public-judge-detail-page .prize-first p:first-child::before {
    background: url("../images/gift.png") no-repeat center;
}

.public-judge-detail-page .event__btn {
    display: flex;
    padding: 15px 0 60px;
}

.public-judge-detail-page .event__btn > :is(a, button) {
    display: flex;
    align-items: center;
    margin: auto;
    padding: 15px 40px;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    background: var(--public-judge-blue);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.public-judge-detail-page .event__btn > :is(a, button):hover {
    background: var(--public-judge-blue-dark);
}

.public-judge-detail-page .event__btn > :is(a, button)::before,
.public-judge-detail-page .event__btn > :is(a, button)::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    transform: rotate(-45deg);
}

.public-judge-detail-page .event__btn > :is(a, button)::before {
    order: 1;
}

.public-judge-detail-page .event__btn > :is(a, button)::after {
    margin-left: 10px;
}

.public-judge-detail-page .event__btn > button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.public-judge-detail-page .event__notice {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding-bottom: 20px;
}

.public-judge-detail-page .event__notice .event__list-title::before {
    margin-top: 0;
    background-image: url("../images/pTit2.png");
}

.public-judge-detail-page .event__notice dd ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.public-judge-detail-page .event__notice dd ul li::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 2px;
    flex: 0 0 5px;
    margin: 7px 5px 0 0;
    background: #cccccc;
}

/* ==========================================================================
   투표 팝업
   ========================================================================== */

.public-judge-popup-page {
    min-width: 0;
    margin: 0;
    color: #333333;
    background: #ffffff;
}

.public-judge-popup-page .popup-wrap,
.public-judge-popup-page .popup {
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
}

.public-judge-popup-page .event-title {
    display: flex;
    padding: 0;
    color: #ffffff;
    background: url("../images/popTit.jpg") no-repeat center / cover;
}

.public-judge-popup-page .event-title__line {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    padding: 70px 0 30px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.public-judge-popup-page .event-title__sub {
    padding-bottom: 10px;
    color: #ffffff;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    line-height: 1.2;
}

.public-judge-popup-page .event-title__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding-bottom: 30px;
    color: #ffffff;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.public-judge-popup-page .event-title__main::after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    padding-top: 30px;
    border-bottom: 2px solid #ffffff;
}

.public-judge-popup-page .event-title__theme {
    max-width: 18em;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    line-height: 1.2;
    text-align: center;
    white-space: pre-line;
}

.public-judge-popup-page .public-judge-popup-message {
    margin: 20px;
    padding: 14px 16px;
    border: 1px solid #f3c9a5;
    border-radius: 0;
    color: #9a4a12;
    background: #fff8f1;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.public-judge-popup-page .info-box {
    padding: 30px 20px 20px;
}

.public-judge-popup-page .info-box__sub-list {
    padding-left: 25px;
    font-size: 14px;
}

.public-judge-popup-page .info-box__sub-item {
    line-height: 1.3;
    word-break: keep-all;
}

.public-judge-popup-page .info-box__sub-item--type1 {
    margin: 3px 0 5px;
    padding-left: 10px;
    background: url("../images/popLi.jpg") no-repeat 0 9px;
}

.public-judge-popup-page .info-box__sub-item--type2 {
    margin-bottom: 5px;
    padding-left: 15px;
}

.public-judge-popup-page .info-box__title {
    margin: 0;
    padding: 6px 0 5px 25px;
    color: #000000;
    background: url("../images/pTit.png") no-repeat left center;
    font-size: 14px;
    font-weight: 700;
}

.public-judge-popup-page .info-box__heart {
    color: #b4b4b4;
    font-size: 16px;
}

.public-judge-popup-page .event__dynamic-copy {
    white-space: pre-line;
}

.public-judge-popup-page .public-judge-form {
    width: 100%;
    margin: 0;
}

.public-judge-popup-page .popup-content {
    width: auto;
    margin: 0 20px;
    background: #ffffff;
}

.public-judge-popup-page .tab {
    display: flex;
    margin: 0;
    padding: 0;
}

.public-judge-popup-page .tab__item {
    min-width: 0;
    min-height: 0;
    flex: 1 1 0;
    padding: 10px 0;
    border: 0;
    border-right: 2px solid #ffffff;
    box-sizing: border-box;
    color: #333333;
    background: #e6e6e6;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
}

.public-judge-popup-page .tab__item:last-child {
    border-right: 0;
}

.public-judge-popup-page .tab__item--active,
.public-judge-popup-page .tab__item[aria-selected="true"] {
    color: #ffffff;
    background: var(--public-judge-blue);
}

.public-judge-popup-page .photo-list {
    display: block;
    width: 100%;
    max-height: 500px;
    padding: 15px 0 15px 20px;
    overflow-y: auto;
    border: 1px solid var(--public-judge-blue);
    background: #ffffff;
    box-sizing: border-box;
}

.public-judge-popup-page .photo-list__area {
    display: none;
}

.public-judge-popup-page .photo-list__area.active {
    display: block;
}

.public-judge-popup-page .photo-list__items {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.public-judge-popup-page .photo-list__items > li {
    position: relative;
    display: block;
    width: 120px;
    margin: 15px 10px 10px 0;
    cursor: pointer;
}

.public-judge-popup-page .photo-list__thumb {
    position: relative;
    display: block;
    width: 120px;
    height: 85px;
    margin: 0 0 10px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #eef2f6;
    cursor: pointer;
}

.public-judge-popup-page .photo-list__dim {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: url("../images/thumPop.png") no-repeat center / cover;
    pointer-events: none;
}

.public-judge-popup-page .photo-list__thumb:hover .photo-list__dim {
    display: block;
}

.public-judge-popup-page .photo-list__img {
    display: block;
    width: 120px;
    height: 85px;
    object-fit: cover;
    transition: transform 2s;
}

.public-judge-popup-page .photo-list__thumb:hover .photo-list__img {
    transform: scale(1.5);
}

.public-judge-popup-page .photo-list__check {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.public-judge-popup-page .photo-list__label {
    display: block;
    width: 120px;
    min-height: 18px;
    padding: 2px 0 2px 23px;
    overflow: hidden;
    color: #333333;
    background-image: url("../images/checker-off.png");
    background-position: 0 2px;
    background-repeat: no-repeat;
    font-size: 14px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
    cursor: pointer;
}

.public-judge-popup-page .photo-list__label:hover {
    font-weight: 700;
}

.public-judge-popup-page .photo-list__check:checked + .photo-list__label {
    background-image: url("../images/checker-on.png");
}

.public-judge-popup-page .photo-list__check:disabled + .photo-list__label {
    color: #999999;
    background-image: url("../images/checker-disabled.png");
    cursor: not-allowed;
}

.public-judge-popup-page .photo-list__check:focus-visible + .photo-list__label {
    outline: 2px solid var(--public-judge-active-blue);
    outline-offset: 3px;
}

.public-judge-popup-page .privacy-auth {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.public-judge-popup-page .privacy-auth__title {
    margin: 25px 20px 10px;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
}

.public-judge-popup-page .privacy-auth__box {
    height: 120px;
    margin: 0 20px 10px;
    padding: 10px 40px;
    overflow-y: scroll;
    border: 1px solid #d1d1d1;
    color: #333333;
    background: #ffffff;
    font-size: 13px;
    line-height: 1.2;
    word-break: normal;
}

.public-judge-popup-page .privacy-auth__notice {
    margin: 10px 0;
    white-space: pre-line;
}

.public-judge-popup-page .privacy-auth__item--section {
    margin-top: 10px;
}

.public-judge-popup-page .privacy-auth__item[data-agreement-detail="true"] {
    padding-left: 14px;
}

.public-judge-popup-page .privacy-auth__agree-select {
    margin: 0;
    padding: 0 0 20px;
    text-align: center;
}

.public-judge-popup-page .privacy-auth__agree-item {
    display: inline-block;
}

.public-judge-popup-page .privacy-auth__agree-item:first-child {
    padding-right: 10px;
}

.public-judge-popup-page .privacy-auth__radio-label {
    cursor: pointer;
}

.public-judge-popup-page .privacy-auth__radio {
    padding: 0;
    appearance: none;
}

.public-judge-popup-page .privacy-auth__radio::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 3px 2px 0;
    border: 2px solid #8b8b8b;
    border-radius: 100%;
    vertical-align: middle;
    cursor: pointer;
}

.public-judge-popup-page .privacy-auth__radio:checked::after {
    border: 2px solid #31649e;
    background: url("../images/icon_checked_b.png") 0 0 / contain no-repeat;
}

.public-judge-popup-page .privacy-auth__submit-wrap {
    margin: 10px 0 40px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.public-judge-popup-page .privacy-auth__submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: 10px 40px;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    background: var(--public-judge-blue);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.public-judge-popup-page .privacy-auth__submit-btn:hover {
    background: var(--public-judge-blue-dark);
}

.public-judge-popup-page .privacy-auth__submit-btn::before,
.public-judge-popup-page .privacy-auth__submit-btn::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    transform: rotate(-45deg);
}

.public-judge-popup-page .privacy-auth__submit-btn::before {
    order: 1;
}

.public-judge-popup-page .privacy-auth__submit-btn::after {
    margin-left: 10px;
}

.public-judge-popup-page .privacy-auth__submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.public-judge-popup-page .popup-footer,
.public-judge-complete-page .popup-footer {
    width: 100%;
    padding: 10px 20px 10px 0;
    clear: both;
    box-sizing: border-box;
    color: #ffffff;
    background: #4d4d4d;
    text-align: right;
}

.public-judge-popup-page .popup-footer__close-btn,
.public-judge-complete-page .popup-footer__close-btn {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

/* ==========================================================================
   썸네일 크게보기 팝업
   ========================================================================== */

.public-judge-thumbnail-page {
    margin: 0;
    color: #333333;
    background: #ffffff;
}

.public-judge-thumbnail-page .thum-popup {
    min-height: 325px;
    background: #ffffff;
}

.public-judge-thumbnail-page .thum-popup__title {
    margin: 0;
    padding: 25px 20px 15px 10px;
    color: #333333;
    background: url("../images/thumTit.jpg") no-repeat 10px 15px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.public-judge-thumbnail-page .thum-popup__content {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.public-judge-thumbnail-page .thum-popup__img {
    display: block;
    width: 100%;
    height: auto;
}

.public-judge-thumbnail-page .thum-popup__footer {
    width: 100%;
    margin-top: 10px;
    padding: 5px 20px 5px 0;
    clear: both;
    box-sizing: border-box;
    color: #ffffff;
    background: #4d4d4d;
    text-align: right;
}

.public-judge-thumbnail-page .thum-popup__close-btn {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

/* ==========================================================================
   참여완료 팝업
   ========================================================================== */

.public-judge-complete-page {
    margin: 0;
    color: #ffffff;
    background: #ffffff;
}

.public-judge-complete-page .popup-complete__content {
    width: 100%;
    padding: 12px;
    color: #ffffff;
    background: url("../images/popEndBg.jpg") no-repeat center / cover;
    text-align: center;
}

.public-judge-complete-page .popup-complete__inner {
    padding: 230px 40px 229px;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.public-judge-complete-page .popup-complete__badge {
    margin: 0;
    padding-bottom: 20px;
    color: #ffffff;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
}

.public-judge-complete-page .popup-complete__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding-bottom: 25px;
    color: #ffffff;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 400;
}

.public-judge-complete-page .popup-complete__title::after {
    content: "";
    display: block;
    width: 155px;
    height: 135px;
    margin-top: 20px;
    background: url("../images/check.png") no-repeat center / 100%;
}

.public-judge-complete-page .popup-complete__desc {
    margin: 0;
    padding-bottom: 25px;
    color: #ffffff;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    line-height: 1.2;
}

/* ==========================================================================
   반응형
   ========================================================================== */

@media (max-width: 1024px) {
    .public-judge-list-page .contest__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-judge-detail-page .event {
        width: 100%;
        padding: 0 24px;
    }

    .public-judge-detail-page .event__content {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 850px) {
    .public-judge-detail-page .prize-wrap {
        flex-direction: column;
    }

    .public-judge-detail-page .prize-wrap li p:first-child::before {
        display: none;
    }

    .public-judge-detail-page .prize-wrap > li {
        display: flex;
        width: 100%;
        align-items: center;
        margin-right: 0;
        padding: 15px 40px 20px;
    }

    .public-judge-detail-page .prize-wrap > li::before {
        content: "";
        display: block;
        width: 80px;
        height: 58px;
        flex-shrink: 0;
        margin-right: 15px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .public-judge-detail-page .prize-wrap > .prize-first::before {
        background-image: url("../images/gift.png");
    }

    .public-judge-detail-page .prize-wrap li div {
        text-align: left;
    }

    /* 800px 참여 팝업에서도 퍼블리싱의 축소형 배너 높이를 유지합니다. */
    .public-judge-popup-page .event-title__line {
        margin: 12px;
        padding: 40px 0 10px;
    }

    .public-judge-popup-page .event-title__line p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .public-judge-list-page .tabs a {
        padding: 35px 40px;
    }

    .public-judge-list-page .filters__wrap {
        justify-content: center;
        gap: 30px;
    }

    .public-judge-list-page .search__select-wrap {
        flex-direction: column;
    }

    .public-judge-list-page .search,
    .public-judge-list-page .search__select-box,
    .public-judge-list-page .search__select-control,
    .public-judge-list-page .search__input-box {
        display: block;
        width: 100%;
    }

    .public-judge-detail-page .event {
        margin-top: 24px;
    }

    .public-judge-detail-page .event__title {
        display: none;
    }

    .public-judge-detail-page .event__banner {
        margin-bottom: 30px;
        background-size: cover;
    }

    .public-judge-detail-page .event__line {
        margin: 12px;
        padding: 20px 0;
    }

    .public-judge-detail-page .event__list,
    .public-judge-detail-page .event__notice {
        flex-direction: column;
    }

    .public-judge-detail-page .event__list-title {
        width: auto;
        padding-bottom: 10px;
    }

    .public-judge-detail-page .event__list-desc {
        padding-left: 22px;
    }

    .public-judge-detail-page .prize .event__list-desc {
        min-width: 100%;
        padding: 0 22px;
    }

    .public-judge-detail-page .prize-wrap {
        margin: 0;
    }

    .public-judge-detail-page .desc__wrap li p em,
    .public-judge-detail-page .event__notice em {
        flex-basis: 95%;
    }

    .public-judge-detail-page .event__btn {
        padding-bottom: 30px;
    }

    .public-judge-detail-page .event__btn > :is(a, button) {
        flex-grow: 1;
        justify-content: center;
    }

    .public-judge-popup-page .info-box {
        padding: 30px 12px 20px;
    }

    .public-judge-popup-page .popup-content {
        width: auto;
        margin: 0 12px;
    }

    .public-judge-popup-page .privacy-auth {
        padding-bottom: 40px;
    }

    .public-judge-popup-page .privacy-auth__submit-wrap {
        margin: 10px 12px 40px;
    }

    .public-judge-popup-page .photo-list {
        padding: 15px;
    }

    .public-judge-popup-page .photo-list__dim {
        background-size: cover;
    }
}

@media (max-width: 480px) {
    .public-judge-list-page .tabs a {
        padding: 30px;
    }

    .public-judge-list-page .filters__wrap {
        gap: 15px;
        margin: 20px 0 30px;
    }

    .public-judge-list-page .filters {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        gap: 5px;
    }

    .public-judge-list-page .filters__button {
        min-width: 0;
        flex: 1;
        padding: 10px 20px;
        font-size: 0.875rem;
        text-align: center;
        white-space: nowrap;
    }

    .public-judge-list-page .filters__button.all {
        flex: 0.2;
    }

    .public-judge-list-page .contest__content {
        grid-template-columns: 1fr;
    }

    .public-judge-list-page .pagination {
        gap: 4px;
        margin: 40px 0;
    }

    .public-judge-list-page .pagination a {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 0.875rem;
    }

    .public-judge-list-page .pagination__btn.prev,
    .public-judge-list-page .pagination__btn.next {
        margin: 0 2px;
    }

    .public-judge-detail-page .event__text {
        display: none;
    }

    .public-judge-popup-page .photo-list__items {
        justify-content: space-between;
    }

    .public-judge-popup-page .photo-list__items > li {
        width: 46%;
        margin: 0 0 20px;
        font-size: 14px;
    }

    .public-judge-popup-page .photo-list__thumb {
        width: 100%;
        height: 90px;
        margin: 0 0 5px;
    }

    .public-judge-popup-page .photo-list__img {
        width: 100%;
        height: 90px;
    }

    .public-judge-popup-page .photo-list__label {
        width: 100%;
    }

    .public-judge-popup-page .privacy-auth__box {
        padding: 10px 20px;
    }

    .public-judge-popup-page .privacy-auth__submit-btn {
        width: 100%;
        justify-content: center;
        font-size: inherit;
    }

    .public-judge-complete-page .popup-complete__inner {
        padding: 40px 0;
    }

    .public-judge-complete-page .popup-complete__badge {
        font-size: 30px;
    }

    .public-judge-complete-page .popup-complete__title,
    .public-judge-complete-page .popup-complete__desc {
        font-size: inherit;
    }

    .public-judge-complete-page .popup-complete__desc {
        padding-bottom: 0;
    }

    .public-judge-complete-page .popup-complete__title::after {
        width: 85px;
        height: 72px;
    }
}
