.c39519-search-page,
.c39519-search-page button,
.c39519-search-page input,
.c39519-search-page select,
.c39519-search-page textarea {
    font-family: "Noto Sans KR", "Noto Sans", "Malgun Gothic", Arial, sans-serif;
}

/* Keep the shared header language control inside the 34px utility row. */
.c39519-search-page .c39519-utility .c39519-language {
    height: 22px;
    min-height: 22px;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.c39519-search-page,
.c39519-search-page * {
    box-sizing: border-box;
}

.c39519-search-page .c39519-search-main {
    width: 100%;
    min-width: 0;
}

.c39519-search-hero {
    background: linear-gradient(125deg, #e8f7f4 0%, #f5faf9 56%, #eaf2fa 100%);
}

.c39519-search-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 48px;
    padding: 70px 32px;
    border: 1px solid #dbe7e6;
    border-radius: 26px;
    text-align: center;
    background: #fff;
    box-shadow: 0 15px 35px rgba(19, 66, 85, .07);
}

.c39519-search-placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 24px;
    border-radius: 26px;
    color: #238e84;
    background: #e3f3f0;
}

.c39519-search-placeholder-icon svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.c39519-search-placeholder h2 {
    margin: 0 0 14px;
    color: #073566;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0;
    word-break: keep-all;
}

.c39519-search-placeholder p {
    max-width: 760px;
    margin: 0;
    color: #40576c;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0;
    word-break: keep-all;
}

.c39519-search-placeholder > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 24px;
    padding: 9px 18px;
    border-radius: 21px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    background: #63b7ac;
}

.c39519-returned-results {
    margin-top: 48px;
}

.c39519-returned-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid #dbe7e6;
}

.c39519-returned-head > div {
    min-width: 0;
}

.c39519-returned-head .c39519-returned-kicker {
    margin: 0 0 8px;
    color: #238e84;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: .08em;
}

.c39519-returned-head h2 {
    margin: 0;
    color: #073566;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0;
    word-break: keep-all;
}

.c39519-returned-head h2 + p {
    max-width: 820px;
    margin: 10px 0 0;
    color: #40576c;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    word-break: keep-all;
}

.c39519-returned-limit-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin: 0;
    padding: 5px;
    border: 1px solid #d2e8e4;
    border-radius: 999px;
    background: #f6fbfa;
}

.c39519-returned-limit-button {
    min-width: 68px;
    min-height: 46px;
    margin: 0;
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #40576c;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    background: transparent;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.c39519-returned-limit-button strong {
    margin-right: 4px;
    color: #073566;
    font-size: 19px;
    font-weight: 800;
}

.c39519-returned-limit-button:hover,
.c39519-returned-limit-button:focus-visible {
    border-color: #8bc9bf;
    color: #075d58;
    background: #fff;
}

.c39519-returned-limit-button:focus-visible {
    outline: 3px solid rgba(35, 142, 132, .3);
    outline-offset: 2px;
}

.c39519-returned-limit-button.is-active {
    border-color: #83c8bd;
    color: #075d58;
    background: #e4f6f2;
    box-shadow: 0 5px 14px rgba(35, 142, 132, .13);
}

.c39519-returned-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 26px;
}

.c39519-returned-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid #dbe7e6;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(19, 66, 85, .07);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.c39519-returned-card:hover,
.c39519-returned-card:focus-within {
    border-color: #8bc9bf;
    box-shadow: 0 18px 36px rgba(19, 66, 85, .13);
    transform: translateY(-5px);
}

.c39519-returned-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 330px;
    padding: 25px;
    background: linear-gradient(145deg, #f1f8f7 0%, #f6f8fb 100%);
}

.c39519-returned-cover img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 280px;
    border-radius: 5px;
    object-fit: contain;
    box-shadow: 0 11px 24px rgba(19, 45, 62, .18);
}

.c39519-returned-card-body {
    padding: 24px 23px 26px;
}

.c39519-returned-date {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 16px;
    color: #236a64;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    background: #e5f5f2;
}

.c39519-returned-date strong {
    margin-left: 5px;
    color: #073566;
    font-weight: 800;
}

.c39519-returned-card h3 {
    margin: 17px 0 10px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0;
    word-break: keep-all;
}

.c39519-returned-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: #073566;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.c39519-returned-card h3 a:hover,
.c39519-returned-card h3 a:focus-visible {
    color: #197e75;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.c39519-returned-author,
.c39519-returned-publisher {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #40576c;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    word-break: keep-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.c39519-returned-publisher {
    margin-top: 5px;
    color: #6a7a88;
    font-size: 14px;
}

.c39519-returned-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #073566;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none;
}

.c39519-returned-detail span {
    color: #238e84;
    font-size: 19px;
    transition: transform .18s ease;
}

.c39519-returned-detail:hover,
.c39519-returned-detail:focus-visible {
    color: #197e75;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.c39519-returned-detail:hover span,
.c39519-returned-detail:focus-visible span {
    transform: translateX(4px);
}

.c39519-returned-cover:focus-visible,
.c39519-returned-card h3 a:focus-visible,
.c39519-returned-detail:focus-visible {
    outline: 3px solid #238e84;
    outline-offset: 3px;
}

.c39519-returned-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 280px;
    padding: 48px 24px;
    border: 1px solid #dbe7e6;
    border-radius: 24px;
    color: #40576c;
    text-align: center;
    background: #f8fbfb;
}

.c39519-returned-empty span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    background: #63b7ac;
}

.c39519-returned-empty p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .c39519-returned-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .c39519-search-placeholder {
        margin-top: 28px;
        padding: 48px 20px;
        border-radius: 20px;
    }

    .c39519-search-placeholder-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 20px;
        border-radius: 22px;
    }

    .c39519-search-placeholder-icon svg {
        width: 42px;
        height: 42px;
    }

    .c39519-search-placeholder h2 {
        font-size: 27px;
    }

    .c39519-search-placeholder p,
    .c39519-search-placeholder > strong {
        font-size: 15px;
        line-height: 1.65;
        word-break: normal;
    }

    .c39519-returned-results {
        margin-top: 28px;
    }

    .c39519-returned-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .c39519-returned-head .c39519-returned-kicker {
        font-size: 13px;
    }

    .c39519-returned-head h2 {
        font-size: 27px;
    }

    .c39519-returned-head h2 + p {
        font-size: 15px;
        line-height: 1.65;
        word-break: normal;
    }

    .c39519-returned-limit-form {
        width: min(100%, 290px);
        padding: 4px;
    }

    .c39519-returned-limit-button {
        flex: 1 1 0;
        min-width: 0;
        min-height: 42px;
        padding: 7px 8px;
        font-size: 13px;
    }

    .c39519-returned-limit-button strong {
        font-size: 17px;
    }

    .c39519-returned-grid {
        gap: 22px;
    }

    .c39519-returned-cover {
        height: 310px;
        padding: 22px;
    }

    .c39519-returned-cover img {
        max-height: 264px;
    }

    .c39519-returned-card-body {
        padding: 21px 20px 24px;
    }

    .c39519-returned-card h3 {
        font-size: 18px;
    }

    .c39519-returned-author,
    .c39519-returned-detail {
        font-size: 15px;
    }
}

@media (max-width: 620px) {
    .c39519-returned-grid {
        grid-template-columns: 1fr;
    }

    .c39519-returned-cover {
        height: 340px;
    }

    .c39519-returned-cover img {
        max-height: 292px;
    }
}
