/* member/css/home-lv.css - 협회 홈(index.html) 첫 화면 배치 (참빛 데모 디자인)
   왼쪽: 작은 머리글 · 명조 큰 제목 · 설명 · 버튼 2개 · 검색 / 오른쪽: "처음 오셨나요?" 안내 카드
   그 아래 숫자 줄 (.home-stats). index.html 에서만 읽는다 - 다른 메뉴 화면의 .hero 는 그대로. */

.hero { min-height: 0; }
.hero-inner {
    align-items: stretch;
    padding: 96px 24px 72px;
}

.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 56px;
    align-items: center;
    margin-top: 64px;
}

.hero-text { max-width: 640px; word-break: keep-all; }
.hero-card { word-break: keep-all; }

.hero-eyebrow {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--gold-500);
}
.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    margin-right: 12px;
    vertical-align: middle;
    background: var(--gold-500);
}

.hero .hero-copy {
    margin: 0;
    font-size: clamp(36px, 4.4vw, 58px);
    line-height: 1.18;
    letter-spacing: -0.01em;
    text-align: left;
    text-shadow: none;
}

.hero-lead {
    margin: 22px 0 0;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.hero-btn:hover { transform: translateY(-1px); }
.hero-btn-gold {
    background: var(--gold-gradient);
    color: #1c2420;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.hero-btn-line {
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}
.hero-btn-line:hover { background: rgba(255, 255, 255, 0.12); }

.hero .hero-search {
    margin-top: 28px;
    width: min(520px, 100%);
    border-radius: var(--radius-md);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.96);
}

/* 오른쪽 안내 카드 */
.hero-card {
    position: relative;
    padding: 30px 26px 18px;
    border-radius: var(--radius-lg);
    background: rgba(250, 247, 240, 0.97);
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(8, 22, 15, 0.35);
}
.hero-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
    color: var(--brand-900);
}
.hero-badge {
    position: absolute;
    top: -14px;
    left: 26px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--gold-gradient);
    color: #1c2420;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.hero-card-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 4px;
    border-top: 1px solid var(--line);
    transition: background 0.15s;
}
.hero-card-row:hover { background: rgba(31, 77, 58, 0.05); }
.hero-card-row b { display: block; font-size: 16px; color: var(--brand-900); }
.hero-card-row small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-muted); }
.hero-card-row::after {
    content: '›';
    margin-left: auto;
    font-size: 22px;
    color: var(--gold-600);
}
.hero-card-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--brand-100);
    color: var(--brand-600);
}
.hero-card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* 숫자 줄 - 첫 화면 아래 크림색 띠 */
.home-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px;
    transform: translateY(-28px);
    position: relative;
    z-index: 2;
}
.home-stats > div {
    padding: 22px 16px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-left-width: 0;
}
.home-stats > div:first-child { border-left-width: 1px; border-radius: var(--radius-md) 0 0 var(--radius-md); }
.home-stats > div:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.home-stats b {
    display: block;
    font-family: var(--font-serif);
    font-size: 34px;
    line-height: 1.1;
    color: var(--brand-600);
}
.home-stats b::after {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    margin: 10px auto 8px;
    background: var(--gold-500);
}
.home-stats span { font-size: 13px; color: var(--ink-muted); }

/* 협회 소식 - 잡지 모양 (js/home-feed.js DRAW.news): 큰 글 1개 + 날짜 · 제목 목록 */
#home-news { display: block; }
.news-mag {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.news-feature { display: block; }
.news-feature .media-thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: var(--radius-md);
}
.news-feature .media-thumb:not(.has-img) {
    background:
        radial-gradient(circle at 78% 22%, rgba(201, 162, 39, 0.45), transparent 45%),
        var(--brand-gradient-deep);
}
.news-feature .media-thumb:not(.has-img) b { font-family: var(--font-serif); font-size: 54px; color: #fff; }
.news-feature .media-thumb:not(.has-img) small { color: var(--gold-500); }
.news-feature-text { display: block; margin-top: 14px; word-break: keep-all; }
.news-feature-text small {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--gold-600);
}
.news-feature-text b {
    display: block;
    margin-top: 6px;
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.35;
    color: var(--ink);
}
.news-feature:hover b { color: var(--brand-600); }
.news-feature-text time { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-muted); }
.news-list { border-top: 2px solid var(--brand-600); }
.news-list a {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    padding: 16px 2px;
    border-bottom: 1px solid var(--line);
    word-break: keep-all;
}
.news-list time { font-size: 13px; color: var(--gold-600); font-weight: 700; padding-top: 2px; }
.news-list span { font-size: 15px; line-height: 1.5; color: var(--ink); }
.news-list a:hover span { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }

/* 태블릿: 카드를 제목 아래로 */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
    .hero-card { max-width: 560px; }
}

/* 휴대폰 */
@media (max-width: 720px) {
    .hero-inner { padding: 76px 16px 56px; }
    .hero-split { margin-top: 24px; gap: 32px; }
    .hero .hero-copy { font-size: 32px; line-height: 1.25; }
    .hero-lead { font-size: 15px; }
    .hero-actions { margin-top: 24px; }
    .hero-btn { flex: 1 1 auto; }
    .hero .hero-search { margin-top: 20px; }
    .hero-card { padding: 26px 18px 12px; }
    .home-stats { grid-template-columns: repeat(2, 1fr); padding: 0 16px; transform: translateY(-20px); }
    .home-stats > div { border-left-width: 1px; border-radius: 0 !important; }
    .home-stats > div:nth-child(1) { border-radius: var(--radius-md) 0 0 0 !important; }
    .home-stats > div:nth-child(2) { border-radius: 0 var(--radius-md) 0 0 !important; border-left-width: 0; }
    .home-stats > div:nth-child(3) { border-radius: 0 0 0 var(--radius-md) !important; border-top-width: 0; }
    .home-stats > div:nth-child(4) { border-radius: 0 0 var(--radius-md) 0 !important; border-top-width: 0; border-left-width: 0; }
    .home-stats b { font-size: 28px; }
    .news-mag { grid-template-columns: 1fr; gap: 18px; }
    .news-feature-text b { font-size: 19px; }
}
