/**
 * Theme Name:     Uneza Child (LIS)
 * Author:         LIS / Peter (등대교육공동체)
 * Template:       uneza
 * Text Domain:    uneza-child
 * Description:    Uneza Child theme customized for 등대교육공동체 (Lighthouse International School) — 버건디 + 나눔스퀘어 Neo.
 * Theme URI:      https://fse.jegtheme.com/uneza/
 * Author URI:     https://support.jegtheme.com/
 * Version:        1.0.0
 * License:        GNU General Public License v3 or later.
 * License URI:    https://www.gnu.org/licenses/gpl-3.0.html
 * Tags:           block-patterns,block-styles,custom-background,custom-menu,editor-style,full-site-editing,template-editing
 */

/* ============================================================
   웹폰트는 functions.php 에서 로드
   - 한글 제목: NanumBarunGothic (moonspam CDN)
   - 한글 본문: Noto Sans KR (Google Fonts)
   - 영문 제목: Montserrat (Google Fonts)
   - 영문 본문: Barlow (Google Fonts)
   요구사항: 모든 두께 Regular(400) 통일
   ============================================================ */

/* ============================================================
   LIS 디자인 시스템 CSS 변수
   ============================================================ */

:root {
    --lis-burgundy: #A71836;
    --lis-burgundy-dark: #5C0F1C;
    --lis-red-accent: #A71836;
    --lis-bg: #FFFFFF;
    --lis-bg-soft: #F5F4F2;
    --lis-text: #1A1A1A;
    --lis-text-muted: #666666;
    --lis-gray-tile: #999999;
    --lis-divider: #E3E3E3;
    --lis-overlay: rgba(0, 0, 0, 0.45);

    /* 본문: Barlow + Noto Sans KR */
    --lis-font: 'Barlow', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Segoe UI', sans-serif;
    /* 제목: Montserrat + NanumBarunGothic */
    --lis-font-heading: 'Montserrat', 'NanumBarunGothic', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;

    --lis-h1: 56px;
    --lis-h2: 40px;
    --lis-body: 16px;
    --lis-meta: 13px;
    --lis-tracking-heading: -0.02em;
    --lis-tracking-uppercase: 0.14em;
}

/* ============================================================
   전역 폰트 덮어쓰기 — mindle.org 조합으로 강제 + 두께 전부 Regular(400)
   ============================================================ */

body,
.wp-site-blocks,
.editor-styles-wrapper,
input, select, textarea, button,
.wp-block-button__link,
strong, b {
    font-family: var(--lis-font) !important;
    font-weight: 400 !important;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
    font-family: var(--lis-font-heading) !important;
    font-weight: 400 !important;
    letter-spacing: var(--lis-tracking-heading);
}

/* 영문 소제목 (대문자 라벨) */
.lis-eyebrow {
    font-family: var(--lis-font-heading);
    font-size: 12px;
    font-weight: 400 !important;
    text-transform: uppercase;
    letter-spacing: var(--lis-tracking-uppercase);
    color: var(--lis-burgundy);
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ============================================================
   LIS 내비게이션 인터랙션 (전문 스타일)
   - 대메뉴: 버건디 밑줄 좌→우 슬라이드 (현재 페이지 유지)
   - 드롭다운: 슬라이드다운 + 상단 액센트 라인 + 소프트 섀도
   - 드롭다운 항목: 왼쪽 액센트 바
   ============================================================ */
@media (min-width: 1025px) {

    /* --- 드롭다운 패널 --- */
    #guten-ml9WVs.guten-nav-menu .gutenverse-menu .sub-menu {
        border-top: 3px solid #a71836 !important;
        border-radius: 0 0 8px 8px !important;
        box-shadow: 0 16px 40px rgba(15, 39, 68, .14), 0 3px 8px rgba(15, 39, 68, .08) !important;
        transform: translateY(12px);
        transition: opacity .24s cubic-bezier(.33, 1, .68, 1),
                    transform .24s cubic-bezier(.33, 1, .68, 1),
                    visibility .24s !important;
        overflow: hidden;
    }
    #guten-ml9WVs.guten-nav-menu .gutenverse-menu li.menu-item-has-children:hover > .sub-menu {
        transform: translateY(0);
    }

    /* --- 드롭다운 항목: 왼쪽 액센트 바 --- */
    #guten-ml9WVs .gutenverse-menu .sub-menu li > a {
        position: relative;
        transition: background .18s ease, color .18s ease;
    }
    #guten-ml9WVs .gutenverse-menu .sub-menu li > a::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #a71836;
        transform: scaleY(0);
        transition: transform .18s ease;
    }
    #guten-ml9WVs .gutenverse-menu .sub-menu li:hover > a::before,
    #guten-ml9WVs .gutenverse-menu .sub-menu li.current-menu-item > a::before {
        transform: scaleY(1);
    }
}

/* --- 홈 Announcement 바: 공지 한 줄 표시, 넘치면 말줄임(...) --- */
.guten-eUq2hN .profile-comment {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* --- 뉴스 카드 날짜 메타: 작고 은은하게 --- */
.guten-postblock .guten-post-meta {
    font-size: 13px;
    color: #8a9099;
    margin: 6px 0 2px 2px;
}
.guten-postblock .guten-meta-date i {
    font-size: 12px;
    margin-right: 5px;
    opacity: .75;
}

/* --- 홈 뉴스 하단 3열 카드: 제목 한 줄 + 말줄임 (긴 제목은 ...) --- */
.guten-8kiWxL .guten-postblock .guten-post-title,
.guten-8kiWxL .guten-postblock h3.guten-post-title {
    display: block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
}
.guten-8kiWxL .guten-postblock .guten-post-title a {
    display: inline-block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: bottom;
    /* 제목 폰트를 본문(Barlow + Noto Sans KR)으로 통일 — 두께도 Regular 400 */
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-weight: 400 !important;
}
/* h3 태그가 전역 heading 규칙(Montserrat/NanumBarunGothic 400)을 받는 것을 이 카드에서는 본문 폰트로 오버라이드 */
body .guten-8kiWxL .guten-postblock h3.guten-post-title {
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-weight: 400 !important;
}

/* --- 하단 3열 카드: 날짜를 사진 모서리 칩으로 --- */
.guten-8kiWxL .guten-postblock .guten-post,
.guten-rJm8ZW .guten-postblock .guten-post {
    position: relative;
}
.guten-8kiWxL .guten-postblock .guten-thumb .guten-post-meta,
.guten-rJm8ZW .guten-postblock .guten-thumb .guten-post-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    z-index: 2;
    background: #a71836;
    color: #fff !important;
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    padding: 2px 8px;
    border-radius: 0;
    line-height: 1.5;
}
.guten-8kiWxL .guten-postblock .guten-meta-date i,
.guten-rJm8ZW .guten-postblock .guten-meta-date i {
    display: none; /* 시계 아이콘 제거, 날짜만 깔끔하게 */
}

/* --- 하단 3열 카드: 제목·내용 폰트 통일 (본문과 같은 Barlow + Noto Sans KR, weight 400) --- */
.guten-8kiWxL .guten-postblock .guten-post-title,
.guten-8kiWxL .guten-postblock .guten-post-title a,
.guten-8kiWxL .guten-postblock h3.guten-post-title,
.guten-8kiWxL .guten-postblock h3.guten-post-title a {
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-weight: 400 !important;
}
/* --- 하단 3열 카드: 폰트 통일 + 3줄 클램프 + 줄간격 (통합됨) --- */
.guten-8kiWxL .guten-postblock .guten-post-excerpt p {
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-weight: 400;
    line-height: 1.85 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- 피처 카드: 본문 스타일 (통합됨) --- */
.guten-rJm8ZW .guten-postblock .guten-post-excerpt p {
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-weight: 400;
    font-size: 15px !important;
    line-height: 1.85 !important;
}

/* ============================================================
   모바일 대응 보정
   ============================================================ */
@media (max-width: 767px) {
    /* Announcement 바: 고정 높이 제거, 내용만큼만 */
    .guten-yfv4zL {
        height: auto !important;
        min-height: 0 !important;
    }
    .guten-yfv4zL > .guten-container {
        padding-top: 4px;
        padding-bottom: 4px;
    }
    /* 가로 스크롤 깨짐 방지 */
    body {
        overflow-x: hidden;
    }
}

/* --- 모바일: Announcement 바 아래 빈 공간 정리 --- */
@media (max-width: 767px) {
    /* 화살표 숨김 (스와이프로 넘길 수 있음) */
    .guten-eUq2hN .swiper-button-prev,
    .guten-eUq2hN .swiper-button-next {
        display: none !important;
    }
    /* 섹션·캐러셀 하단 여백 축소 */
    .guten-yfv4zL {
        padding-top: 10px !important;
        padding-bottom: 14px !important;
    }
    .guten-eUq2hN,
    .guten-eUq2hN .swiper-container {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    .guten-eUq2hN .guten-testimonial-item .comment-content {
        margin-bottom: 0 !important;
    }
}

/* --- 하단 3열 카드: 사진을 위쪽 정렬 → 날짜 칩과 모서리 일치 --- */
.guten-8kiWxL .guten-postblock.postblock-type-1 .guten-post {
    align-items: flex-start !important;
}

/* ============================================================
   전역 폰트: 구글 나눔고딕
   (아이콘 폰트 요소는 제외해 깨짐 방지)
   ============================================================ */
/* .lisd(디자인 핸드오프 페이지) 안쪽은 제외 — 2026-09-26. 디자인의 인라인 타이포가 그대로 적용되게 한다 */
body,
body *:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path):not(.lisd):not(.lisd *) {
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-weight: 300 !important;
}


/* --- '기독교 교육' 섹션 제목: 나눔스퀘어 Neo Light --- */
body :is(h1, h2, h3, h4, h5, h6, .wp-block-gutenverse-heading).guten-fxS0OR:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path) {
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-weight: 300 !important;
}

/* --- 기독교교육 섹션 3칸 카드 제목: 나눔스퀘어 Neo Light --- */
body .guten-ZMrZOZ :is(h1, h2, h3, h4, h5, h6):not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path) {
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-weight: 300 !important;
}

/* --- 기독교교육 섹션 3칸: 사진 크기 통일 + '자세히보기' 칩 --- */
.guten-ZMrZOZ .guten-image-box .image-box-header {
    height: 240px !important;
    aspect-ratio: auto !important;
    overflow: hidden;
    position: relative;
}
.guten-ZMrZOZ .guten-image-box .image-box-header img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}


/* --- 기독교교육 섹션 3칸 설명: Regular 400, 16px, 학교소식과 같은 줄간격 --- */
body .guten-ZMrZOZ .guten-image-box .body-description:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path) {
    font-weight: 400 !important;
    font-size: 13.5px !important;
    line-height: 1.85 !important;
}

/* --- 3칸 카드 제목 옆 '자세히보기' 안내 텍스트 --- */
.guten-ZMrZOZ .guten-image-box .body-title::after {
    content: "자세히보기";
    font-family: 'Barlow', 'Noto Sans KR', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #a71836;
    margin-left: 10px;
    vertical-align: middle;
}

/* --- 3칸 카드 제목 크기: 24 → 22 --- */
.guten-ZMrZOZ .guten-image-box .body-title {
    font-size: 22px !important;
}

/* --- 3칸 카드: 사진 아래 흰색 박스 안에 텍스트 (데모 스타일) --- */
.guten-ZMrZOZ .guten-image-box .image-box-body .body-inner {
    background: #fff !important;
    padding: 22px 24px 26px !important;
}
.guten-ZMrZOZ .guten-image-box .image-box-body .body-title {
    margin-top: 0 !important;
}

