/* 링크구조대 카테고리 페이지 스킨 스타일 */
.jusohub-board-page {
    width: 1200px;
    max-width: calc(100% - 32px);
    margin: 10px auto 42px;
}

.jusohub-category-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 5px;
    margin: 0 0 12px;
}

.jusohub-category-banner {
    position: relative;
    height: 100px;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 16px;
    background: #142238;
    color: #ffffff;
    text-align: center;
}

.jusohub-category-banner-wide {
    grid-column: 1 / -1;
    width: 100%;
}

.jusohub-category-banner-half {
    width: 100%;
}

.jusohub-category-banner-has-image {
    display: block;
    padding: 0;
    background: #ffffff;
}

.jusohub-category-banner-picture,
.jusohub-category-banner-picture img {
    width: 100%;
    height: 100%;
    display: block;
}

.jusohub-category-banner-picture img {
    object-fit: fill;
    object-position: center center;
}

.jusohub-category-banner-fallback {
    display: none;
}

.jusohub-category-banner-image-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.jusohub-category-banner-image-error .jusohub-category-banner-picture {
    display: none;
}

.jusohub-category-banner-image-error .jusohub-category-banner-fallback {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.jusohub-category-banner > span:not(.jusohub-category-banner-fallback),
.jusohub-category-banner-fallback span {
    min-width: 74px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .55);
    color: rgba(255, 255, 255, .9);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.jusohub-category-banner > strong,
.jusohub-category-banner-fallback strong {
    max-width: 100%;
    overflow: hidden;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jusohub-category-banner > em,
.jusohub-category-banner-fallback em {
    max-width: 100%;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jusohub-category-banner-pending {
    cursor: default;
}

.jusohub-board-head {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0 22px;
    border: 1px solid #d8d8d8;
    background: #ffffff;
}

.jusohub-board-head-mark {
    position: relative;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    border: 2px solid #ff4d2b;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, #ffffff 0, #fff5d8 25%, #ff7b2b 62%, #ff2b1b 100%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), 0 1px 2px rgba(255, 77, 43, .2);
}

.jusohub-board-head-mark::before {
    content: "TOP";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(132, 35, 0, .36);
}

.jusohub-board-head strong,
.jusohub-board-head span {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: 0;
}

.jusohub-board-head strong {
    color: #111111;
}

.jusohub-board-head span {
    color: #f37021;
}

.jusohub-rank-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
}

.jusohub-rank-card {
    position: relative;
    min-width: 0;
    min-height: 204px;
    aspect-ratio: 6 / 5;
    overflow: hidden;
    display: grid;
    grid-template-rows: minmax(150px, 1fr) 50px;
    border: 1px solid #d8d8d8;
    background: #ffffff;
    color: #111111;
    transition: border-color .14s ease, box-shadow .14s ease;
}

a.jusohub-rank-card:hover,
a.jusohub-rank-card:focus {
    border-color: #f37021;
    box-shadow: 0 1px 5px rgba(243, 112, 33, .14);
}

a.jusohub-rank-card:hover .jusohub-rank-card-title,
a.jusohub-rank-card:focus .jusohub-rank-card-title {
    color: #f37021;
}

.jusohub-rank-card-pending {
    cursor: default;
}

.jusohub-rank-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #ff6f2b;
    border-radius: 50%;
    background: #ffffff;
    color: #ff4d1d;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.jusohub-rank-card-badge-1,
.jusohub-rank-card-badge-2,
.jusohub-rank-card-badge-3 {
    width: 24px;
    height: 24px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
}

.jusohub-rank-card-badge-1::before,
.jusohub-rank-card-badge-2::before,
.jusohub-rank-card-badge-3::before {
    content: none;
}

.jusohub-rank-card-medal {
    position: relative;
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Malgun Gothic", sans-serif;
    font-size: 19px;
    line-height: 1;
    transform: translateY(1px);
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .16));
}

.jusohub-rank-card-logo {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 16px;
    background: #ffffff;
}

.jusohub-rank-card-logo img {
    width: auto;
    height: auto;
    max-width: 86%;
    max-height: 104px;
    display: block;
    object-fit: contain;
    object-position: center center;
}

.jusohub-rank-card-image-default {
    max-width: 74px;
    opacity: .92;
    filter: drop-shadow(0 2px 4px rgba(15, 39, 58, .16));
}

