/* shared/lux-member.css - 참빛 데모 "잡지(에디토리얼)" 디자인 층: 협회 홈 · 메뉴 화면 · 지부 · 커뮤니티 등 member/ 화면
   각 화면 CSS 를 모두 읽은 뒤 맨 마지막에 읽는다 (원래 사이트와 다른 모양을 여기서 덮어쓴다).
   - 상자: 그림자 · 둥근 흰 상자 대신, 위쪽 가는 선 + 명조 제목 (본문 열) / 옆 열은 테두리 상자
   - 탭: 알약 모양 대신 밑줄 탭 (금색)
   - 버튼: 네모난 초록 · 테두리 버튼
   - 바닥글: 짙은 초록 띠 */

/* ── 본문 열의 상자 → 선으로 나눈 지면 ── */
.home-col-main > .card,
.home-col-main > section.card {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    padding: 34px 0 10px;
}
.home-col-main > .carousel + .card { border-top: 0; }

/* 옆 열: 크림 위 흰 상자, 그림자 없이 테두리만 */
.home-col.side > .card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: none;
    padding: 24px 22px;
}

/* 상자 제목: 명조 · 크게, 화살표는 금색 동그라미 */
.card-title {
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 700;
    color: var(--brand-900);
    letter-spacing: -0.01em;
    gap: 10px;
}
.card-title svg:not(.lock-mark) {
    width: 26px;
    height: 26px;
    padding: 5px;
    border: 1.5px solid var(--gold-500);
    border-radius: 50%;
    color: var(--gold-600);
    stroke-width: 2.6;
    transition: background 0.15s, color 0.15s;
}
.card-title:hover svg:not(.lock-mark) { background: var(--gold-500); color: #fff; }
.home-col.side .card-title { font-size: 20px; }
.card-sub { color: var(--ink-muted); }

.card-title .lock-mark { width: 14px; height: 14px; color: var(--gold-600); }

/* 더보기: 작은 대문자 + 금색 */
.more-link {
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-600) !important;
}
.more-link::after { content: ' →'; }

/* ── 탭: 밑줄 탭 ── */
.tabs { gap: 22px !important; border-bottom: 1px solid var(--line); }
.tabs .tab {
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 8px 0 10px !important;
    margin-bottom: -1px;
    color: var(--ink-muted) !important;
    font-weight: 700;
    border-bottom: 2px solid transparent !important;
}
.tabs .tab.active,
.tabs .tab[aria-selected="true"] {
    color: var(--brand-900) !important;
    border-bottom-color: var(--gold-500) !important;
}
.tabs-title .tab { font-family: var(--font-serif); font-size: 21px !important; }

/* ── 그림 카드 (강연 · 소식 · 행사) ── */
.media-thumb, .series-thumb, .letter-card {
    border-radius: var(--radius-sm) !important;
    box-shadow: none !important;
}
.media-card, .series-card { transition: transform 0.15s; }
.media-card:hover, .series-card:hover { transform: translateY(-2px); }
.media-title, .series-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    word-break: keep-all;
}
.media-card time { color: var(--gold-600) !important; font-weight: 700; font-size: 12px; }
/* 그림 없는 칸: 초록 판 + 금빛 */
.media-thumb:not(.has-img), .series-thumb:not(.has-img) {
    background:
        radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.4), transparent 50%),
        var(--brand-gradient-deep) !important;
    color: #fff;
}
.series-thumb:not(.has-img) small { font-family: var(--font-serif); font-style: italic; color: var(--gold-100); }

/* 버튼 (알약 → 네모) */
.pill-btn {
    border-radius: var(--radius-md) !important;
    background: var(--brand-600) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 11px 18px !important;
}
.pill-btn:hover { background: var(--brand-900) !important; }
.pill-btn svg { stroke: currentColor; }