/* --- 3칸 카드: 높이 통일 (박스 하단 맞춤) --- */
.guten-ZMrZOZ .guten-column .guten-column-wrapper {
    height: 100%;
}
.guten-ZMrZOZ .guten-image-box,
.guten-ZMrZOZ .guten-image-box .inner-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.guten-ZMrZOZ .guten-image-box .image-box-header {
    flex: none;
}
.guten-ZMrZOZ .guten-image-box .image-box-body {
    flex: 1;
}
.guten-ZMrZOZ .guten-image-box .image-box-body .body-inner {
    height: 100%;
    box-sizing: border-box;
}

/* --- 피처 카드(rJm8ZW): 15px — 사용자 요청 --- */
body .guten-rJm8ZW .guten-post-excerpt p:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path) {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.85 !important;
}
/* --- 하단 3열 카드(8kiWxL): 15px (피처 카드와 통일) --- */
body .guten-8kiWxL .guten-post-excerpt p:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path) {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.85 !important;
}
body .guten-8kiWxL .guten-post-title a:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path) {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #a71836 !important;
}

/* --- 날짜 칩: 12px / 700 Bold --- */
body .guten-rJm8ZW .guten-post-meta:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path),
body .guten-8kiWxL .guten-post-meta:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path),
body .guten-rJm8ZW .guten-post-meta *:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path),
body .guten-8kiWxL .guten-post-meta *:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path) {
    font-size: 12px !important;
    font-weight: 700 !important;
    font-family: "Mada", sans-serif !important;
}

/* --- 3칸 카드 사진 왼쪽 하단 'More' 칩 (뉴스 날짜 칩과 동일 스타일) --- */
.guten-ZMrZOZ .guten-image-box .image-box-header::before {
    content: "More View";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    background: #a71836;
    color: #fff;
    font-family: "Mada", sans-serif !important;
    font-size: 11.5px;
    font-weight: 400;
    padding: 2px 8px;
    line-height: 1.5;
}

/* --- 학교소식 배지: 더 크게 + 두껍게 --- */
body .guten-rJm8ZW .guten-post-category a:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path) {
    font-size: 15px !important;
    font-weight: 400 !important;
    font-family: "Mada", sans-serif !important;
}

/* --- See All News / See All Events 버튼: 14px 통일 (Read More 와 동일) --- */
body .guten-N4WAU7 .guten-button:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path),
body .guten-N4WAU7 .guten-button span:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path),
body .guten-3i200t .guten-button:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path),
body .guten-3i200t .guten-button span:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path) {
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* --- CTA 본문 텍스트 --- */
body .guten-9ClTiz:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path),
body .guten-9ClTiz *:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path) {
    font-size: 16.5px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
}

/* --- CTA 버튼: 굵게 --- */
body .guten-qj7DN3 .guten-button:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path),
body .guten-qj7DN3 .guten-button span:not(i):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not([class^="gtn"]):not([class*=" gtn"]):not(.swiper-button-next):not(.swiper-button-prev):not(svg):not(path) {
    font-weight: 400 !important;
}
/* CTA 버튼 화살표 아이콘 숨김 */
.guten-qj7DN3 .guten-button i,
.guten-qj7DN3 .guten-button svg,
.guten-qj7DN3 .guten-button .gutenverse-icon-svg {
    display: none !important;
}

/* [정리됨 2026-09-23] 옛 Upcoming Events 카드 관련 CSS 200+ 줄 제거
   - 지금은 [lis_events_grid] 쇼트코드가 .lis-event / .lis-events-grid 클래스로 렌더링
   - 제거한 옛 클래스들: aprcne, 4tLiz9/95Azpt/P8aMHi/wt53Zo/e5SecT/e6SecT (섹션),
     6X7rOp/1NC2et/KvhOKF/Qf58sE/e5ImGe/e6ImGe (이미지=날짜 타일),
     s9tnvD/Qu3Fxs/kAGQll/e5CoLm/e6CoLm (카드 컨테이너),
     mOQbN4/KwzPj9 (Read Details 버튼), fplNvE (숨김 섹션),
     lis-ev-* (옛 슬라이더 JS/CSS), 5toBbv/AvA7Es (h5), 대상·장소 숨김 등 */

/* --- Christian Education 섹션 제목: 300 Light --- */
body h2.guten-CnlsHw,
body h2.guten-CnlsHw * {
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-weight: 300 !important;
}

/* --- Upcoming Events 제목 + School Life 제목: 34px / 400 로 통일 --- */
body h2.guten-O13kOZ,
body h2.guten-O13kOZ *,
body h2.guten-iKwF68,
body h2.guten-iKwF68 * {
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-size: 34px !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
}

