#notice {
    font-size: 10px;
}
#notice .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 99.6em;
    margin: 0 auto;
}
#notice small {
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    color: #006ffb;
}
#notice h1 {
    margin-top: 1rem;
    font-weight: 700;
    font-size: 4.4rem;
    letter-spacing: -0.03em;
    text-align: center;
    color: #121212;
}
#notice ul {
    align-self: stretch;
    margin-top: 12rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2em;
}
#notice li {
    height: 15em;
    border-radius: 8px;
    background-color: #f5f7fa;
    cursor: pointer;
    overflow: hidden;
}
#notice li > a {
    padding: 0 36em 0 6em;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: right/35em 15em no-repeat;
    transition: background 0.2s ease-in-out;
}
#notice li > a:hover {
    background-position: right -1em center;
    background-size: 36em 16em;
}
#notice li > a strong {
    white-space: nowrap;
    overflow: hidden;
    padding-bottom: 0.6em;
    text-overflow: ellipsis;
    font-weight: 800;
    font-size: 1.8em;
    letter-spacing: -0.03em;
    text-underline-offset: 0.6em;
    color: #121212;
}
#notice li > a p {
    margin-top: 0.8em;
    font-weight: 500;
    font-size: 1.4em;
    letter-spacing: -0.03em;
    color: #5a6e81;
}
#notice li:hover strong {
    text-decoration: underline;
}
#notice .pagination {
    margin-top: 5.5em;
    display: flex;
    align-items: center;
    gap: 3.5em;
}
#notice .pagination a {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    background: center no-repeat;
    font-family: "Poppins";
    font-weight: 500;
    font-size: 1.6rem;
    color: #b2bed2;
}
#notice .pagination a.active {
    color: #121212;
    text-decoration: underline;
}
#notice .pagination a.disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}
#notice .pagination a#first {
    background-image: url("/images/notice/ic_first.svg");
}
#notice .pagination a#prev {
    background-image: url("/images/notice/ic_prev.svg");
}
#notice .pagination a#next {
    background-image: url("/images/notice/ic_next.svg");
}
#notice .pagination a#last {
    background-image: url("/images/notice/ic_last.svg");
}

#detail .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 99.6rem;
}
#detail .inner > h1 {
    font-weight: 700;
    font-size: 4.4rem;
    line-height: 1.36;
    letter-spacing: -0.03em;
    text-align: center;
    color: #121212;
}
#detail .inner > small {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    color: #5a6e81;
}
#detail .inner .content-area {
    align-self: center;
    margin-top: 5rem;
    max-width: 900px;
    display: inline-block;
    width: 100%;
}
/* 발행마감일 공지같이 이미지만 들어가는 경우가 있음. 근데 태그가 이미지만 있는 경우도 있고 p 태그 안에 이미지가 있는 경우가 있음.. */
#detail .inner .content-area:has(> img:first-child:last-child),
#detail .inner .content-area p:has(> img:first-child:last-child) {
    text-align: center;
}
#detail .inner .content-area:has(> img:first-child:last-child) > img:first-child:last-child,
#detail .inner .content-area p:has(> img:first-child:last-child) > img:first-child:last-child {
    width: 100%;
}
#detail .inner .footer {
    align-self: stretch;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: solid 1px #d4ddeb;
}
#detail .inner .footer .file-wrap {
    align-self: stretch;
    border-bottom: solid 1px #d4ddeb;
    display: flex;
    padding: 2rem 0;
}
#detail .inner .footer .file-wrap p {
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: #768393;
}
#detail .inner .footer .file-wrap .file {
    margin-left: 2rem;
    padding-left: 2.2rem;
    background: url("/images/notice/ic_file.svg") left center no-repeat;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: #121212;
}
#detail .inner .footer .file-wrap .file:hover {
    text-decoration: underline;
}
#detail .inner .footer > a {
    margin-top: 5rem;
    padding-left: 2rem;
    background: url("/images/notice/ic_goback.svg") left center no-repeat;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    color: #a5b0c6;
}

@media (max-width: 1350px) {
    .inner {
        margin: 0 auto;
    }
}
@media (max-width: 1036px) {
    #notice {
        font-size: 0.96525097vw;
    }
    #notice .inner {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
    #detail .inner {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
}
@media (max-width: 480px) {
    #notice {
        font-size: 2.08333333vw;
    }
    #notice .inner {
        width: calc(100% - 32px);
        margin: 0 16px;
    }
    #notice h1 {
        font-size: 2.7rem;
    }
    #notice ul {
        margin-top: 6em;
    }
    #notice li {
        height: auto;
        aspect-ratio: 343/254;
        overflow: hidden;
    }
    #notice li > a {
        padding: 19.3em 2.6em 2.6em;
        background: top center/contain no-repeat;
    }
    #notice li > a:hover {
        background-position: top center;
        background-size: contain;
    }
    #notice li > a strong {
        font-size: 2em;
        padding-bottom: 0.4em;
        text-underline-offset: 0.4em;
    }
    #notice li > a p {
        margin-top: 1em;
        font-size: 1.8em;
    }
    #notice .pagination {
        margin-top: 3em;
    }
    #detail .inner {
        width: calc(100% - 32px);
        margin: 0 16px;
    }
    #detail .inner > h1 {
        font-size: 2.7rem;
    }
}