/* 로그인 안내 · 빈 칸 */
.home-feed-note {
    background: var(--cream) !important;
    border: 1px dashed #d8cfba !important;
    border-radius: var(--radius-md) !important;
    color: var(--ink-muted);
}
.home-feed-note a { color: var(--brand-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 자주 묻는 질문 목록: 가는 선 */
.faq-links > a, .content-links > a {
    border-radius: 0 !important;
    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 12px 2px !important;
}
.faq-links > a b { color: var(--gold-600); font-family: var(--font-serif); }

/* ── 바로가기 버튼 (커뮤니티 · 청소년부 · 매거진 …): 짙은 초록 판 위 네모 칸 ── */
.home-col.side > .card.quick-links {
    background: var(--brand-900);
    border-color: var(--brand-900);
}
.quick-links .app { color: rgba(255, 255, 255, 0.9) !important; }
.quick-links .app-icon {
    border-radius: var(--radius-md) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: none !important;
    color: #fff !important;
}
.quick-links .app-icon b {
    font-family: var(--font-serif);
    color: var(--gold-500) !important;
    background: none !important;
    -webkit-text-fill-color: var(--gold-500);
}
.quick-links .app-icon img, .quick-links .app-icon svg { filter: none; }
.quick-links .app:hover .app-icon { border-color: var(--gold-500) !important; background: rgba(201, 162, 39, 0.14) !important; }
.quick-links .lock-mark { color: var(--gold-500); }

/* 배너 슬라이드: 그림자 없이 */
.carousel { box-shadow: none !important; border-radius: var(--radius-lg) !important; }

/* ── 바닥글: 짙은 초록 띠 ── */
.site-footer {
    margin-top: 48px;
    padding: 44px 16px 52px !important;
    background: var(--brand-900) !important;
    color: rgba(250, 247, 240, 0.75) !important;
    border-top: 3px solid var(--gold-500);
    text-align: center;
}
.site-footer::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    background: url('logo.png') center / contain no-repeat;
}
.site-footer p { color: inherit !important; font-size: 13px; letter-spacing: 0.02em; }
.site-footer a { color: var(--gold-500) !important; }

/* 여러 칸 바닥글 (shared/lux-footer.js 가 그린다) */
.site-footer.lux-footer { text-align: left; padding: 56px 24px 28px !important; }
.site-footer.lux-footer::before { display: none; }
.lf-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 0.8fr;
    gap: 40px;
}
.lf-brand img { display: block; margin-bottom: 14px; }
.lf-brand b { display: block; font-family: var(--font-serif); font-size: 22px; color: #fff; }
.lf-brand p { margin: 8px 0 0; font-size: 14px !important; }
.lf-col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.lf-col h4 {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-500);
}
.site-footer .lf-col a { color: rgba(250, 247, 240, 0.85) !important; }
.site-footer .lf-col a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.lf-langs { display: flex; gap: 6px; }
.lf-langs button {
    min-width: 40px;
    padding: 6px 8px;
    border: 1px solid rgba(250, 247, 240, 0.35);
    border-radius: var(--radius-sm);
    background: transparent;
    color: rgba(250, 247, 240, 0.85);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.lf-langs button.is-on { background: var(--gold-500); border-color: var(--gold-500); color: #1c2420; }
.site-footer .lf-bottom {
    max-width: 1200px;
    margin: 44px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(250, 247, 240, 0.15);
    font-size: 12px !important;
    opacity: 0.7;
}
@media (max-width: 860px) {
    .lf-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
    .lf-brand { grid-column: 1 / -1; }
}

/* 바로가기 아이콘 (선 그림)도 금색으로 - 몇 개는 흰 선이라 판 위에서 안 보였다 */
.quick-links .app-icon svg { stroke: var(--gold-500) !important; fill: none !important; color: var(--gold-500) !important; }
.quick-links .app-icon svg * { stroke: var(--gold-500) !important; }

/* 그림 있는 칸: 아래에 옅은 그늘 (글자 없는 그림도 지면처럼) */
.media-thumb.has-img, .series-thumb.has-img { background-size: cover !important; background-position: center !important; }

/* ── 머리글 두 줄: ① 얇은 짙은 초록 도구 줄(.topbar, 늘 고정) ② 흰 메뉴 줄(.hero-head - 로고 왼쪽 · 메뉴 오른쪽) ── */
.topbar, .topbar.scrolled {
    background: var(--brand-900) !important;
    color: var(--cream) !important;
    padding: 6px 20px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}
.topbar .lwh-lang button.is-on { background: var(--gold-500) !important; color: #1c2420 !important; }
.topbar .lwh-clear .lwh-avatar { background: var(--gold-500); color: #1c2420; }

.hero-inner { padding-top: 70px !important; }   /* 위 도구 줄 높이 */
.hero-head {
    position: relative;
    z-index: 2;
    padding: 18px 0;
    color: var(--ink);
    justify-content: space-between !important;
}
/* 흰 줄을 화면 양 끝까지 (로고가 위로 튀어나와도 잘리지 않게 뒤판을 따로 깐다) */
.hero-head::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vmax;
    right: -100vmax;
    z-index: -1;
    background: #fff;
    box-shadow: 0 6px 18px rgba(8, 22, 15, 0.12);
}
.hero-head .site-title {
    color: var(--brand-900);
    text-shadow: none;
    font-size: 40px;
    gap: 18px;
}
/* 로고: 크게, 흰 메뉴 줄 위로 일부러 튀어나오게 (흰 테두리 동그라미 + 그림자) - 흰 줄은 그만큼 아래로 내려 위에 초록 틈을 둔다 */
.hero-head { margin-top: 48px; }
.hero-head .site-title .logo-badge {
    width: 96px;
    height: 96px;
    margin: -90px 0 -10px;
    padding: 0;
    border-radius: 50%;
    background: var(--brand-900);
    border: 5px solid #fff;
    box-shadow: 0 10px 24px rgba(8, 22, 15, 0.28);
    overflow: hidden;
    flex-shrink: 0;
}
.hero-head .site-title .logo-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-head .site-title:not(.is-subsite)::after { filter: none; }
.hero-head .main-nav a {
    color: var(--ink);
    text-shadow: none;
    font-size: 15px;
    font-weight: 600;
}
.hero-head .main-nav a:hover, .hero-head .main-nav a.active, .hero-head .main-nav a[aria-current] { color: var(--brand-600); }
.hero-head .main-nav a::after { background: var(--gold-500); height: 2px; bottom: -8px; }
.hero-head .main-nav .lock-mark { color: var(--gold-600); }

/* 메뉴 화면 머리 (공개 강좌 · 협회 소개 · 지부 찾기 · 커뮤니티): 사진 대신 짙은 초록 판, 제목 왼쪽 정렬 */
.hero.hero-compact,
.hero.hero-compact.has-photo {
    background:
        radial-gradient(circle at 88% 0%, rgba(201, 162, 39, 0.28), transparent 40%),
        var(--brand-900) !important;
    min-height: 0 !important;
}
.hero.hero-compact::after { display: none; }
.hero-compact .hero-inner { align-items: stretch !important; padding-bottom: 44px !important; }
.hero-compact .about-title,
.hero-compact .about-lead {
    text-align: left !important;
    margin-left: 0 !important;
    text-shadow: none !important;
}
.hero-compact .about-title { margin-top: 44px !important; font-size: clamp(30px, 3.4vw, 44px) !important; }
.hero-compact .about-title::after {
    content: '';
    display: block;
    width: 44px;
    height: 2px;
    margin-top: 16px;
    background: var(--gold-500);
}
.hero-compact .about-lead { max-width: 640px; opacity: 0.85; }
.hero-compact .about-jump, .hero-compact .section-subs { justify-content: flex-start !important; }
.hero-compact .about-jump a, .hero-compact .section-subs a {
    border-radius: var(--radius-sm) !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}
.hero-compact .about-jump a.active, .hero-compact .section-subs a.active,
.hero-compact .about-jump a[aria-current], .hero-compact .section-subs a[aria-current] {
    background: var(--gold-500) !important;
    border-color: var(--gold-500) !important;
    color: #1c2420 !important;
}

/* ── 협회 홈: 배너 슬라이드 없앰, 두 열 → 한 열 (옆 열은 아래에서 두 칸 나란히, 바로가기는 한 줄 전체) ── */
.home-cols .carousel { display: none !important; }
.home-col-main > .carousel + .card { border-top: 0; }
.home-cols { grid-template-columns: minmax(0, 1fr) !important; }
.home-col.side {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}
.home-col.side > .quick-links {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 14px;
    padding: 30px 28px !important;
}

/* ── 지부 사이트 (church.html): 흰 메뉴 줄 → 짙은 초록 띠 (명조 지부 이름 · 금색 밑줄 메뉴) ── */
.cs-bar {
    background:
        radial-gradient(circle at 92% 0%, rgba(201, 162, 39, 0.3), transparent 45%),
        linear-gradient(180deg, var(--brand-900), #1a4231) !important;
    box-shadow: none !important;
    border-bottom: 3px solid var(--gold-500);
}
.cs-bar-inner { min-height: 96px; align-items: flex-end !important; }
.cs-brand { align-self: center; }
.cs-brand-text b { font-family: var(--font-serif) !important; font-size: 28px !important; color: #fff !important; }
.cs-brand-text small { color: var(--gold-500) !important; letter-spacing: 0.12em; text-transform: uppercase; }
.cs-menu > a {
    color: rgba(250, 247, 240, 0.75) !important;
    background: none !important;
    border-radius: 0 !important;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}
.cs-menu > a:hover { color: #fff !important; }
.cs-menu > a.is-active { color: #fff !important; border-bottom-color: #fff; }
.cs-menu > a::after, .cs-menu > a.is-active::after { display: none !important; }

/* 지부 칸: 그림자 없이 · 명조 제목 + 금색 짧은 선 */
.chp-panel, .cs-card {
    box-shadow: none !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-lg) !important;
}
.cs-sec-head h2, .cs-sec-head h3, .cs-card-head h3, .chp-panel > h2, .chp-panel > h3 {
    font-family: var(--font-serif) !important;
    color: var(--brand-900) !important;
}
.cs-sec-head, .cs-card-head { border-bottom: 1px solid var(--line); padding-bottom: 12px; position: relative; }
.cs-sec-head::after, .cs-card-head::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 36px;
    height: 2px;
    background: var(--gold-500);
}
.cs-btn { border-radius: var(--radius-sm) !important; box-shadow: none !important; }
.cs-avatar { border-radius: var(--radius-sm) !important; }
.cs-date { border-radius: var(--radius-sm) !important; }

/* ── 운영 네트워크 · 쪽지 (.net-top) · 행사 접수 (.rt-top): 흰 머리 막대 → 짙은 초록 막대 + 금색 선 ── */
.net-top, .rt-top {
    background: var(--brand-900) !important;
    box-shadow: none !important;
    border-bottom: 3px solid var(--gold-500);
    backdrop-filter: none !important;
}
.net-brand, .net-brand span, .net-brand b, .net-brand small,
.rt-brand, .rt-brand b, .rt-brand span, .rt-brand small, .rt-brand h1 {
    color: #fff !important;
    -webkit-text-fill-color: currentColor;
    background: none !important;
}
.net-brand b, .net-brand span:last-child, .rt-brand b, .rt-brand h1 { font-family: var(--font-serif) !important; }
.net-brand small, .rt-brand small { color: var(--gold-500) !important; }
.net-home, .rt-top-right > a { color: var(--gold-500) !important; }
.rt-top-right > .btn, .rt-top-right > button { background: transparent !important; color: #fff !important; border-color: rgba(255, 255, 255, 0.5) !important; }

/* 탭 줄: 크림 바탕 + 밑줄 */
.net-tabs { background: var(--cream) !important; border-bottom: 1px solid var(--line); box-shadow: none !important; }
.net-tab, .rt-tabs > button, .rt-tabs > a {
    background: none !important;
    border-radius: 0 !important;
    color: var(--ink-muted) !important;
    border-bottom: 2px solid transparent !important;
}
.net-tab.is-active, .rt-tabs > .is-active, .rt-tabs > .active, .rt-tabs > [aria-selected="true"] {
    color: var(--brand-900) !important;
    border-bottom-color: var(--gold-500) !important;
    font-weight: 700;
}
.net-tab::after, .net-tab.is-active::after { display: none !important; }
.rt-tabs { border-bottom: 1px solid var(--line); }

/* 칸 */
.net-card, .messages-layout {
    box-shadow: none !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-lg) !important;
}

/* 쪽지 머리 판: 가운데 초록 그림 → 왼쪽 정렬 흰 지면 + 위쪽 초록 띠 */
.course-header {
    background: #fff !important;
    color: var(--ink) !important;
    border: 1px solid var(--line);
    border-top: 4px solid var(--brand-600);
    box-shadow: none !important;
    text-align: left !important;
}
.course-header::before, .course-header::after { display: none !important; }
.course-header h1, .course-header h2 { color: var(--brand-900) !important; font-family: var(--font-serif) !important; text-shadow: none !important; text-align: left !important; }
.course-header p { color: var(--ink-muted) !important; text-shadow: none !important; text-align: left !important; }

@media (max-width: 1024px) {
    .hero-head { justify-content: flex-start !important; }
    .cs-bar-inner { min-height: 0; align-items: center !important; }
}

/* 휴대폰 */
@media (max-width: 720px) {
    .hero-head { padding: 12px 0; }
    .hero-head { margin-top: 36px; }
    .hero-head .site-title { font-size: 26px; gap: 12px; }
    .hero-head .site-title .logo-badge { width: 66px; height: 66px; margin: -58px 0 -6px; border-width: 4px; }
    .home-col.side { grid-template-columns: minmax(0, 1fr); }
    .home-col.side > .quick-links { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 22px 16px !important; }
    .hero-compact .about-title { margin-top: 28px !important; }
    .home-col-main > .card { padding: 26px 0 6px; }
    .card-title { font-size: 21px; }
    .tabs-title .tab { font-size: 17px !important; }
    .tabs { gap: 16px !important; overflow-x: auto; }
}
