@charset "utf-8";

/* 그누보드 기본 폼/댓글 + HOVAN 글보기 공통 스타일 */
@import url("../../../css/board-base.css");

/* =========================================================
   HOVAN 명예의 전당 스킨 (honor)
   - 인물 중심. 상단에 최근 수상자 3명을 크게, 아래에 전체를 원형 카드 그리드로.
   - 색/버튼/페이징은 테마 css/style.css, sub.css 를 그대로 쓴다.
   ========================================================= */

.honor-heading {
    margin: 44px 0 18px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.honor-heading:first-of-type { margin-top: 8px; }

/* ---------- 최근 수상자 (큰 카드) ---------- */
.honor-feature {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.honor-hero {
    display: block;
    padding: 30px 24px 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdf5 0%, var(--white) 55%);
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.honor-hero:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 18px 40px rgba(13, 19, 26, 0.1);
}

.honor-hero__photo {
    display: block;
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-050);
    box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--gold);
}

.honor-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.honor-hero__body { display: block; }

.honor-hero__name {
    display: block;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.honor-hero__date {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--gray-500);
}

/* ---------- 전체 수상자 (그리드) ---------- */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.honor-card {
    display: block;
    padding: 24px 18px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.honor-card:hover {
    transform: translateY(-3px);
    border-color: var(--ink);
    box-shadow: 0 12px 26px rgba(13, 19, 26, 0.08);
}

.honor-card--notice {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(232, 185, 31, 0.35);
}

.honor-card__photo {
    display: block;
    width: 88px;
    height: 88px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-050);
}

.honor-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.honor-card__name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--ink);
    word-break: keep-all;
}

.honor-card__date {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--gray-500);
}

/* ---------- 사진이 없을 때 쓰는 이니셜 원판 ---------- */
.honor-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(140deg, #2b3542 0%, var(--ink) 100%);
    color: var(--gold);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.honor-initial--lg { font-size: 50px; }

/* ---------- 수상 부문 배지 ---------- */
.honor-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--gold);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.honor-badge--sm {
    margin-top: 10px;
    padding: 3px 10px;
    font-size: 11.5px;
}

.honor-tag {
    display: inline-block;
    vertical-align: 2px;
    padding: 2px 8px;
    border-radius: 50px;
    background: var(--ink);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
}

/* bbs.css 가 이미지를 inline-block 으로 되돌리므로 다시 block 으로 */
.hovan-bbs .honor-hero__photo img,
.hovan-bbs .honor-card__photo img { display: block; }

/* ---------- 글보기: 인물 소개처럼 가운데 정렬 ---------- */
.post--honor .post__head {
    padding-bottom: 28px;
    text-align: center;
}

.post--honor .post__title { font-size: clamp(24px, 2.6vw, 34px); }

.post--honor .post__cate {
    padding: 4px 14px;
    border-radius: 50px;
    background: var(--gold);
    color: var(--ink);
}

.post--honor .post__meta { justify-content: center; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 1024px) {
    .honor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .honor-feature { grid-template-columns: 1fr; }
    .honor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .honor-heading { margin: 32px 0 14px; font-size: 17px; }
}