/* --- School Life 섹션(bNhNV0) 패딩 + 배경(Upcoming Events 처럼 그레이) --- */
section.guten-bNhNV0 {
    padding-top: 60px !important;
    padding-bottom: 70px !important;
    background-color: var(--wp--preset--color--theme-1) !important;
}
/* 제목 컬럼(EfnAKi) 아래 여백 제거 */
[data-id="EfnAKi"] {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
/* Postgraduate 카드 그리드 상단 마진 축소 — 두 셀렉터로 모두 강제 */
[data-id="6tAG1j"],
section.guten-6tAG1j,
.guten-element.guten-6tAG1j {
    margin-top: 10px !important;
    padding-top: 0 !important;
}
/* Upcoming Events 섹션 배경: Christian Education 처럼 연한 그레이 + 간격 축소 */
section.guten-AD6UmN {
    padding-top: 60px !important;
    padding-bottom: 70px !important;
    background-color: var(--wp--preset--color--theme-1) !important;
    margin-top: 0 !important;
}
/* 입학박스(71IMsH) 아래 흰색 공간 제거 + 그 사이 컨테이너(l5f79D) 여백 제거 */
section.guten-71IMsH {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
[data-id="l5f79D"],
section.guten-l5f79D {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* --- 푸터: 빈 메뉴 항목 숨김 --- */
.guten-icon-list-item:has(.list-text:empty) {
    display: none !important;
}

/* --- 푸터 하단 두 문구: 흰색 + 굵기 400 (통합됨) --- */
body .guten-LSPRGA,
body .guten-LSPRGA *,
body .guten-A9fj9z,
body .guten-A9fj9z * {
    color: #fff !important;
    font-weight: 400 !important;
}

/* --- 상단 메뉴바 대메뉴: Noto Sans KR 18px / 500 Medium --- */
body #guten-ml9WVs .gutenverse-menu > li > a,
body #guten-ml9WVs .gutenverse-menu-wrapper > ul > li > a {
    font-family: 'Noto Sans KR', 'Barlow', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
/* 드롭다운 서브메뉴: Noto Sans KR 14px / 500 Medium */
body #guten-ml9WVs .gutenverse-menu .sub-menu li a,
body #guten-ml9WVs .gutenverse-menu-wrapper .gutenverse-menu .sub-menu li a {
    font-family: 'Noto Sans KR', 'Barlow', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* 대메뉴 옆 dropdown 화살표 아이콘 완전 숨김 (Gutenverse가 JS/CSS로 추가한 것) */
body #guten-ml9WVs .gutenverse-menu > li.menu-item-has-children > a > i,
body #guten-ml9WVs .gutenverse-menu > li.menu-item-has-children > a > svg,
body #guten-ml9WVs .gutenverse-menu > li.menu-item-has-children > a > .gutenverse-icon-svg,
body #guten-ml9WVs .gutenverse-menu > li.menu-item-has-children > a::after,
body #guten-ml9WVs .gutenverse-menu-wrapper > ul > li.menu-item-has-children > a > i,
body #guten-ml9WVs .gutenverse-menu-wrapper > ul > li.menu-item-has-children > a::after {
    display: none !important;
    content: none !important;
}

/* --- 메인 히어로: 유튜브 배경 영상 --- */
section.guten-MJKvJA {
    position: relative;
    overflow: hidden;
}
.lis-hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.lis-hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    /* 16:9 영상을 화면에 꽉 차게 (가로·세로 모두 커버) */
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: 0;
}
/* 영상 위 어둡게 + 콘텐츠는 영상보다 위로 */
section.guten-MJKvJA > .guten-background-overlay {
    z-index: 1;
}
section.guten-MJKvJA > .guten-container {
    position: relative;
    z-index: 2;
}

/* --- 히어로: 배경 사진 숨김 (영상만 노출, 모바일은 사진 유지) --- */
@media (min-width: 768px) {
    section.guten-MJKvJA {
        background-image: none !important;
        background-color: #000 !important;   /* 영상 로딩 중 바탕 */
    }
}
.lis-hero-video {
    background: #000;
}

/* --- 헤더 상단 유틸리티 바: 배경 없이 버튼만 --- */
.guten-iHQcj3,
section.guten-iHQcj3 {
    background-color: transparent !important;
}


/* --- 상단 유틸 버튼 2개 (로그인 · 입학문의): 사이 여백 없이 이어 붙이기 --- */
.guten-p6xKSh,
.guten-btnAdm {
    margin: 0 !important;
}
.guten-btnAdm .guten-button {
    border-left: 1px solid rgba(255, 255, 255, .25) !important;
}

/* --- 상단 유틸 버튼: 12px / 700 Bold --- */
body .guten-p6xKSh .guten-button,
body .guten-p6xKSh .guten-button span,
body .guten-btnAdm .guten-button,
body .guten-btnAdm .guten-button span {
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* --- 헤더 뒤까지 히어로 영상이 올라오도록 (상단 흰/회색 띠 제거) --- */
@media (min-width: 768px) {
    .guten-XLnIYu {
        margin-bottom: -136px !important;
    }
    section.guten-MJKvJA {
        padding-top: 460px !important;
    }
}

/* ============================================================
   LIS 학사일정 카드 그리드 ([lis_events_grid] 쇼트코드용)
   - 데스크탑: 3열 × 2행 그리드
   - 첫 카드(가장 가까운 일정): 버건디 타일
   - 나머지: 그레이 타일 + 회색 제목
   ============================================================ */

.lis-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    width: 100%;
    padding-top: 10px;
}
@media (max-width: 767px) {
    .lis-events-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.lis-event {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 0;
    border-bottom: 0;
    background: none;
    margin: 0;
    text-decoration: none !important;
    color: inherit;
    transition: color .18s ease;
}

.lis-event__tile,
.lis-event--past .lis-event__tile {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #BFBFBF !important;   /* 모든 타일 = 연한 회색 통일 */
    color: #fff;
    font-family: var(--lis-font);
    line-height: 1.1;
    text-align: center;
    transition: background .18s ease;
}

.lis-event__ym,
.lis-event__day {
    font-family: 'Mada', sans-serif !important;
}
.lis-event__ym {
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: .02em;
    opacity: .95;
    line-height: 1 !important;
}
.lis-event__day {
    margin-top: 0 !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    -webkit-text-stroke: 0.5px currentColor;
}

.lis-event__body {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 2px;
    display: block;
}
.lis-event__title,
.lis-event__meta {
    display: block !important;
    width: 100%;
}
.lis-event__title,
.lis-event--past .lis-event__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #555 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color .18s ease;
}
.lis-event__meta {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.85;
    color: #666;
    margin: 0;
    transition: color .18s ease;
}

/* --- Hover: 카드 전체 텍스트를 버건디로 --- */
.lis-event:hover .lis-event__title {
    color: var(--lis-burgundy) !important;
}
.lis-event:hover .lis-event__meta {
    color: var(--lis-burgundy) !important;
}
.lis-event:hover .lis-event__tile {
    background: var(--lis-burgundy) !important;
}

/* --- 피처 카드 Read More 링크 + 섹션 상단 See All 버튼: 14px 통일 --- */
.guten-rJm8ZW .guten-postblock .guten-meta-readmore .guten-readmore,
.guten-rJm8ZW .guten-postblock .guten-meta-readmore .guten-readmore a,
.guten-3i200t.guten-button-wrapper .guten-button,
.guten-3i200t.guten-button-wrapper .guten-button span,
.guten-N4WAU7.guten-button-wrapper .guten-button,
.guten-N4WAU7.guten-button-wrapper .guten-button span {
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em;
}
.guten-rJm8ZW .guten-postblock .guten-meta-readmore .guten-readmore i,
.guten-rJm8ZW .guten-postblock .guten-meta-readmore .guten-readmore svg,
.guten-3i200t.guten-button-wrapper .guten-button i,
.guten-N4WAU7.guten-button-wrapper .guten-button i {
    font-size: 13px !important;
    width: 13px !important;
    height: 13px !important;
}

/* --- Announcement 바 텍스트 스타일은 functions.php 의 render_block 필터에서
   인라인 style 로 직접 지정 (여기에 !important 두면 인라인을 이겨버려서 관리자가
   변경한 값이 반영 안 됨). Fallback color 만 여기서 유지. --- */
.guten-eUq2hN .profile-comment,
.guten-eUq2hN .profile-comment a {
    color: #fff;
}

/* --- Announcement 바 링크: 텍스트 영역 전체 클릭 가능, 호버 시 밑줄 없음 --- */
.guten-eUq2hN .lis-notice-link,
.guten-eUq2hN .lis-notice-link:hover,
.guten-eUq2hN .lis-notice-link:focus,
.guten-eUq2hN .lis-notice-link:active {
    cursor: pointer;
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}
.guten-eUq2hN .lis-notice-link:hover {
    opacity: 0.85;
}

/* --- 공지 상세 페이지: 본문 비어있을 때 자동 삽입되는 안내 카드 --- */
.lis-notice-card {
    background: #F5F4F2;
    border-left: 4px solid #a71836;
    padding: 32px 34px;
    margin: 20px 0 32px;
    border-radius: 2px;
}
.lis-notice-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.lis-notice-card__badge {
    display: inline-block;
    background: #a71836;
    color: #fff;
    font-family: var(--lis-font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 3px 10px;
    border-radius: 2px;
}
.lis-notice-card__date {
    font-size: 13px;
    color: #777;
}
.lis-notice-card__title {
    font-family: var(--lis-font-heading) !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    color: #1A1A1A;
    line-height: 1.5;
    margin: 0 0 16px !important;
    letter-spacing: -0.01em;
}
.lis-notice-card__body {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
    margin: 0;
}
.lis-notice-cta {
    display: inline-block;
    background: #a71836;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 2px;
    transition: background .18s ease;
}
.lis-notice-cta:hover {
    background: #8b1425;
}


/* ============================================================
   서브 페이지 히어로 (body:not(.home)) — 영상 X, 사진 배경 + 어두운 오버레이, 더 축소
   ============================================================ */
body:not(.home) section.guten-MJKvJA {
    background-color: #5C0F1C !important;
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                      url('/wp-content/uploads/2026/09/03-building-red.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding-top: 226px !important;   /* 90 + 헤더 겹침 136 */
    padding-bottom: 40px !important;
    min-height: 0 !important;
    border-bottom: 3px solid #a71836 !important;
}
/* 팝업 트리거(재생 버튼 등) 감춤 */
body:not(.home) section.guten-MJKvJA .guten-popup-builder,
body:not(.home) section.guten-MJKvJA [data-trigger] {
    display: none !important;
}
/* 서브 페이지 헤더(메뉴 바): 버건디 단색 — 뒤에 히어로 사진이 비치지 않게 */
body:not(.home) section.guten-XLnIYu,
body:not(.home) .guten-XLnIYu {
    background-color: #a71836 !important;
    background-image: none !important;
}
body:not(.home) section.guten-XLnIYu > .guten-background-overlay {
    display: none !important;
}

/* 서브 페이지도 메인과 동일하게 헤더가 히어로 위로 겹치게 둔다.
   (헤더 배경은 rgba(0,0,0,0.4) 라서 뒤에 히어로 사진이 깔려야 메인처럼 어둡게 보인다)
   겹침 값: 데스크탑·태블릿 -136px / 모바일 -90px → 히어로 padding-top 으로 보정 */
/* 서브 페이지 히어로 안 타이틀(h1/h2/h3) 스타일 통일 */
body:not(.home) section.guten-MJKvJA h1,
body:not(.home) section.guten-MJKvJA h2,
body:not(.home) section.guten-MJKvJA h3,
body:not(.home) section.guten-MJKvJA h1 *,
body:not(.home) section.guten-MJKvJA h2 *,
body:not(.home) section.guten-MJKvJA h3 * {
    color: #fff !important;
    font-family: var(--lis-font-heading) !important;
    font-size: 34px !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    text-align: left;
    margin: 0 !important;
}
/* 히어로 안 본문(부제·데모 텍스트) 톤 다운 */
body:not(.home) section.guten-MJKvJA p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 13px !important;
    margin-top: 8px !important;
}

@media (max-width: 767px) {
    body:not(.home) section.guten-MJKvJA {
        padding-top: 160px !important;   /* 70 + 헤더 겹침 90 */
        padding-bottom: 30px !important;
    }
    body:not(.home) section.guten-MJKvJA h1,
    body:not(.home) section.guten-MJKvJA h2,
    body:not(.home) section.guten-MJKvJA h3 {
        font-size: 26px !important;
    }
}


/* ============================================================
   홈: 기존 Academics 섹션(bNhNV0) → "School Life" 로 사용
   - "🎓 Undergraduate Programs" 서브섹션(vnQnr1) 숨김
   - "📚 Postgraduate & Professional Programs" 서브 타이틀(h3.guten-Nf1Lem) 숨김
   - 아래 카드 목록은 유지되어 School Life 제목 바로 아래에 표시됨
   ============================================================ */
[data-id="vnQnr1"] { display: none !important; }
h3.guten-Nf1Lem { display: none !important; }

/* --- 상단 메뉴바 로고 (LIS 헤더 로고 v3 Hahmlet 1280×400, 2026-09-29) — 표시 280×88 (비율 유지) --- */
.guten-2Peb33 {
    width: 280px !important;
    max-width: 280px !important;
}
.guten-2Peb33 img {
    width: 280px !important;
    max-width: 280px !important;
    height: auto !important;
}
/* 푸터 "Subscribe Our Newsletter" 섹션 숨김 */
[data-id="2oYI7i"] { display: none !important; }
/* 푸터 Contact Info 컬럼: 내용 크기만큼만 (Social Media 같은 줄에 두기 위해 grow 안 함) */
.guten-column.guten-lurgJq {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: none !important;
    text-align: left !important;
}
.guten-column.guten-lurgJq .list-text {
    white-space: nowrap !important;
    text-align: left !important;
}
.guten-column.guten-lurgJq .guten-icon-list,
.guten-column.guten-lurgJq .list-wrapper {
    text-align: left !important;
    justify-content: flex-start !important;
}
/* 푸터 타이틀 (하나님의 온전한 사람으로...) 완전 숨김 */
body h4.guten-2xUwQw {
    display: none !important;
}
/* icon-list wrapper 를 CSS Grid 로: 주소는 두 컬럼 걸치고, 전화·이메일은 각 컬럼 */
.guten-column.guten-lurgJq .list-wrapper {
    display: grid !important;
    grid-template-columns: max-content max-content !important;
    grid-auto-flow: row !important;
    gap: 4px 5px !important;
    align-items: center !important;
    justify-content: start !important;
    flex-direction: initial !important;
}
/* 주소(첫 아이템)는 두 컬럼 걸치기 (Row 1) */
.guten-column.guten-lurgJq .guten-icon-list-item.guten-9TQZEu {
    grid-column: 1 / -1 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
}
/* 전화 = col 1, 팩스 = col 2 (Row 2) */
.guten-column.guten-lurgJq .guten-icon-list-item.guten-cB9XB4,
.guten-column.guten-lurgJq .guten-icon-list-item.guten-liEmai {
    margin: 0 !important;
    padding-bottom: 0 !important;
}
/* 이메일은 두 컬럼 걸치기 (Row 3) */
.guten-column.guten-lurgJq .guten-icon-list-item.guten-liEml2 {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
}
.guten-column.guten-lurgJq .guten-icon-list-item > a {
    margin: 0 !important;
}
/* Social Media 컬럼(제목 + 아이콘) 전체 삭제 */
.guten-column.guten-Sv8bj5 {
    display: none !important;
}
/* 푸터 상단 섹션(KZ2eip) 아래 라인 위 여백 30px + KZ2eip 하단 margin 축소 (메뉴와 간격 줄임) */
section.guten-KZ2eip {
    padding-bottom: 30px !important;
}
.guten-element.guten-KZ2eip {
    margin-bottom: 20px !important;
}
/* 메뉴 컬럼 섹션(TtWFsf) 하단 margin 축소 */
.guten-element.guten-TtWFsf {
    margin-bottom: 0 !important;
}
/* 푸터 최상단 섹션(fpvsoM) 위 여백 30px */
section.guten-fpvsoM {
    padding-top: 30px !important;
}
/* 푸터 하단 Copyright 섹션(RflGUG) 위 큰 여백(100px) 축소 → 메뉴와 하단 사이 간격 줄임 */
[data-id="RflGUG"] {
    margin-top: 30px !important;
}
.guten-element.guten-RflGUG {
    margin-top: 30px !important;
}
/* 푸터 컬럼 감싸는 컨테이너: 강제 nowrap 으로 줄바꿈 방지 */
section.guten-KZ2eip > .guten-container,
section.guten-fpvsoM > .guten-container {
    flex-wrap: nowrap !important;
}
/* 푸터 컬럼들 상단 정렬 (Contact Info / Social Media 를 로고 상단선에 맞춤) */
.guten-column.guten-sqTbP4,
.guten-column.guten-lurgJq,
.guten-column.guten-Sv8bj5 {
    align-self: flex-start !important;
}
.guten-column.guten-sqTbP4 > .guten-column-wrapper,
.guten-column.guten-lurgJq > .guten-column-wrapper,
.guten-column.guten-Sv8bj5 > .guten-column-wrapper {
    align-content: flex-start !important;
    justify-content: flex-start !important;
}

/* --- 푸터 로고: LIS landscape 로고 (1280×400) — 최대 크게 320×100 --- */
.guten-4Ej2Jf,
.guten-4Ej2Jf .guten-image-wrapper,
.guten-4Ej2Jf img {
    width: 320px !important;
    height: 100px !important;
    max-width: 320px !important;
    max-height: 100px !important;
    object-fit: contain !important;
    object-position: left center !important;
}
.guten-column.guten-sqTbP4 {
    flex: 0 0 320px !important;
    width: 320px !important;
    max-width: 320px !important;
    min-width: 320px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.guten-column.guten-sqTbP4 > .guten-column-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}
/* Contact Info 컬럼 왼쪽 10px 여백 + 내용 세로 중앙 정렬 + 5px 위로 */
.guten-column.guten-lurgJq {
    margin-left: 25px !important;
    padding-left: 0 !important;
    align-self: center !important;
    margin-top: 0 !important;
}
.guten-column.guten-lurgJq > .guten-column-wrapper {
    padding-left: 0 !important;
    margin-left: 0 !important;
    justify-content: center !important;
    align-content: center !important;
}

/* Postgraduate 하단 "See All Programs" 버튼 숨김 */
.guten-gQIq8t { display: none !important; }
/* FAQ 데모 섹션 (Answers That Keep You Moving Forward) 숨김 */
[data-id="YQWE7u"] { display: none !important; }
/* School Life 카드 아이콘/텍스트 색상을 그레이로 (Upcoming Events 그레이 카드처럼) */
[data-id="6DP0d9"] .guten-icon-box .title,
[data-id="6DP0d9"] .guten-icon-box .title * {
    color: #555 !important;
}
[data-id="6DP0d9"] .guten-icon-box .icon i,
[data-id="6DP0d9"] .guten-icon-box .icon svg {
    color: #999 !important;
    fill: #999 !important;
}

/* --- School Life 카드: 아이콘을 왼쪽 회색 정사각형 안에 미니멀하게 --- */
/* icon-box-wrapper 안 flex 순서 재배치: 헤더(아이콘)를 먼저, body(제목)를 다음 */
[data-id="6DP0d9"] .guten-icon-box .guten-icon-box-wrapper {
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 12px;
}
[data-id="6DP0d9"] .guten-icon-box .icon-box.icon-box-header {
    order: 0 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}
[data-id="6DP0d9"] .guten-icon-box .icon-box.icon-box-body {
    order: 1 !important;
    flex: 1 1 auto !important;
    text-align: left !important;
}
[data-id="6DP0d9"] .guten-icon-box .icon-box.icon-box-body a {
    text-align: left !important;
}
[data-id="6DP0d9"] .guten-icon-box .icon-box-header .icon {
    width: 30px !important;
    height: 30px !important;
    background: #666 !important;  /* 회색 정사각형 */
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 2px !important;
    padding: 0 !important;
    margin: 0 !important;
}
[data-id="6DP0d9"] .guten-icon-box .icon-box-header .icon i {
    font-size: 13px !important;
    color: #fff !important;
    line-height: 1 !important;
}
/* Hover 시 아이콘 배경 버건디로 */
[data-id="6DP0d9"] .guten-icon-box:hover .icon-box-header .icon {
    background: var(--lis-burgundy) !important;
}

/* --- School Life 카드 8개: 4열 × 2행 균등 정렬, 박스 높이 고정, hover 언더라인 --- */
/* Gutenverse가 각 icon-box에 개별 width:23% !important 을 지정하기 때문에,
   전역 selector 로도 !important 로 덮어써야 함 (모든 :nth-child 대상) */
[data-id="6DP0d9"] > .guten-element.guten-icon-box {
    width: 25% !important;
    max-width: 25% !important;
    flex: 0 0 25% !important;
    min-width: 0 !important;
    min-height: 90px !important;
    display: flex !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}
[data-id="6DP0d9"] > .guten-icon-box > .guten-icon-box-wrapper {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    border-bottom: 1px solid #E3E3E3 !important;
    padding: 20px 15px !important;
    box-sizing: border-box !important;
    transition: border-bottom-color .2s ease;
    overflow: hidden;
}
/* 아래줄 4개(5~8번째 div)는 밑줄 없음 — nth-of-type 로 icon-box만 카운트 */
[data-id="6DP0d9"] > div.guten-icon-box:nth-of-type(n+5) > .guten-icon-box-wrapper {
    border-bottom: 0 !important;
}
/* Hover: 위줄만 밑줄 버건디로 */
[data-id="6DP0d9"] > div.guten-icon-box:hover > .guten-icon-box-wrapper {
    border-bottom-color: var(--lis-burgundy) !important;
}
[data-id="6DP0d9"] > div.guten-icon-box:nth-of-type(n+5):hover > .guten-icon-box-wrapper {
    border-bottom: 0 !important;
}
/* 제목 2줄 클램프 */
[data-id="6DP0d9"] .guten-icon-box h2.title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}
/* 모바일: 2열로 축소 */
@media (max-width: 767px) {
    [data-id="6DP0d9"] > .guten-element.guten-icon-box {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}


/* ============================================================
   홈: Upcoming Events 아래 사진첩 (4장 카드) — Our School Life
   ============================================================ */
.lis-gallery-section {
    padding: 70px 20px;
    background: #fff;
}
.lis-gallery-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.lis-gallery-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 34px;
}
.lis-gallery-title {
    font-family: 'Barlow', 'Noto Sans KR', sans-serif !important;
    font-size: 34px !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em;
    color: #1A1A1A;
    margin: 0 !important;
    line-height: 1.2;
}
.lis-gallery-dot { color: var(--lis-burgundy); }
.lis-gallery-all {
    font-family: 'Barlow', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: var(--lis-burgundy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lis-gallery-all:hover { color: var(--lis-burgundy-dark); }

.lis-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.lis-gallery-card {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform .25s ease;
}
.lis-gallery-card:hover { transform: translateY(-4px); }
.lis-gallery-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #F5F4F2;
    margin-bottom: 18px;
    transition: filter .25s ease;
}
.lis-gallery-card:hover .lis-gallery-card__img {
    filter: brightness(0.92);
}
.lis-gallery-card__body { display: block; }
.lis-gallery-card__title {
    display: block;
    font-family: var(--lis-font-heading) !important;
    font-size: 20px;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0 0 6px 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
}
.lis-gallery-card__meta {
    display: block;
    font-family: 'Barlow', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .lis-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
    .lis-gallery-grid { grid-template-columns: 1fr; }
    .lis-gallery-title { font-size: 26px !important; }
}

/* ============================================================
 * LIS 게시판 ([lis_board] 쇼트코드)
 * ============================================================ */
.lis-board {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0 60px;
    font-family: 'Barlow', 'Noto Sans KR', sans-serif;
}
.lis-board-empty {
    text-align: center;
    color: #999999;
    padding: 60px 20px;
    font-size: 15px;
}

/* --- list 형 (공지사항·소식지·언론보도·모집요강·후원현황·가정통신문) --- */
.lis-board__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 2px solid #1A1A1A;
}
.lis-board__row {
    display: grid;
    grid-template-columns: 70px 1fr 110px;
    align-items: center;
    gap: 12px;
    padding: 18px 8px;
    border-bottom: 1px solid #E3E3E3;
}
.lis-board__row:hover { background: #F5F4F2; }
.lis-board__num {
    text-align: center;
    font-size: 14px;
    color: #999999;
    font-family: 'Mada', sans-serif;
    font-weight: 600;
}
.lis-board__title {
    font-size: 16px;
    font-weight: 500;
    color: #1A1A1A;
    text-decoration: none;
    line-height: 1.5;
}
.lis-board__title:hover { color: #a71836; text-decoration: none; }
.lis-board__date {
    text-align: right;
    font-size: 13px;
    color: #8a9099;
    font-family: 'Mada', sans-serif;
}

/* --- card 형 (학교소식) --- */
.lis-board__cards { display: grid; gap: 22px; }
.lis-board__card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 22px;
    background: #fff;
    border: 1px solid #E3E3E3;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}
.lis-board__card:hover {
    border-color: #a71836;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    text-decoration: none;
}
.lis-board__card-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: #F5F4F2;
}
.lis-board__card-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.lis-board__card-title { font-size: 19px; font-weight: 700; color: #1A1A1A; line-height: 1.4; }
.lis-board__card:hover .lis-board__card-title { color: #a71836; }
.lis-board__card-excerpt { font-size: 14px; color: #666; line-height: 1.7; }
.lis-board__card-date { font-size: 13px; color: #8a9099; font-family: 'Mada', sans-serif; }

/* --- photo 형 (갤러리·영상) --- */
.lis-board__photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.lis-board__photo { display: block; text-decoration: none; }
.lis-board__photo-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: #F5F4F2;
    transition: opacity .2s;
}
.lis-board__photo:hover .lis-board__photo-img { opacity: .82; }
.lis-board__photo-title {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.45;
}
.lis-board__photo:hover .lis-board__photo-title { color: #a71836; }
.lis-board__photo-date {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #8a9099;
    font-family: 'Mada', sans-serif;
}

/* --- 페이지네이션 --- */
.lis-board__pager {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 42px;
}
.lis-board__page {
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    padding: 0 8px;
    border: 1px solid #E3E3E3;
    font-size: 14px;
    font-family: 'Mada', sans-serif;
    color: #1A1A1A;
    text-decoration: none;
}
.lis-board__page:hover { border-color: #a71836; color: #a71836; text-decoration: none; }
.lis-board__page.is-current {
    background: #a71836;
    border-color: #a71836;
    color: #fff;
}

@media (max-width: 1024px) {
    .lis-board__photos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .lis-board { padding: 6px 16px 44px; }
    .lis-board__row { grid-template-columns: 1fr 90px; gap: 8px; padding: 15px 4px; }
    .lis-board__num { display: none; }
    .lis-board__title { font-size: 15px; }
    .lis-board__card { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
    .lis-board__photos { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
    .lis-board__photos { grid-template-columns: 1fr; }
}

/* ============================================================
 * 대메뉴 "등대가족" 강조 (독수리 Eagle Page 대응)
 * ============================================================ */
body #guten-ml9WVs .gutenverse-menu > li.lis-menu-family > a,
body #guten-ml9WVs .gutenverse-menu-wrapper > ul > li.lis-menu-family > a {
    color: #a71836 !important;
}
/* 등대가족 앞 점(●) 표시는 2026-09-26 제거 */
body #guten-ml9WVs .gutenverse-menu > li.lis-menu-family:hover > a,
body #guten-ml9WVs .gutenverse-menu-wrapper > ul > li.lis-menu-family:hover > a {
    color: #5C0F1C !important;
}

/* ============================================================
 * LIS 서술형 서브페이지 공통 패턴 (.lis-page)
 * 인사말 · 교육정신 · 우리의 정체성 등 글 중심 페이지에 재사용
 * ============================================================ */
.lis-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px 20px;
    font-family: 'Barlow', 'Noto Sans KR', sans-serif;
    color: #1A1A1A;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: keep-all;
}
.lis-page > *:first-child { margin-top: 0; }

/* 리드 — 히어로 아래 첫 문단 */
.lis-page__lead {
    font-size: 21px;
    line-height: 1.75;
    font-weight: 400;
    color: #333;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

/* 섹션 제목 */
.lis-page h2 {
    font-family: 'Hahmlet', 'Noto Sans KR', serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.4;
    color: #1A1A1A;
    margin: 62px 0 20px;
    padding-left: 16px;
    border-left: 4px solid #a71836;
    letter-spacing: -0.02em;
}
.lis-page h3 {
    font-family: 'Hahmlet', 'Noto Sans KR', serif;
    font-size: 19px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 32px 0 10px;
}
.lis-page p {
    font-size: 16.5px;
    line-height: 1.95;
    color: #3a3a3a;
    margin: 0 0 16px;
}

/* 강조 인용 — 표어·성경구절 */
.lis-page__quote {
    margin: 34px 0;
    padding: 30px 32px;
    background: #F5F4F2;
    border-left: 4px solid #a71836;
}
.lis-page__quote p {
    margin: 0;
    font-family: 'Hahmlet', 'Noto Sans KR', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.7;
    color: #5C0F1C;
    letter-spacing: -0.02em;
}
.lis-page__quote cite,
.lis-page__quote .lis-page__cite {
    display: block;
    margin-top: 12px;
    font-family: 'Barlow', 'Noto Sans KR', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    font-style: normal;
    color: #8a9099;
}

/* 이미지 */
.lis-page__figure { margin: 40px 0; }
.lis-page__figure img {
    display: block;
    width: 100%;
    height: auto;
}
.lis-page__figure figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: #8a9099;
    text-align: left;
}

/* 카드 묶음 */
.lis-page__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 30px 0 10px;
}
.lis-page__card {
    padding: 26px 22px;
    background: #fff;
    border: 1px solid #E3E3E3;
    border-top: 3px solid #a71836;
}
.lis-page__card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}
.lis-page__card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.8;
    color: #555;
}

/* 서명 */
.lis-page__sign {
    margin: 52px 0 0;
    padding-top: 26px;
    border-top: 1px solid #E3E3E3;
    text-align: right;
}
.lis-page__sign p {
    margin: 0;
    font-family: 'Hahmlet', 'Noto Sans KR', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
}

/* 하단 버튼 */
.lis-page__cta {
    margin: 54px 0 10px;
    padding-top: 40px;
    border-top: 1px solid #E3E3E3;
}
/* 버튼은 문단 안에 들어오므로 문단을 flex 컨테이너로 삼는다.
   (그룹을 flex 로 두면 문단이 flex 자식이 되어 min-width:auto 때문에
    모바일에서 가로 넘침이 생긴다) */
.lis-page__cta p {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 0;
    min-width: 0;
}
.lis-page__btn {
    display: inline-block;
    padding: 14px 30px;
    background: #a71836;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid #a71836;
    transition: background .2s, color .2s;
}
.lis-page__btn:hover { background: #5C0F1C; border-color: #5C0F1C; }
.lis-page__btn--ghost {
    background: transparent;
    color: #a71836 !important;
}
.lis-page__btn--ghost:hover { background: #a71836; color: #fff !important; }

@media (max-width: 768px) {
    .lis-page { padding: 0 18px 16px; }
    .lis-page__lead { font-size: 18px; line-height: 1.7; }
    .lis-page h2 { font-size: 22px; margin: 46px 0 16px; padding-left: 13px; }
    .lis-page h3 { font-size: 17px; }
    .lis-page p { font-size: 15.5px; line-height: 1.85; }
    .lis-page__quote { padding: 24px 22px; }
    .lis-page__quote p { font-size: 17px; }
    .lis-page__cards { grid-template-columns: 1fr; gap: 14px; }
    .lis-page__figure { margin: 32px 0; }
    .lis-page__cta { margin-top: 42px; padding-top: 32px; }
    .lis-page__cta p { flex-direction: column; gap: 10px; }
    .lis-page__btn { display: block; width: 100%; text-align: center; padding: 15px 20px; }
}

/* ============================================================
 * 푸터 모바일 반응형 — 데스크탑 고정폭 해제
 * 로고 컬럼 320px min-width 와 주소 nowrap 이 모바일에서도 걸려
 * 문서 전체가 가로로 넘치던 문제 해결
 * ============================================================ */
@media (max-width: 768px) {
    /* 로고 컬럼: 고정폭 해제 */
    .guten-column.guten-sqTbP4 {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .guten-4Ej2Jf,
    .guten-4Ej2Jf .guten-image-wrapper,
    .guten-4Ej2Jf img {
        width: 100% !important;
        max-width: 260px !important;
        height: auto !important;
        max-height: none !important;
    }

    /* Contact Info 컬럼: 한 줄씩 쌓기 */
    .guten-column.guten-lurgJq {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-top: 18px !important;
    }
    .guten-column.guten-lurgJq .list-wrapper {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px 0 !important;
    }
    .guten-column.guten-lurgJq .guten-icon-list-item.guten-9TQZEu,
    .guten-column.guten-lurgJq .guten-icon-list-item.guten-liEml2,
    .guten-column.guten-lurgJq .guten-icon-list-item.guten-cB9XB4,
    .guten-column.guten-lurgJq .guten-icon-list-item.guten-liEmai {
        grid-column: 1 / -1 !important;
    }
    /* 주소·전화번호 줄바꿈 허용 */
    .guten-column.guten-lurgJq .list-text {
        white-space: normal !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }

    /* 푸터 컨테이너 좌우 여백 확보 */
    section.guten-fpvsoM > .guten-container,
    section.guten-KZ2eip > .guten-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}




/* ============================================================
 * 인사말 페이지 (디자인: 인사말.dc.html "2a 사이트 적용안")
 * 3단 그리드 — 번호+소제목 | 본문 | 말씀 칼럼
 * oklch() 원본 색상을 sRGB hex 로 변환 적용
 *
 * 주의: WordPress 블록 레이아웃이 자식 요소에
 *   - is-layout-flow      → margin-block-start 자동 부여
 *   - is-layout-constrained → margin-left/right: auto !important
 * 를 강제하므로, 마진은 모두 0으로 리셋하고 간격은 gap 으로만 준다.
 * ============================================================ */
.lis-gr {
    --gr-accent: #9d113b;
    --gr-ink: #1f1919;
    --gr-body: #403938;
    --gr-sub: #524b4b;
    --gr-verse: #635b5b;
    --gr-muted: #776f6f;
    --gr-line: #e2dcdc;
    --gr-line-soft: #e8e3e3;

    font-family: 'Noto Sans KR', sans-serif;
    color: var(--gr-ink);
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}

/* --- 마진 리셋 (이 아래 규칙들이 같은 특이도로 뒤에 와서 이긴다) --- */
.lis-gr .wp-block-group > *,
.lis-gr .wp-block-group,
.lis-gr p,
.lis-gr h1,
.lis-gr h2 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* --- 폭 컨테이너: 제약 레이아웃의 max-width:100% 를 이긴다 --- */
.wp-block-group.lis-gr.is-layout-constrained > .lis-gr__wrap {
    width: 100%;
    max-width: 1165px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* --- 전면 폭 블록 (약속 밴드 · 마무리) --- */
.wp-block-group.lis-gr.is-layout-constrained > .lis-gr__band,
.wp-block-group.lis-gr.is-layout-constrained > .lis-gr__close {
    width: 100vw;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* --- 빵부스러기 --- */
.lis-gr .lis-gr__crumb {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    padding: 22px 0;
    font-size: 13px;
    color: var(--gr-muted);
    border-bottom: 1px solid var(--gr-line-soft);
}
.lis-gr .lis-gr__crumb a { color: var(--gr-muted); }
.lis-gr .lis-gr__crumb a:hover { color: var(--gr-accent); }
.lis-gr .lis-gr__crumb .is-here { color: var(--gr-ink); font-weight: 500; }

/* --- 히어로 --- */
.lis-gr .lis-gr__hero {
    padding: 100px 0 120px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 80px;
    align-items: center;
}
.lis-gr .lis-gr__hero > .wp-block-group {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.lis-gr .lis-gr__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--gr-accent);
}
.lis-gr .lis-gr__eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gr-accent);
    flex: 0 0 auto;
}
.lis-gr .lis-gr__h1 {
    font-weight: 800;          /* ExtraBold — 헤드라인 */
    font-size: 50px;
    line-height: 1.38;
    letter-spacing: -0.03em;
    text-wrap: balance;
}
.lis-gr .lis-gr__lead {
    font-size: 20px;
    font-weight: 400;          /* Regular — 부제 */
    line-height: 1.8;
    color: var(--gr-sub);
}

/* --- 사진 자리표시자 --- */
.lis-gr .lis-gr__ph {
    background: repeating-linear-gradient(135deg, #efeae9 0 12px, #f8f4f4 12px 24px);
    border: 1px solid var(--gr-line);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    box-sizing: border-box;
}
.lis-gr .lis-gr__ph--portrait { aspect-ratio: 4 / 5; }
.lis-gr .lis-gr__ph--land { aspect-ratio: 4 / 3; padding: 0; }
.lis-gr .lis-gr__ph span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: #696161;
}

/* --- 본문 섹션 (3단 그리드) --- */
.lis-gr .lis-gr__sec {
    padding: 88px 0;
    border-top: 1px solid var(--gr-line);
    display: grid;
    grid-template-columns: 260px minmax(0, 560px) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}
.lis-gr .lis-gr__sec--first { border-top: 1px solid var(--gr-ink); }
.lis-gr .lis-gr__sec--noline { border-top: 0; }

.lis-gr .lis-gr__head { display: flex; flex-direction: column; gap: 16px; }
.lis-gr .lis-gr__num {
    font-size: 15px;
    font-weight: 700;
    color: var(--gr-accent);
}
.lis-gr .lis-gr__h2 {
    font-weight: 800;          /* ExtraBold — 섹션 소제목 */
    font-size: 26px;
    line-height: 1.5;
    letter-spacing: -0.02em;
}
.lis-gr .lis-gr__body { display: flex; flex-direction: column; gap: 20px; }
.lis-gr .lis-gr__body p {
    font-size: 17px;
    font-weight: 400;          /* Regular — 본문 */
    line-height: 2;
    color: var(--gr-body);
    text-wrap: pretty;
}

/* 말씀 칼럼 */
.lis-gr .lis-gr__verse {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
    border-left: 1px solid var(--gr-accent);
}
.lis-gr .lis-gr__verse p {
    font-family: 'Noto Serif KR', serif;
    font-weight: 400;          /* Regular — 말씀 인용 */
    font-size: 14px;
    line-height: 1.85;
    color: var(--gr-verse);
}
.lis-gr .lis-gr__ref {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--gr-accent);
}

/* --- 사진 3장 --- */
.lis-gr .lis-gr__trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 88px !important;
}
.lis-gr .lis-gr__trio > .wp-block-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lis-gr .lis-gr__cap { font-size: 15px; font-weight: 700; }

/* --- 약속 밴드 --- */
.lis-gr .lis-gr__band {
    background: #850e32;
    color: #fff;
    padding: 96px 0;
}
.lis-gr .lis-gr__band-inner {
    width: 100%;
    max-width: 1165px;
    margin: 0 auto !important;
    padding: 0 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
.lis-gr .lis-gr__band-label {
    font-size: 15px;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: #f7d4d7;
}
.lis-gr .lis-gr__band-inner > .wp-block-group:last-child {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.lis-gr .lis-gr__motto { display: flex; flex-direction: column; gap: 6px; }
.lis-gr .lis-gr__motto p {
    font-weight: 800;          /* ExtraBold — 표어 */
    font-size: 38px;
    line-height: 1.55;
    letter-spacing: -0.02em;
}
.lis-gr .lis-gr__band-note {
    font-size: 17px;
    line-height: 1.85;
    color: #f5e3e4;
}

/* --- 마무리 어두운 블록 --- */
.lis-gr .lis-gr__close {
    background: #110c0b;
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.lis-gr .lis-gr__close-img {
    min-height: 560px;
    background: repeating-linear-gradient(135deg, #1a1414 0 14px, #110c0b 14px 28px);
    display: flex;
    align-items: flex-end;
    padding: 32px 32px 32px 129px;
    box-sizing: border-box;
}
.lis-gr .lis-gr__close-img span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: #a59c9c;
}
.lis-gr .lis-gr__close-txt {
    padding: 100px 129px 100px 80px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.lis-gr .lis-gr__close-verse {
    font-family: 'Noto Serif KR', serif;
    font-size: 21px;
    line-height: 1.85;
    color: #eeeaea;
}
.lis-gr .lis-gr__close-ref {
    font-size: 13px;
    font-weight: 700;
    color: #ee7d8d;
}
.lis-gr .lis-gr__close-note {
    font-size: 17px;
    line-height: 2;
    color: #d1cccc;
    margin-top: 20px !important;
}
.lis-gr .lis-gr__sign {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    margin-top: 20px !important;
    padding-top: 24px;
    border-top: 1px solid #403938;
}
.lis-gr .lis-gr__sign::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #d54563;
    flex: 0 0 auto;
}

/* ---------------- 반응형 ---------------- */
@media (max-width: 1220px) {
    .wp-block-group.lis-gr.is-layout-constrained > .lis-gr__wrap { padding: 0 24px; }
    .lis-gr .lis-gr__sec { grid-template-columns: 200px minmax(0, 1fr) 240px; gap: 32px; }
    .lis-gr .lis-gr__hero { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
    .lis-gr .lis-gr__close-img { padding-left: 40px; }
    .lis-gr .lis-gr__close-txt { padding: 72px 40px; }
}
@media (max-width: 900px) {
    .lis-gr .lis-gr__hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 56px 0 64px;
    }
    .lis-gr .lis-gr__h1 { font-size: 36px; }
    .lis-gr .lis-gr__lead { font-size: 17px; }
    .lis-gr .lis-gr__sec {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 56px 0;
    }
    .lis-gr .lis-gr__verse { padding-left: 16px; }
    .lis-gr .lis-gr__band { padding: 64px 0; }
    .lis-gr .lis-gr__band-inner { grid-template-columns: 1fr; gap: 24px; }
    .lis-gr .lis-gr__motto p { font-size: 26px; }
    .lis-gr .lis-gr__close { grid-template-columns: 1fr; }
    .lis-gr .lis-gr__close-img { min-height: 260px; padding: 24px; }
    .lis-gr .lis-gr__close-txt { padding: 56px 24px; }
    .lis-gr .lis-gr__close-verse { font-size: 18px; }
    .lis-gr .lis-gr__trio { margin-bottom: 56px !important; }
}
@media (max-width: 600px) {
    .wp-block-group.lis-gr.is-layout-constrained > .lis-gr__wrap { padding: 0 18px; }
    .lis-gr .lis-gr__crumb { justify-content: flex-start; font-size: 12px; }
    .lis-gr .lis-gr__h1 { font-size: 30px; line-height: 1.42; }
    .lis-gr .lis-gr__h2 { font-size: 22px; }
    .lis-gr .lis-gr__body p { font-size: 15.5px; line-height: 1.9; }
    .lis-gr .lis-gr__trio { grid-template-columns: 1fr; gap: 20px; }
    .lis-gr .lis-gr__motto p { font-size: 21px; }
    .lis-gr .lis-gr__ph--portrait { aspect-ratio: 3 / 4; }
}

/* 전면 폭 레이아웃 페이지: 본문 섹션 위·아래 여백 제거 (히어로·푸터에 맞닿게) */
body.lis-fullbleed section.guten-F15y0P {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* ============================================================
 * 인사말 타이포그래피 — 요소별 굵기
 *
 * 이 파일 앞쪽의 전역 규칙
 *   body, body *:not(i):not([class*="fa-"])…:not(path)
 *   { font-family: Barlow…!important; font-weight:300 !important }
 * 이 특이도 (0,8,4) + !important 라서, 일반적인 클래스 선택자로는
 * 절대 이길 수 없다. 그래서 .lis-gr 를 9번 반복해 (0,9,0) 으로 올린다.
 * ============================================================ */

/* GREETING 라벨 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__eyebrow {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* 대제목 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__h1 {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 50px !important;
    font-weight: 800 !important;
}

/* 부제 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__lead {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
}

/* 번호 01~05 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__num {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* 섹션 소제목 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__h2 {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 26px !important;
    font-weight: 800 !important;
}

/* 말씀 출처 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__ref {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* 사진 캡션 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__cap {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* 우리의 약속 라벨 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__band-label {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* 밴드 설명 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__band-note {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
}

/* 마무리 말씀 출처 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__close-ref {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* 마무리 본문 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__close-note {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
}

/* 서명 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__sign {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* 본문 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__body p {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
}

/* 말씀 인용 — 명조 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__verse p {
    font-family: 'Noto Serif KR', serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__verse p.lis-gr__ref {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* 표어 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__motto p {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 38px !important;
    font-weight: 800 !important;
}

/* 마무리 말씀 — 명조 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__close-verse {
    font-family: 'Noto Serif KR', serif !important;
    font-size: 21px !important;
    font-weight: 400 !important;
}

/* 빵부스러기 · 사진 자리 라벨 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__crumb,
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__crumb * {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__ph span,
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__close-img span {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

/* 반응형 크기 (굵기는 유지) */
@media (max-width: 900px) {
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__h1 { font-size: 36px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__lead { font-size: 17px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__motto p { font-size: 26px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__close-verse { font-size: 18px !important; }
}
@media (max-width: 600px) {
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__h1 { font-size: 30px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__h2 { font-size: 22px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__body p { font-size: 15.5px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__motto p { font-size: 21px !important; }
}

/* ============================================================
 * 우리의 정체성 페이지 (디자인: 우리의 정체성.dc.html)
 * 인사말의 .lis-gr 체계를 그대로 재사용하고, 이 페이지 전용 블록만 추가
 * ============================================================ */

/* --- 우리의 철학: 전면 폭 버건디 밴드 --- */
.wp-block-group.lis-gr.is-layout-constrained > .lis-gr__philo {
    width: 100vw;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}
.lis-gr .lis-gr__philo {
    background: #850e32;
    color: #fff;
    padding: 136px 0 128px;
}
.lis-gr .lis-gr__philo-inner {
    width: 100%;
    max-width: 1165px;
    margin: 0 auto !important;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 64px;
}
.lis-gr .lis-gr__philo-head {
    display: flex;
    flex-direction: column;
    gap: 36px;
    align-items: center;
    text-align: center;
}
.lis-gr .lis-gr__philo-label {
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.22em;
    color: #f7d4d7;
}
.lis-gr .lis-gr__philo-label::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #f7d4d7;
    flex: 0 0 auto;
}
.lis-gr .lis-gr__philo-motto { display: flex; flex-direction: column; gap: 8px; }
.lis-gr .lis-gr__philo-note { color: #fce9eb; line-height: 1.9; }

/* 4칸 카드 — 1px 간격을 구분선처럼 */
.lis-gr .lis-gr__philo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #b04c5d;
    border-top: 1px solid #b04c5d;
    border-bottom: 1px solid #b04c5d;
}
.lis-gr .lis-gr__philo-card {
    background: #850e32;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lis-gr .lis-gr__philo-no { color: #f2bec3; }
.lis-gr .lis-gr__philo-desc { color: #f5e3e4; line-height: 1.8; }
.lis-gr .lis-gr__philo-foot {
    max-width: 820px;
    margin: 0 auto !important;
    text-align: center;
    color: #f5e3e4;
    line-height: 2;
}

/* --- 인용구(출처 없는 서체 강조) --- */
.lis-gr .lis-gr__pull { color: #332c2c; line-height: 1.75; }

/* --- 04 인재상: 2단 + 목록 --- */
.lis-gr .lis-gr__sec--2col {
    grid-template-columns: 260px minmax(0, 1fr);
    border-top: 1px solid var(--gr-ink);
}
.lis-gr .lis-gr__list { display: flex; flex-direction: column; }
.lis-gr .lis-gr__list-row {
    display: grid;
    grid-template-columns: 48px 300px minmax(0, 1fr);
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gr-line-soft);
    align-items: baseline;
}
.lis-gr .lis-gr__list-no { color: var(--gr-accent); }
.lis-gr .lis-gr__list-title { line-height: 1.5; }
.lis-gr .lis-gr__list-desc { color: #4d4645; line-height: 1.85; }
.lis-gr .lis-gr__list-foot {
    color: #332c2c;
    line-height: 2;
    padding-top: 40px;
    max-width: 720px;
}
.lis-gr .lis-gr__list-foot strong { color: var(--gr-accent); }

/* --- 안내 박스 --- */
.lis-gr .lis-gr__notice {
    padding: 22px 28px;
    background: #f9f6f6;
    display: flex;
    gap: 14px;
    align-items: center;
    line-height: 1.7;
    color: #4d4645;
}
.lis-gr .lis-gr__notice-label { flex: none; color: var(--gr-accent); }

/* --- 하단 여백 --- */
.lis-gr .lis-gr__spacer { height: 96px; }

/* --- 마무리 블록: 표어 2줄 버전 --- */
.lis-gr .lis-gr__close-motto {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 32px;
    border-top: 1px solid #403938;
    margin-top: 28px !important;
}

@media (max-width: 1220px) {
    .lis-gr .lis-gr__list-row { grid-template-columns: 40px 240px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 900px) {
    .lis-gr .lis-gr__philo { padding: 72px 0 64px; }
    .lis-gr .lis-gr__philo-inner { gap: 44px; }
    .lis-gr .lis-gr__philo-head { gap: 26px; }
    .lis-gr .lis-gr__philo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lis-gr .lis-gr__philo-card { padding: 28px 22px; }
    .lis-gr .lis-gr__sec--2col { grid-template-columns: 1fr; }
    .lis-gr .lis-gr__list-row { grid-template-columns: 28px minmax(0, 1fr); gap: 10px 14px; }
    .lis-gr .lis-gr__list-desc { grid-column: 2 / -1; }
    .lis-gr .lis-gr__notice { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 18px; }
}
@media (max-width: 600px) {
    .lis-gr .lis-gr__philo-grid { grid-template-columns: 1fr; }
    .lis-gr .lis-gr__spacer { height: 56px; }
}


/* ---- 우리의 정체성 전용 타이포 (전역 규칙 (0,8,4) 를 이기기 위해 .lis-gr 9회 반복) ---- */

/* 정체성 대제목 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__h1--id {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 48px !important;
    font-weight: 700 !important;
}

/* 정체성 부제 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__lead--id {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 19px !important;
    font-weight: 400 !important;
}

/* 우리의 철학 라벨 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__philo-label {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* 철학 밴드 설명 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__philo-note {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 19px !important;
    font-weight: 400 !important;
}

/* 철학 카드 번호 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__philo-no {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* 철학 카드 제목 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__philo-title {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* 철학 카드 설명 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__philo-desc {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* 철학 밴드 마무리 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__philo-foot {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

/* 인용구(명조) — .lis-gr__verse p (0,11,0) 보다 높여야 한다 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__verse p.lis-gr__pull,
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__pull {
    font-family: 'Noto Serif KR', serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
}

/* 인재상 번호 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__list-no {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* 인재상 제목 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__list-title {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
}

/* 인재상 설명 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__list-desc {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* 인재상 마무리 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__list-foot {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
}

/* 안내 라벨 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__notice-label {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* 철학 밴드 표어 — 54px ExtraBold */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__philo-motto p {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 54px !important;
    font-weight: 800 !important;
}

/* 안내 박스 본문 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__notice p {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
}

/* 마무리 표어 2줄 */
.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__close-motto p {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
}

@media (max-width: 900px) {
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__h1--id { font-size: 34px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__lead--id { font-size: 17px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__philo-motto p { font-size: 30px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__philo-foot { font-size: 16px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__philo-title { font-size: 21px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__close-motto p { font-size: 20px !important; }
}
@media (max-width: 600px) {
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__h1--id { font-size: 28px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__philo-motto p { font-size: 23px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__list-title { font-size: 17px !important; }
    .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__list-desc { font-size: 15px !important; }
}

/* --- 서브 페이지 버건디 헤더 위에서의 대비 보정 --- */
/* 등대가족: 버건디 글자가 버건디 배경에 묻히므로 흰색으로 */
body:not(.home) #guten-ml9WVs .gutenverse-menu > li.lis-menu-family > a,
body:not(.home) #guten-ml9WVs .gutenverse-menu-wrapper > ul > li.lis-menu-family > a {
    color: #fff !important;
}
body:not(.home) #guten-ml9WVs .gutenverse-menu > li.lis-menu-family:hover > a,
body:not(.home) #guten-ml9WVs .gutenverse-menu-wrapper > ul > li.lis-menu-family:hover > a {
    color: #f7d4d7 !important;
}
/* 로그인·입학문의 버튼: 헤더와 같은 색이 되어 버려서 더 진한 버건디로 */
body:not(.home) .guten-p6xKSh .guten-button,
body:not(.home) .guten-btnAdm .guten-button {
    background-color: #7a0f26 !important;
    border-color: #7a0f26 !important;
}
body:not(.home) .guten-p6xKSh .guten-button:hover,
body:not(.home) .guten-btnAdm .guten-button:hover {
    background-color: #5C0F1C !important;
    border-color: #5C0F1C !important;
}

/* ============================================================
 * 디자인 페이지(.lis-gr): 서브 히어로 섹션 자체를 제거하고
 * 본문을 버건디 메뉴 바 바로 아래에 붙인다.
 * - 히어로가 사라지므로 헤더의 음수 margin-bottom(-136/-90px)도 해제한다.
 *   (그대로 두면 본문이 메뉴 아래로 숨는다)
 * ============================================================ */
body:not(.home) section.guten-MJKvJA {
    display: none !important;
}
body:not(.home) .guten-XLnIYu {
    margin-bottom: 0 !important;
}
/* 일반 페이지도 빵부스러기가 메뉴 바로 아래 붙게 상단 패딩 제거 */
body:not(.home):not(.lis-fullbleed) section.guten-F15y0P {
    padding-top: 0 !important;
}
/* 게시판·일반 페이지 제목 (히어로가 사라져 본문에서 제목을 보여준다) */
body:not(.home) .entry-content.entry-content.entry-content.entry-content.entry-content.entry-content.entry-content.entry-content > h1,
body:not(.home) .entry-content.entry-content.entry-content.entry-content.entry-content.entry-content.entry-content.entry-content > h1 * {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin: 0 0 28px !important;
    padding-bottom: 20px;
    border-bottom: 2px solid #1A1A1A;
}
@media (max-width: 768px) {
    body:not(.home) .entry-content.entry-content.entry-content.entry-content.entry-content.entry-content.entry-content.entry-content > h1 { font-size: 26px !important; margin-bottom: 22px !important; }
}


/* ============================================================
 * 빵부스러기 (.lis-crumb) — 디자인 페이지의 .lis-gr__crumb 과 동일한 모양
 * 서브페이지 전체에 자동 삽입된다.
 * ============================================================ */
.lis-crumb {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    max-width: 1165px !important;
    margin: 0 auto 56px !important;
    padding: 22px 0;
    box-sizing: border-box;
    color: #776f6f;
    border-bottom: 1px solid #e8e3e3;
}
.lis-crumb a { color: #776f6f; text-decoration: none; }
.lis-crumb a:hover { color: #9d113b; }
.lis-crumb .is-here { color: #1f1919; }

/* 타이포 — 전역 규칙 (0,8,4) 를 이기기 위해 클래스 9회 반복 */
.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb,
.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb a,
.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb span {
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}
.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb .is-here {
    font-weight: 500 !important;
}

@media (max-width: 1220px) {
    .lis-crumb { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 768px) {
    .lis-crumb {
        justify-content: flex-start;
        margin-bottom: 36px !important;
        padding-left: 18px;
        padding-right: 18px;
    }
    .lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb, .lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb a, .lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb.lis-crumb span { font-size: 12px !important; }
}

/* ============================================================
 * 인사말(/greeting/) 히어로 조정 — 2026-09-26
 * - GREETING 라벨을 히어로 맨 위(빵부스러기 바로 아래)에 붙임
 * - 세로 사진 높이 축소 (4:5 → 4:3)
 * ============================================================ */
body.page-id-2657 .lis-gr .lis-gr__hero {
    padding-top: 40px;
    padding-bottom: 40px;   /* 위아래 여백 동일 */
    align-items: start;
}
/* 사진 폭 확대: 460 → 560px, 비율 3:2 (높이 약 373px) */
body.page-id-2657 .lis-gr .lis-gr__hero { grid-template-columns: minmax(0, 1fr) 560px; gap: 64px; }
body.page-id-2657 .lis-gr .lis-gr__ph--portrait { aspect-ratio: 3 / 2; }
@media (max-width: 1220px) {
    body.page-id-2657 .lis-gr .lis-gr__hero { grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; }
}
@media (max-width: 900px) {
    body.page-id-2657 .lis-gr .lis-gr__hero { grid-template-columns: 1fr; }
}
/* 히어로 아래 구분선: 검정 → 회색 한 줄 (다른 섹션 구분선과 동일) */
body.page-id-2657 .lis-gr .lis-gr__sec--first { border-top: 1px solid var(--gr-line); }
@media (max-width: 900px) {
    body.page-id-2657 .lis-gr .lis-gr__hero { padding-top: 32px; padding-bottom: 32px; }
}
@media (max-width: 600px) {
    body.page-id-2657 .lis-gr .lis-gr__ph--portrait { aspect-ratio: 3 / 2; }
}

/* ============================================================
 * 인사말(/greeting/) 철학 밴드 — 2026-09-26
 * - '등대의 철학' 라벨 숨김, 표어·설명 가운데 정렬
 * - 버건디 바탕 위에 사진을 엷고 흐리게 깔기
 * ============================================================ */
body.page-id-2657 .lis-gr .lis-gr__band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #850e32;
}
body.page-id-2657 .lis-gr .lis-gr__band::before {
    content: '';
    position: absolute;
    inset: -24px;                 /* 흐림 가장자리 번짐 가리기 */
    background: url('../../uploads/2026/09/02-walk-teacher-kids.webp') center / cover no-repeat;
    filter: blur(6px) grayscale(30%);
    opacity: 0.22;
    z-index: -1;
}
body.page-id-2657 .lis-gr .lis-gr__band-label { display: none; }
body.page-id-2657 .lis-gr .lis-gr__band-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}
body.page-id-2657 .lis-gr .lis-gr__band-inner > .wp-block-group:last-child { align-items: center; }
body.page-id-2657 .lis-gr .lis-gr__motto { align-items: center; }

/* 인사말 본문 글자 1px 축소 (17 → 16, 모바일 15.5 → 14.5) — 2026-09-26 */
body.page-id-2657 .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__body p { font-size: 16px !important; }
@media (max-width: 600px) {
    body.page-id-2657 .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__body p { font-size: 14.5px !important; }
}

/* 인사말 철학 밴드 간격 — 표어 두 줄 사이·설명 문장 위 간격 축소 (2026-09-26) */
body.page-id-2657 .lis-gr .lis-gr__motto { gap: 0 !important; }
body.page-id-2657 .lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr.lis-gr .lis-gr__motto p {
    line-height: 1.4 !important;
    margin: 0 !important;
}
body.page-id-2657 .lis-gr .lis-gr__band-inner > .wp-block-group:last-child { gap: 14px !important; }
body.page-id-2657 .lis-gr .lis-gr__band-inner > .wp-block-group:last-child > * { margin-block: 0 !important; }

/* ============================================================
 * 푸터 정리 (2026-09-28 오후) — 형식 유지, 보기 좋게
 *  - 메뉴 6열 균등(등대교육공동체·입학안내·교육과정·학교생활·등대소식·후원안내)
 *  - 열 제목·항목 글자·간격 통일, 연락처 줄 간격 정리, 모바일 2열
 * ============================================================ */
/* 상단: 로고 + 연락처 */
.guten-column.guten-lurgJq .list-wrapper { gap: 8px 28px !important; }
.guten-column.guten-lurgJq .guten-icon-list-item > a { display: inline-flex !important; align-items: center !important; gap: 0 !important; }
.guten-column.guten-lurgJq .guten-icon-list-item i { width: 18px !important; flex: 0 0 18px !important; text-align: center !important; font-size: 13px !important; margin: 0 !important; opacity: .9; }
.guten-column.guten-lurgJq .guten-icon-list-item .list-text { padding-left: 8px !important; margin: 0 !important; font-size: 14.5px !important; line-height: 1.6 !important; color: rgba(255,255,255,.88) !important; }
/* 상단·메뉴·하단 세로 간격 */
section.guten-fpvsoM { padding-top: 44px !important; padding-bottom: 36px !important; }
section.guten-KZ2eip { padding-bottom: 32px !important; }
.guten-element.guten-KZ2eip { margin-bottom: 0 !important; border-bottom: 1px solid rgba(255,255,255,.28) !important; }
.guten-element.guten-TtWFsf { padding-top: 36px !important; padding-bottom: 8px !important; }
[data-id="RflGUG"] { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
section.guten-RflGUG { margin-top: 28px !important; padding-top: 22px !important; border-top: 1px solid rgba(255,255,255,.28) !important; }
/* 메뉴 열: 균등 폭 */
section.guten-TtWFsf > .guten-container { display: flex !important; flex-wrap: nowrap !important; gap: 24px !important; }
section.guten-TtWFsf > .guten-container > .guten-column { flex: 1 1 0 !important; width: auto !important; max-width: none !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; }
section.guten-TtWFsf .guten-column-wrapper { padding: 0 !important; }
/* 열 제목 */
section.guten-TtWFsf .guten-column-wrapper > h4 { font-family: inherit !important; font-size: 18px !important; font-weight: 600 !important; letter-spacing: -0.01em !important; line-height: 1.4 !important; color: #fff !important; margin: 0 0 16px !important; padding: 0 !important; }
/* 항목 */
section.guten-TtWFsf .guten-icon-list .list-wrapper { display: flex !important; flex-direction: column !important; gap: 9px !important; }
section.guten-TtWFsf .guten-icon-list-item { margin: 0 !important; padding: 0 !important; }
section.guten-TtWFsf .guten-icon-list-item > a { margin: 0 !important; padding: 0 !important; }
section.guten-TtWFsf .guten-icon-list-item .list-text { font-size: 14.5px !important; line-height: 1.6 !important; color: rgba(255,255,255,.8) !important; transition: color .15s; }
section.guten-TtWFsf .guten-icon-list-item:hover .list-text { color: #fff !important; }
section.guten-TtWFsf .list-divider { display: none !important; }
/* 하단 문구 */
.guten-element.guten-RflGUG .text-content-inner p { font-size: 13.5px !important; color: rgba(255,255,255,.85) !important; margin: 0 !important; }
@media (max-width: 1024px) {
    section.guten-TtWFsf > .guten-container { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 32px 24px !important; }
    section.guten-TtWFsf > .guten-container > .guten-column { width: 100% !important; }
}
@media (max-width: 768px) {
    section.guten-TtWFsf > .guten-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 20px !important; }
    section.guten-TtWFsf .guten-column-wrapper > h4 { font-size: 16px !important; margin-bottom: 10px !important; }
    section.guten-TtWFsf .guten-icon-list .list-wrapper { gap: 7px !important; }
    section.guten-TtWFsf .guten-icon-list-item .list-text { font-size: 14px !important; }
    section.guten-fpvsoM { padding-top: 32px !important; padding-bottom: 28px !important; }
    .guten-column.guten-lurgJq .list-wrapper { gap: 8px 0 !important; }
    section.guten-RflGUG { margin-top: 20px !important; padding-top: 18px !important; }
    /* 상단: 로고 아래에 연락처가 오도록 줄바꿈 허용 */
    section.guten-KZ2eip > .guten-container { flex-wrap: wrap !important; }
    .guten-column.guten-sqTbP4, .guten-column.guten-lurgJq { flex: 1 1 100% !important; width: 100% !important; max-width: 100% !important; }
    .guten-column.guten-lurgJq { margin-top: 20px !important; }
    .guten-column.guten-lurgJq .guten-icon-list-item > a { align-items: flex-start !important; }
    .guten-column.guten-lurgJq .guten-icon-list-item i { line-height: 23px !important; }
    /* 로고·연락처 모두 왼쪽 맞춤, 들여쓰기 제거 */
    .guten-column.guten-sqTbP4 > .guten-column-wrapper, .guten-4Ej2Jf, .guten-4Ej2Jf .guten-image-wrapper { justify-content: flex-start !important; align-items: flex-start !important; text-align: left !important; margin-left: 0 !important; }
    .guten-4Ej2Jf img { object-position: left center !important; }
    /* 상단 컨테이너 안쪽 여백 제거 → 로고·연락처가 메뉴와 같은 왼쪽 선 */
    section.guten-KZ2eip > .guten-container { padding-left: 0 !important; padding-right: 0 !important; }
    .guten-column.guten-lurgJq > .guten-column-wrapper, .guten-column.guten-lurgJq .guten-icon-list, .guten-column.guten-lurgJq .list-wrapper { padding-left: 0 !important; margin-left: 0 !important; justify-content: start !important; }
}

/* --- 푸터 상단: 연락처 2줄(주소 / 전화·팩스·이메일) + 오른쪽 버튼 2개, 글자 키움 (2026-09-28) --- */
.guten-column.guten-lurgJq { margin-left: 16px !important; }
.guten-column.guten-lurgJq .list-wrapper { grid-template-columns: max-content max-content max-content !important; gap: 8px 24px !important; }
.guten-column.guten-lurgJq .guten-icon-list-item.guten-liEml2 { grid-column: auto !important; }
.guten-column.guten-lurgJq .guten-icon-list-item .list-text { font-size: 16px !important; }
.guten-column.guten-lurgJq .guten-icon-list-item i { font-size: 14px !important; }
section.guten-KZ2eip > .guten-container { flex-direction: row !important; }
.lis-fbtns { order: 99 !important; margin-left: auto !important; padding-left: 28px !important; align-self: center !important; display: flex !important; gap: 8px !important; flex: 0 0 auto !important; }
.lis-fbtns a { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.75); border-radius: 4px; color: #fff !important; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s; }
.lis-fbtns a:hover { background: rgba(255,255,255,.14); }
.lis-fbtns a.is-solid { background: #fff; color: #a71836 !important; border-color: #fff; }
.lis-fbtns a.is-solid:hover { background: #f6e6ea; }
/* 메뉴 글자 키움 */
section.guten-TtWFsf .guten-column-wrapper > h4 { font-size: 19px !important; margin-bottom: 18px !important; }
section.guten-TtWFsf .guten-icon-list-item .list-text { font-size: 16px !important; }
section.guten-TtWFsf .guten-icon-list .list-wrapper { gap: 11px !important; }
.guten-element.guten-RflGUG .text-content-inner p { font-size: 14px !important; }
@media (max-width: 1024px) {
    .guten-column.guten-lurgJq { margin-left: 28px !important; }
    .guten-column.guten-lurgJq .list-wrapper { grid-template-columns: max-content max-content !important; }
    .lis-fbtns { flex-direction: column !important; }
}
@media (max-width: 768px) {
    .guten-column.guten-lurgJq { margin-left: 0 !important; }
    .guten-column.guten-lurgJq .list-wrapper { grid-template-columns: 1fr !important; gap: 10px 0 !important; }
    .guten-column.guten-lurgJq .guten-icon-list-item .list-text { font-size: 15.5px !important; }
    .lis-fbtns { flex: 1 1 100% !important; flex-direction: row !important; margin: 22px 0 0 !important; padding-left: 0 !important; }
    .lis-fbtns a { flex: 1 1 0; height: 44px; }
    section.guten-TtWFsf .guten-column-wrapper > h4 { font-size: 17px !important; }
    section.guten-TtWFsf .guten-icon-list-item .list-text { font-size: 15px !important; }
}

/* 대메뉴 「등대가족」 강조 해제 — 다른 메뉴와 같은 색(홈·서브 모두 흰색) (2026-09-29, 사용자 요청) */
body #guten-ml9WVs .gutenverse-menu > li.lis-menu-family > a,
body #guten-ml9WVs .gutenverse-menu-wrapper > ul > li.lis-menu-family > a { color: #fff !important; }
body #guten-ml9WVs .gutenverse-menu > li.lis-menu-family:hover > a,
body #guten-ml9WVs .gutenverse-menu-wrapper > ul > li.lis-menu-family:hover > a { color: #fff !important; }
body:not(.home) #guten-ml9WVs .gutenverse-menu > li.lis-menu-family:hover > a,
body:not(.home) #guten-ml9WVs .gutenverse-menu-wrapper > ul > li.lis-menu-family:hover > a { color: #fff !important; }

/* 푸터 메뉴 열 순서 고정: 홈 화면에서 Gutenverse 인라인 CSS 가 기존 열에만 order:1 을 줘서 새 「커뮤니티」 열이 맨 앞으로 가던 문제 → 모든 열 order 1, 저장된 순서대로 (2026-09-29) */
section.guten-TtWFsf > .guten-container > .guten-column { order: 1 !important; }
/* 푸터 메뉴 5열 간격 정리: 열 폭 = 내용 폭, 양 끝을 구분선에 맞추고 사이를 균등 분배 (1025px 이상, 2026-09-29) */
@media (min-width: 1025px) {
    section.guten-TtWFsf > .guten-container { justify-content: space-between !important; }
    section.guten-TtWFsf > .guten-container > .guten-column { flex: 0 0 auto !important; }
}
/* 푸터 「입학상담신청」 버튼: 오른쪽 끝 → 연락처 바로 옆으로 (1025px 이상, 2026-09-29, 사용자 요청) */
@media (min-width: 1025px) {
    .lis-fbtns { margin-left: 0 !important; padding-left: 48px !important; }
    .guten-column.guten-2oYI7i { display: none !important; } /* 비어 있는 테마 기본 열(뉴스레터 구독 자리) — 버튼 앞 102px 빈칸 */
}

/* 헤더 로고(350×100) 모바일 축소 — 햄버거 메뉴와 겹치지 않게 (2026-09-29) */
@media (max-width: 767px) {
    .guten-2Peb33, .guten-2Peb33 img { width: 230px !important; max-width: 230px !important; }
}

/* ============================================================
 * 푸터 — 클로드 디자인(메인 v1 푸터) 크기·구성으로 (2026-09-29 사용자 요청)
 *  열 제목 16px 굵게 · 항목 13.5px 연한 흰색 · 열 영역 40/48 · 맨 아래 진한 버건디 띠(.lis-fbar, functions.php render_block)
 * ============================================================ */
section.guten-fpvsoM { padding-top: 48px !important; padding-bottom: 0 !important; }
section.guten-KZ2eip { padding-bottom: 36px !important; }
.guten-element.guten-TtWFsf { padding-top: 40px !important; padding-bottom: 44px !important; }
section.guten-TtWFsf .guten-column-wrapper > h4 { font-size: 16px !important; font-weight: 700 !important; margin-bottom: 12px !important; }
section.guten-TtWFsf .guten-icon-list .list-wrapper { gap: 10px !important; }
section.guten-TtWFsf .guten-icon-list-item .list-text { font-size: 13.5px !important; font-weight: 300 !important; color: rgba(255,255,255,.78) !important; line-height: 1.5 !important; }
section.guten-TtWFsf .guten-icon-list-item:hover .list-text { color: #fff !important; }
.lis-fbar { width: 100%; margin: 0; background: #8A1627; color: rgba(255,255,255,.75); font-size: 12.5px; }
.lis-fbar__inner { max-width: 1200px; margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lis-fbar__links { display: flex; gap: 18px; flex-wrap: wrap; }
.lis-fbar__links a { color: rgba(255,255,255,.75) !important; text-decoration: none !important; }
.lis-fbar__links a.is-strong { color: #fff !important; font-weight: 500; }
.lis-fbar__links a:hover { color: #fff !important; }
.lis-fbar__copy { white-space: nowrap; }
@media (max-width: 768px) {
    section.guten-TtWFsf .guten-column-wrapper > h4 { font-size: 15px !important; margin-bottom: 10px !important; }
    section.guten-TtWFsf .guten-icon-list-item .list-text { font-size: 13px !important; }
    .lis-fbar__inner { justify-content: center; text-align: center; padding: 14px 16px; }
    .lis-fbar__links { justify-content: center; gap: 14px; }
}
section.guten-fpvsoM, .guten-element.guten-fpvsoM { margin-bottom: 0 !important; }
.entry-content > .lis-fbar, .lis-fbar { margin-top: 0 !important; } /* 블록 간격(block-gap 19px) 제거 */
/* 전역 body * 규칙(:not 체인, 클래스 12개 수준)보다 우선해야 하므로 :not(#id) 로 특이도 올림 */
section.guten-TtWFsf .guten-column-wrapper > h4:not(#lis-x):not(#lis-y) { font-weight: 700 !important; font-family: 'Noto Sans KR', sans-serif !important; }
/* 링크 없는 항목(인스타그램·유튜브 주소 미정)도 링크 항목과 같은 높이 */
section.guten-TtWFsf .guten-icon-list-item > .list-text { display: block; line-height: 1.5 !important; }
section.guten-TtWFsf .guten-icon-list-item > a > .list-text { display: inline-block; }

/* ============================================================
 * 푸터 v2 — 클로드 디자인 「Footer.dc.html」 (2026-09-29 오후). functions.php lis_footer_html()
 * ============================================================ */
.lis-foot { background: #A71836; color: #fff; font-family: 'Noto Sans KR', sans-serif; word-break: keep-all; }
.lis-foot * { box-sizing: border-box; }
.lis-foot a { color: inherit; text-decoration: none !important; transition: color .15s; }
.lis-foot__in { max-width: 1240px; margin: 0 auto; padding: 64px 20px 0; }
.lis-foot__grid { display: grid; grid-template-columns: minmax(350px, 1.8fr) repeat(5, minmax(120px, 1fr)); gap: 32px; padding-bottom: 56px; } /* 주소 한 줄 */
.lis-foot__brand { display: flex; flex-direction: column; gap: 22px; padding-right: 24px; border-right: 1px solid rgba(255,255,255,.22); align-items: flex-start; }
.lis-foot__brand img { width: 256px; height: auto; display: block; margin-left: -8px; }
.lis-foot__addr { font-size: 14px !important; line-height: 1.75 !important; color: rgba(255,255,255,.85) !important; font-weight: 400 !important; }
.lis-foot__addr a:hover { color: #fff; }
.lis-foot__cta { display: inline-block; border: 1px solid rgba(255,255,255,.7); color: #fff !important; font-size: 14px !important; font-weight: 500 !important; padding: 11px 22px; border-radius: 4px; }
.lis-foot__cta:hover { background: #fff; color: #A71836 !important; }
.lis-foot__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: rgba(255,255,255,.8); min-width: 0; }
.lis-foot__col b:not(#lis-x):not(#lis-y) { font-size: 16px !important; font-weight: 700 !important; color: #fff !important; margin-bottom: 6px; font-family: 'Noto Sans KR', sans-serif !important; }
.lis-foot__col a:not(#lis-x):not(#lis-y), .lis-foot__col span:not(#lis-x):not(#lis-y) { font-size: 14px !important; font-weight: 400 !important; color: rgba(255,255,255,.8) !important; line-height: 1.5; }
.lis-foot__col a:hover { color: #fff !important; }
.lis-foot__bar { border-top: 1px solid rgba(255,255,255,.22); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; font-size: 13px; color: rgba(255,255,255,.65); }
.lis-foot__bar span, .lis-foot__bar a { font-size: 13px !important; font-weight: 400 !important; color: rgba(255,255,255,.65) !important; }
.lis-foot__bar div { display: flex; gap: 24px; }
.lis-foot__bar a:hover { color: #fff !important; }
@media (max-width: 1024px) {
    .lis-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
    .lis-foot__brand { grid-column: 1 / -1; border-right: 0; padding-right: 0; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.22); }
}
@media (max-width: 767px) {
    .lis-foot__in { padding: 44px 20px 0; }
    .lis-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-bottom: 36px; }
    .lis-foot__brand img { width: 220px; margin-left: -6px; }
    .lis-foot__bar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 0 24px; }
}
body.lisd-home .lis-foot__bar { padding-bottom: 28px; }
