/* 링크구조대 카테고리 페이지 스킨 스타일 */
.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: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 22px;
    border: 1px solid #d8d8d8;
    background: #ffffff;
}

.jusohub-board-head strong,
.jusohub-board-head span {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    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: 6px;
    margin-top: 14px;
}

.jusohub-rank-card {
    position: relative;
    min-width: 0;
    min-height: 192px;
    overflow: hidden;
    display: grid;
    grid-template-rows: minmax(136px, 1fr) 52px;
    border: 1px solid #d8d8d8;
    background: #ffffff;
    color: #111111;
}

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

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: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff6f2b;
    border-radius: 50%;
    background: #ffffff;
    color: #ff4d1d;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.jusohub-rank-card-badge-1,
.jusohub-rank-card-badge-2,
.jusohub-rank-card-badge-3 {
    border-color: #f1b82d;
    background: #fff3ca;
    color: #c87500;
}

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

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

.jusohub-rank-card-logo-text {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
    letter-spacing: 0;
}

.jusohub-rank-card-title {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: #d8d8d8;
    color: #111111;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    overflow-wrap: anywhere;
    letter-spacing: 0;
    transition: color .14s ease;
}

.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: 56px;
        justify-content: flex-start;
        padding: 0 16px;
    }

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

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

    .jusohub-rank-card {
        min-height: 174px;
        grid-template-rows: minmax(122px, 1fr) 46px;
    }

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

    .jusohub-rank-card-logo-text {
        font-size: 24px;
    }

    .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;
    }
}