.jusohub-rank-card-logo-empty {
    width: 74px;
    height: 72px;
    display: block;
    border-radius: 14px;
    background: radial-gradient(circle at 35% 25%, #ffffff 0, #e9f9ff 34%, #d6edf6 72%, #c9e4ef 100%);
    box-shadow: inset 0 0 0 1px rgba(28, 73, 96, .08);
}

.jusohub-rank-card-title {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: #d8d8d8;
    color: #111111;
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.16;
    text-align: center;
    overflow-wrap: anywhere;
    letter-spacing: 0;
    transition: color .14s ease;
}

@keyframes jusohubRankCardTitleAurora {
    0% {
        color: #ff2f75;
        text-shadow: 0 0 0 rgba(255, 47, 117, 0);
        transform: translateY(0);
    }

    50% {
        color: #0874d9;
        text-shadow: 0 0 5px rgba(8, 116, 217, .18);
        transform: translateY(-1px);
    }

    100% {
        color: #ff2f75;
        text-shadow: 0 0 0 rgba(255, 47, 117, 0);
        transform: translateY(0);
    }
}

.jusohub-rank-card-badge-1 ~ .jusohub-rank-card-title,
.jusohub-rank-card-badge-2 ~ .jusohub-rank-card-title,
.jusohub-rank-card-badge-3 ~ .jusohub-rank-card-title {
    animation: jusohubRankCardTitleAurora 2.9s linear infinite;
    will-change: color, text-shadow, transform;
}

@media (prefers-reduced-motion: reduce) {
    .jusohub-rank-card-badge-1 ~ .jusohub-rank-card-title,
    .jusohub-rank-card-badge-2 ~ .jusohub-rank-card-title,
    .jusohub-rank-card-badge-3 ~ .jusohub-rank-card-title {
        animation: none;
        transform: none;
    }
}

.jusohub-board-empty {
    min-height: 120px;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    color: #777777;
    font-size: 15px;
    font-weight: 900;
}

.jusohub-link-write {
    width: 960px;
    max-width: calc(100% - 32px);
    margin: 14px auto 42px;
}

.jusohub-link-write form {
    max-width: 100%;
}

.jusohub-write-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid #d8d8d8;
    background: #ffffff;
}

.jusohub-write-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.jusohub-write-field {
    display: grid;
    gap: 6px;
}

.jusohub-write-field label {
    color: #111111;
    font-size: 14px;
    font-weight: 900;
}

.jusohub-write-field input,
.jusohub-write-field select,
.jusohub-write-field textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #cfcfcf;
    border-radius: 0;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    font-weight: 700;
}

.jusohub-write-field input,
.jusohub-write-field select {
    height: 40px;
    padding: 0 12px;
}

.jusohub-write-field textarea {
    min-height: 92px;
    padding: 10px 12px;
    resize: vertical;
}

.jusohub-write-help {
    margin: 0;
    color: #666666;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.jusohub-link-write .btn_confirm {
    margin-top: 12px;
}

@media (max-width: 1232px) {
    .jusohub-category-banner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .jusohub-rank-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1232px) {
    .jusohub-category-banner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .jusohub-category-banner {
        height: auto;
        aspect-ratio: 6 / 1;
    }

    .jusohub-category-banner-wide {
        aspect-ratio: 12 / 1;
    }

    .jusohub-category-banner-half {
        aspect-ratio: 6 / 1;
    }

    .jusohub-category-banner-has-image {
        padding: 0;
    }
}

@media (max-width: 620px) {
    .jusohub-board-page {
        width: 100%;
        max-width: calc(100% - 20px);
        margin-top: 8px;
    }

    .jusohub-category-banner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
        margin-bottom: 12px;
    }

    .jusohub-category-banner {
        padding: 8px 12px;
    }

    .jusohub-category-banner-has-image {
        padding: 0;
    }

    .jusohub-category-banner strong {
        font-size: 16px;
    }

    .jusohub-board-head {
        min-height: 58px;
        justify-content: flex-start;
        padding: 0 16px;
    }

    .jusohub-board-head-mark {
        width: 27px;
        height: 27px;
    }

    .jusohub-board-head strong,
    .jusohub-board-head span {
        font-size: 18px;
        line-height: 1.2;
    }

    .jusohub-rank-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
        margin-top: 10px;
    }

    .jusohub-rank-card {
        min-height: 176px;
        aspect-ratio: 6 / 5.4;
        grid-template-rows: minmax(124px, 1fr) 46px;
    }

    .jusohub-rank-card-logo {
        padding: 22px 10px 12px;
    }

    .jusohub-rank-card-logo img {
        max-height: 84px;
    }

    .jusohub-rank-card-image-default {
        max-width: 62px;
    }

    .jusohub-rank-card-title {
        font-size: 17px;
    }

    .jusohub-link-write {
        max-width: calc(100% - 20px);
        margin-top: 10px;
    }

    .jusohub-write-field-grid {
        grid-template-columns: 1fr;
    }

    .jusohub-write-card {
        padding: 14px;
    }
}
