/*
Theme Name: Supernormal2 Child
Description: Supernormal2 차일드 테마 - 흰색 배경 라이트 모드
Template: supernormal2
Version: 1.0.0
*/

/* ============================================================
   색상 변수 정의 (라이트 모드)
   원본 다크 색상 → 라이트 모드 대응 색상
   #1C1E20 (다크 배경) → #ffffff / #f8f9fa
   #393d41 (다크 회색) → #e9ecef / #f1f3f5
   color: #fff (흰 텍스트) → #1C1E20 (다크 텍스트)
============================================================ */

/* ============================================================
   1. 기본 body / html 배경 및 텍스트
============================================================ */
html {
    background-color: #ffffff;
}

/* 페이지 전체 배경 (pages 섹션 오버라이드) */
body {
    background-color: #ffffff !important;
    color: #1C1E20 !important;
}

/* body, button, input 등 기본 텍스트 색상 */
body,
button,
input,
select,
optgroup,
textarea {
    color: #1C1E20 !important;
}

/* ============================================================
   2. 헤더 (site-header)
   원본: background #1C1E20, 텍스트 #fff
   변경: background #ffffff, 텍스트 #1C1E20, 하단 구분선 추가
============================================================ */
.site-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.home .site-header {
    background-color: #F5F5F7 !important;
    border-bottom: 1px solid #D2D2D7 !important;
}

/* 헤더 로고 - 흰 배경용 다크 로고로 교체 필요 시 아래 주석 해제
.site-header .site-branding {
    background: url(../supernormal2/img/designbase-logotype-dark.png) no-repeat center;
    background-size: 160px;
}
*/

/* 헤더 내 네비게이션 메뉴 텍스트 */
.site-navigation a,
.site-navigation li a,
.site-navigation .menu > li > a {
    color: #1C1E20 !important;
}

.site-navigation a:hover {
    color: #F06D49 !important;
}

/* 드롭다운 메뉴 배경 */
.menu-container .more-navigation,
.site-navigation .sub-menu {
    background: #ffffff !important;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.site-navigation .sub-menu a,
.menu-container .more-navigation a {
    color: #1C1E20 !important;
}

.site-navigation .sub-menu a:hover,
.menu-container .more-navigation a:hover {
    color: #F06D49 !important;
    background-color: #f8f9fa !important;
}

/* 모바일 메뉴 활성화 배경 */
.menu-container.active .more-navigation {
    background: rgba(255, 255, 255, 0.98) !important;
}

/* ============================================================
   3. 제목 / 본문 텍스트
============================================================ */
h1, h2, h3, h4, h5, h6 {
    color: #1C1E20 !important;
}

p {
    color: #393A3D;
}

/* 서브텍스트 / 메타 */
.entry-meta,
.entry-meta a,
.posted-on,
.byline,
.cat-links {
    color: #6c757d !important;
}

/* ============================================================
   4. 링크
============================================================ */
a {
    color: #F06D49;
}

a:hover,
a:focus {
    color: #c0392b;
}

a:visited {
    color: #9b59b6;
}

/* ============================================================
   5. 콘텐츠 영역 배경
============================================================ */
.site-content,
.site-main,
#page,
.entry-content {
    background-color: #ffffff;
    color: #1C1E20;
}

/* 사이드바 / 위젯 */
.widget-area,
.widget {
    background-color: #f8f9fa;
    color: #1C1E20;
}

/* 글 상세 사이드바: 검색 위젯 높이 축소 (기존 대비 약 70%) */
body.single .single-layout .align-right {
    padding-top: 56px;
}

/* 상세 영역 좌우 여백을 목록 페이지와 동일하게 정렬 */
body.single .single-layout {
    flex-wrap: wrap;
    padding-left: 96px;
    padding-right: 96px;
    box-sizing: border-box;
}

body.single .single-layout .align-left {
    width: calc(100% - 360px);
    margin-left: 0;
}

body.single #sidebar .widget_search {
    padding: 21px;
}

body.single #sidebar .widget_search .search-field {
    height: 42px;
    padding-top: 6px;
    padding-bottom: 6px;
}

body.single #sidebar .widget_search .search-submit {
    width: 42px;
    height: 42px;
}

/* 글 상세 사이드바: 최신 등록글 텍스트를 검정으로 */
body.single #sidebar .widget .widget-title,
body.single #sidebar .widget .wp-block-latest-posts__list .wp-block-latest-posts__post-title,
body.single #sidebar .widget .wp-block-latest-posts__list time,
body.single #sidebar .widget .wp-block-latest-posts__list a {
    color: #111114 !important;
}

body.single #sidebar .widget .wp-block-latest-posts__list li {
    min-height: 84px;
    margin-bottom: 10px;
}

body.single .post-header .post-breadcrumb {
    font-size: 14px;
    font-weight: 600;
    color: #6b6b70;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

body.single .post-header .post-breadcrumb a {
    color: #6b6b70;
    text-decoration: none;
}

body.single .post-header .post-breadcrumb a:hover {
    color: #1C1E20;
}

body.single .post-header .post-breadcrumb .sep {
    margin: 0 8px;
    color: #9a9aa1;
}

body.single .single-hero {
    margin: 6px 0 18px;
    min-height: 10vh;
    height: auto;
    padding: 14px 24px;
}

/* 목록/카테고리/상세: 히어로 하단 간격 기준 통일 */
body.blog .portfolio-hero,
body.category .page-hero-banner,
body.single .single-hero {
    margin: 6px 0 18px;
}

body.single .single-hero .hero-text {
    white-space: normal;
    text-align: center;
    line-height: 1.5;
    word-break: keep-all;
}

body.single .post-header .post-title {
    display: none;
}


/* 카테고리(목록) 페이지 브레드크럼 */
body.category .page-header .archive-breadcrumb,
body.tax-work_categories .page-header .archive-breadcrumb,
body.blog .page-header .archive-breadcrumb,
body.post-type-archive-work .page-header .archive-breadcrumb {
    font-size: 14px;
    font-weight: 600;
    color: #6b6b70;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

body.category .page-header .archive-breadcrumb a,
body.tax-work_categories .page-header .archive-breadcrumb a,
body.blog .page-header .archive-breadcrumb a,
body.post-type-archive-work .page-header .archive-breadcrumb a {
    color: #6b6b70;
    text-decoration: none;
}

body.category .page-header .archive-breadcrumb a:hover,
body.tax-work_categories .page-header .archive-breadcrumb a:hover,
body.blog .page-header .archive-breadcrumb a:hover,
body.post-type-archive-work .page-header .archive-breadcrumb a:hover {
    color: #1C1E20;
}

body.category .page-header .archive-breadcrumb .sep,
body.tax-work_categories .page-header .archive-breadcrumb .sep,
body.blog .page-header .archive-breadcrumb .sep,
body.post-type-archive-work .page-header .archive-breadcrumb .sep {
    margin: 0 8px;
    color: #9a9aa1;
}

/* 카테고리 목록 타이틀 크기 조정 */
body.category .page-header .page-title,
body.tax-work_categories .page-header .page-title {
    font-size: clamp(2.25rem, 5vw, 4rem) !important;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #1d1d1f !important;
}

/* ============================================================
   메뉴 진입 목록 페이지 공통 (Apple 톤)
============================================================ */
body.category,
body.tax-work_categories,
body.blog,
body.search,
body.tag,
body.archive,
body.post-type-archive-work {
    background: #f5f5f7 !important;
    color: #1d1d1f !important;
}

body.category .page-header,
body.tax-work_categories .page-header,
body.blog .page-header,
body.archive .page-header,
body.post-type-archive-work .page-header {
    padding-top: 52px;
    padding-bottom: 26px;
}

body.category .page-header .container,
body.tax-work_categories .page-header .container,
body.blog .page-header .container,
body.archive .page-header .container,
body.post-type-archive-work .page-header .container {
    max-width: 1200px;
}

body.category .page-header .page-title,
body.tax-work_categories .page-header .page-title,
body.blog .page-header .page-title,
body.archive .page-header .page-title,
body.post-type-archive-work .page-header .page-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800 !important;
    color: #111114 !important;
    margin-bottom: 16px;
}

/* 카테고리·작품분류 설명: 포트폴리오 페이지 상단 인용 박스와 동일 형태 (따옴표 장식 없음) */
body.category .page-header .archive-description,
body.tax-work_categories .page-header .archive-description,
body.tax-work_categories .page-header .page-desc {
    position: relative;
    display: inline-block;
    max-width: 760px;
    margin: 0;
    padding: 14px 18px 14px 20px;
    border-left: 4px solid #3D91FF;
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, 0.82);
    color: #3a3b41 !important;
    font-size: 1rem !important;
    line-height: 1.75;
}

body.category .page-header .archive-description::before,
body.tax-work_categories .page-header .archive-description::before,
body.tax-work_categories .page-header .page-desc::before {
    content: none;
}

body.category .page-header .archive-description p,
body.tax-work_categories .page-header .archive-description p,
body.tax-work_categories .page-header .page-desc p {
    margin: 0 0 0.65em;
    font-size: 1rem !important;
    line-height: 1.75;
    font-weight: 400;
    color: #3a3b41 !important;
}

body.category .page-header .archive-description p:last-child,
body.tax-work_categories .page-header .archive-description p:last-child,
body.tax-work_categories .page-header .page-desc p:last-child {
    margin-bottom: 0;
}

/* 기타 아카이브 설명 -> 인용형 스타일 (따옴표 장식 유지) */
body.blog .page-header .archive-description,
body.archive .page-header .archive-description,
body.archive .page-header .page-desc,
body.post-type-archive-work .page-header .archive-description,
body.post-type-archive-work .page-header .page-desc {
    position: relative;
    display: inline-block;
    max-width: 760px;
    margin: 0;
    padding: 14px 18px 14px 20px;
    border-left: 4px solid #3D91FF;
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, 0.82);
    color: #3a3b41 !important;
    font-size: 1rem !important;
    line-height: 1.75;
}

body.blog .page-header .archive-description::before,
body.archive .page-header .archive-description::before,
body.archive .page-header .page-desc::before,
body.post-type-archive-work .page-header .archive-description::before,
body.post-type-archive-work .page-header .page-desc::before {
    content: none;
}

/* 목록 카드 간격 및 질감 통일 */
body.category .post-list-wrap,
body.tax-work_categories section,
body.blog .post-list-wrap,
body.search .post-list-wrap,
body.tag .post-list-wrap,
body.archive .post-list-wrap,
body.post-type-archive-work .post-list-wrap {
    padding-bottom: 84px;
}

body.category .row,
body.tax-work_categories .row,
body.blog .row,
body.archive .row,
body.post-type-archive-work .row {
    row-gap: 28px;
}

body.category .row .col-4 > *,
body.tax-work_categories .row .col-4 > *,
body.blog .row .col-4 > *,
body.archive .row .col-4 > *,
body.post-type-archive-work .row .col-4 > * {
    border-radius: 20px;
    border: 1px solid #dbdbe2;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

@media (max-width: 940px) {
    body.category .page-header,
    body.tax-work_categories .page-header,
    body.blog .page-header,
    body.archive .page-header,
    body.post-type-archive-work .page-header {
        padding-top: 40px;
    }

    body.category .page-header .archive-description,
    body.tax-work_categories .page-header .archive-description,
    body.tax-work_categories .page-header .page-desc,
    body.blog .page-header .archive-description,
    body.archive .page-header .archive-description,
    body.archive .page-header .page-desc,
    body.post-type-archive-work .page-header .archive-description,
    body.post-type-archive-work .page-header .page-desc {
        display: block;
        max-width: 100%;
    }
}

/* ============================================================
   소개 페이지 (iPhone 톤)
============================================================ */
body.page .about-iphone-header {
    padding-top: 68px;
    padding-bottom: 46px;
}

body.page .about-iphone-header .container,
body.page .about-journey .container {
    max-width: 980px;
}

.about-eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: #0071e3;
}

body.page .about-iphone-header .page-title {
    font-size: clamp(2.15rem, 5vw, 4.25rem) !important;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #111114 !important;
    margin-bottom: 24px;
}

.about-intro p {
    margin: 0 0 10px;
    max-width: 760px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #3b3c40;
}

.about-hero {
    height: 10vh;
    min-height: 78px;
    margin: 6px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #f8f4ef 0%, #e8ddd0 100%);
    position: relative;
    overflow: hidden;
}

.about-hero span {
    color: #2f8ff7;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.09em;
    text-transform: none;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.about-hero::before,
.about-hero::after {
    content: "";
    position: absolute;
    top: 50%;
    width: min(22vw, 220px);
    height: 1px;
    background: linear-gradient(90deg, rgba(47, 143, 247, 0.45), rgba(87, 206, 189, 0.45));
}

.about-hero::before {
    left: calc(50% - 280px);
}

.about-hero::after {
    right: calc(50% - 280px);
}

.portfolio-hero {
    height: 10vh;
    min-height: 78px;
    margin: 6px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #f0f4ff 0%, #e8eeff 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-hero span {
    color: #4A90D9;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.09em;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.portfolio-hero::before,
.portfolio-hero::after {
    content: "";
    position: absolute;
    top: 50%;
    width: min(22vw, 220px);
    height: 1px;
    background: linear-gradient(90deg, rgba(74, 144, 217, 0.45), rgba(143, 206, 248, 0.45));
}

.portfolio-hero::before {
    left: calc(50% - 280px);
}

.portfolio-hero::after {
    right: calc(50% - 280px);
}

.page-hero-banner {
    height: 10vh;
    min-height: 78px;
    margin: 6px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f6f8, #eef1f4);
    position: relative;
    overflow: hidden;
}

.page-hero-banner .hero-text {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.09em;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.page-hero-banner::before,
.page-hero-banner::after {
    content: "";
    position: absolute;
    top: 50%;
    width: min(22vw, 220px);
    height: 1px;
    background: currentColor;
    opacity: 0.35;
}

.page-hero-banner::before {
    left: calc(50% - 280px);
}

.page-hero-banner::after {
    right: calc(50% - 280px);
}

/* 카테고리별 히어로 배경 */
.page-hero-banner.category-drawing,
.page-hero-banner.category-theme-drawing {
    background: linear-gradient(120deg, #eef9f0 0%, #dff1e3 100%);
    color: #3d9f58;
}

.page-hero-banner.category-flat,
.page-hero-banner.category-theme-flat {
    background: linear-gradient(120deg, #edf3ff 0%, #dfe9ff 100%);
    color: #4a90d9;
}

.page-hero-banner.category-coloring,
.page-hero-banner.category-theme-coloring {
    background: linear-gradient(120deg, #fff3f0 0%, #ffe4df 100%);
    color: #ef6a5b;
}

.page-hero-banner.category-idea-note,
.page-hero-banner.category-theme-idea-note {
    background: linear-gradient(120deg, #fff9ee 0%, #ffefcf 100%);
    color: #e1a11f;
}

.page-hero-banner.search-hero {
    background: linear-gradient(120deg, #f8f4ef 0%, #eef2ff 100%);
    color: #5a6c8f;
}

.page-hero-banner.tag-hero {
    background: linear-gradient(120deg, #f5f1ff 0%, #ece9ff 100%);
    color: #7560b5;
}

/* 카테고리 페이지: 소개/포트폴리오와 상단 간격 맞춤 */
body.category .page-hero-banner {
    margin: 6px 0 18px;
    min-height: 78px;
    height: 10vh;
}

body.category .post-list-wrap {
    padding-top: 6px !important;
}

body.category .portfolio-content-title {
    margin-top: 0;
}

/* 카테고리 페이지: 대제목만 숨김 */
.category .page-title,
.category .wp-block-query-title,
.category h1.entry-title,
.category h1.archive-title,
.tax-work_categories .page-title,
.tax-work_categories .wp-block-query-title,
.tax-work_categories h1.entry-title,
.tax-work_categories h1.archive-title {
    display: none !important;
}

.about-journey {
    padding: 40px 0 96px;
}

.about-journey-head {
    margin-bottom: 30px;
}

.about-journey-head h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    letter-spacing: -0.02em;
}

.about-timeline {
    position: relative;
    padding-left: 52px;
}

.about-timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dfe2e7;
}

.timeline-block {
    position: relative;
    margin-bottom: 18px;
}

.timeline-grade {
    position: absolute;
    left: -52px;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.grade-primary { background: #0071e3; }
.grade-dark { background: #1c1e20; }
.grade-muted { background: #c9ccd3; }

.timeline-school p {
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0.13em;
    font-weight: 700;
    color: #2a2d34;
}

.timeline-school h3 {
    margin: 0 0 16px;
    font-size: 1.18rem;
}

.timeline-school.muted p,
.timeline-school.muted h3 {
    color: #9ea3ad;
}

.timeline-card {
    position: relative;
    margin-bottom: 24px;
}

.timeline-dot {
    position: absolute;
    left: -46px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #0071e3;
}

.timeline-card-dark .timeline-dot { border-color: #1c1e20; }
.timeline-card-muted .timeline-dot { border-color: #c9ccd3; }

.timeline-card-body {
    background: #ffffff;
    border: 1px solid #dde1e7;
    border-left: 3px solid #0071e3;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    padding: 20px 22px;
}

.timeline-card-dark .timeline-card-body { border-left-color: #1c1e20; }
.timeline-card-muted .timeline-card-body {
    border-left-color: #c9ccd3;
    border-style: dashed;
    border-left-style: solid;
}

.timeline-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.chip {
    font-size: 12px;
    font-weight: 700;
    color: #0071e3;
    background: #eaf4ff;
    border-radius: 999px;
    padding: 4px 10px;
}

.chip-dark {
    color: #40434a;
    background: #eef0f3;
}

.year {
    font-size: 13px;
    color: #8f939c;
}

.timeline-card h4 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    color: #111114;
}

.timeline-card p {
    margin: 0;
    color: #4a4d54;
    line-height: 1.75;
}

.timeline-link {
    display: inline-block;
    margin-top: 12px;
    color: #0071e3;
    border: 1px solid #0071e3;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.timeline-link:hover {
    color: #fff;
    background: #0071e3;
}

.coming-soon {
    text-align: center;
    color: #a2a7b0 !important;
}

.about-ending {
    margin-top: 28px;
    padding: 28px 24px;
    border-radius: 18px;
    border: 1px solid #dfe3ea;
    background: #fff;
    text-align: center;
}

.about-ending p {
    margin: 0;
    color: #4b4f57;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .about-timeline {
        padding-left: 38px;
    }

    .timeline-grade {
        left: -38px;
        width: 20px;
        height: 20px;
    }

    .timeline-dot {
        left: -33px;
    }

    .timeline-card-body {
        padding: 16px 16px;
    }

    .about-hero span {
        font-size: 0.85rem;
        letter-spacing: 0.06em;
    }

    .portfolio-hero span {
        font-size: 0.85rem;
        letter-spacing: 0.06em;
    }

    .page-hero-banner .hero-text {
        font-size: 0.85rem;
        letter-spacing: 0.06em;
    }

    .about-hero::before,
    .about-hero::after {
        width: 14vw;
    }

    .portfolio-hero::before,
    .portfolio-hero::after {
        width: 14vw;
    }

    .page-hero-banner::before,
    .page-hero-banner::after {
        width: 14vw;
    }

    .about-hero::before {
        left: 14px;
    }

    .portfolio-hero::before {
        left: 14px;
    }

    .page-hero-banner::before {
        left: 14px;
    }

    .about-hero::after {
        right: 14px;
    }

    .portfolio-hero::after {
        right: 14px;
    }

    .page-hero-banner::after {
        right: 14px;
    }
}

/* 포트폴리오 목록/카테고리 목록: 제목선과 카드 시작선 정렬 + 3x3 */
body.blog .post-list-wrap .container > .row,
body.category .post-list-wrap .container > .row,
body.search .post-list-wrap .container > .row,
body.tag .post-list-wrap .container > .row,
body.tax-work_categories section .container > .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 96px;
    padding-right: 96px;
}

body.blog .post-list-wrap .container > .row > .col-4,
body.category .post-list-wrap .container > .row > .col-4,
body.search .post-list-wrap .container > .row > .col-4,
body.tag .post-list-wrap .container > .row > .col-4,
body.tax-work_categories section .container > .row > .col-4 {
    width: auto;
    padding-left: 0;
    padding-right: 0;
}

/* 포트폴리오 목록 상단 인용 소개 */
body.blog .portfolio-intro-quotes,
body.category .portfolio-intro-quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 24px;
    margin: 14px 0 0;
    padding-left: 96px;
    padding-right: 96px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e6e9ef;
}

body.blog .portfolio-content-title,
body.category .portfolio-content-title,
body.search .portfolio-content-title,
body.tag .portfolio-content-title {
    margin: 12px 0 14px;
    padding-left: 96px;
    padding-right: 96px;
    color: #1d1d1f;
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}

body.blog .portfolio-intro-quote,
body.category .portfolio-intro-quote {
    position: relative;
    padding: 8px 0 8px 16px;
    border-left: 3px solid #3D91FF;
}

body.blog .portfolio-intro-quote h3,
body.category .portfolio-intro-quote h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #111114;
}

body.blog .portfolio-intro-quote p,
body.category .portfolio-intro-quote p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #40434a;
}

/* 상단 포트폴리오 소개영역과 하단 목록영역 분리 */
body.blog .post-list-wrap .container > .row,
body.category .post-list-wrap .container > .row,
body.search .post-list-wrap .container > .row,
body.tag .post-list-wrap .container > .row {
    margin-top: 26px;
}

body.blog .post-list-wrap .container > .page-numbers,
body.category .post-list-wrap .container > .page-numbers,
body.search .post-list-wrap .container > .page-numbers,
body.tag .post-list-wrap .container > .page-numbers,
body.tax-work_categories section .container > .page-numbers {
    margin-left: 96px;
    margin-right: 96px;
}

@media (max-width: 940px) {
    body.blog .post-list-wrap .container > .row,
    body.category .post-list-wrap .container > .row,
    body.search .post-list-wrap .container > .row,
    body.tag .post-list-wrap .container > .row,
    body.tax-work_categories section .container > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-left: 0;
        padding-right: 0;
    }

    body.blog .portfolio-intro-quotes,
    body.category .portfolio-intro-quotes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 22px;
    }

    body.blog .portfolio-content-title,
    body.category .portfolio-content-title,
    body.search .portfolio-content-title,
    body.tag .portfolio-content-title {
        padding-left: 0;
        padding-right: 0;
    }

    body.blog .post-list-wrap .container > .page-numbers,
    body.category .post-list-wrap .container > .page-numbers,
    body.search .post-list-wrap .container > .page-numbers,
    body.tag .post-list-wrap .container > .page-numbers,
    body.tax-work_categories section .container > .page-numbers {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 640px) {
    body.blog .post-list-wrap .container > .row,
    body.category .post-list-wrap .container > .row,
    body.search .post-list-wrap .container > .row,
    body.tag .post-list-wrap .container > .row,
    body.tax-work_categories section .container > .row {
        grid-template-columns: 1fr;
    }

    body.blog .portfolio-intro-quotes,
    body.category .portfolio-intro-quotes {
        grid-template-columns: 1fr;
    }
}

body.category .category-empty-message {
    grid-column: 1 / -1;
    padding: 24px 0 8px;
    color: #5a5f69;
    font-size: 0.98rem;
    line-height: 1.75;
}

/* blog 목록 페이지는 Google식 미니멀 톤으로 */
body.blog {
    background: #ffffff !important;
}

body.blog .page-header {
    padding-bottom: 12px;
}

body.blog .post-list-wrap {
    padding-top: 6px;
}

body.search .post-list-wrap {
    padding-top: 6px;
}

body.tag .post-list-wrap {
    padding-top: 6px;
}

body.search .portfolio-content-title .search-query-text,
body.search .portfolio-content-title .search-result-count {
    margin-left: 8px;
    font-size: 0.58em;
    font-weight: 500;
    color: #6f7480;
}

body.tag .portfolio-content-title .tag-query-text,
body.tag .portfolio-content-title .tag-result-count {
    margin-left: 8px;
    font-size: 0.58em;
    font-weight: 500;
    color: #6f7480;
}

@media (max-width: 940px) and (min-width: 769px) {
    body.single .single-layout .align-left {
        width: calc(100% - 240px);
        margin-left: 0;
    }
}

@media (max-width: 940px) {
    body.single .single-layout {
        padding-left: 0;
        padding-right: 0;
        margin-top: 6px;
    }

    body.single .single-layout .align-right {
        padding-top: 0;
    }
}

/* 모바일: 본문 전체 너비 + 양쪽 정렬·좌우 5% 여백 (가독성) */
@media (max-width: 768px) {
    body.single .single-layout {
        flex-direction: column;
    }

    body.single .single-layout .align-left {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    body.single .single-layout .align-right {
        width: 100%;
    }

    body.single .post-content {
        text-align: justify;
        margin-left: 5%;
        margin-right: 5%;
        box-sizing: border-box;
    }

    /* 한글 줄바꿈과 양쪽 정렬 궁합 */
    body.single .post-content p,
    body.single .post-content li {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

/* 상세 페이지도 목록과 동일하게 히어로 아래 간격 정렬 */
body.single .single-layout {
    margin-top: 6px;
}

/* 글 상세: 이전글 / 다음글 — 사이드바 포함 레이아웃 전체 기준 가운데 */
body.single .single-layout > .single-post-pagination {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    order: 10;
    margin: 32px 0 40px;
    padding: 0;
    box-sizing: border-box;
}

body.single .single-post-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
}

body.single .single-post-pagination .pagination .prev-link,
body.single .single-post-pagination .pagination .list-link,
body.single .single-post-pagination .pagination .next-link {
    display: inline-block;
    float: none;
    margin: 0;
}

body.single .single-post-pagination .pagination .prev-link a,
body.single .single-post-pagination .pagination .list-link a,
body.single .single-post-pagination .pagination .next-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 12px 16px;
    margin: 0;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    border: none;
    background-color: #1c1e20;
    border-radius: 4px;
    text-decoration: none;
    box-sizing: border-box;
}

body.single .single-post-pagination .pagination .prev-link a:hover,
body.single .single-post-pagination .pagination .list-link a:hover,
body.single .single-post-pagination .pagination .next-link a:hover {
    background-color: #3d91ff;
    color: #ffffff !important;
}

body.single .single-post-pagination .pagination .prev-link.is-disabled,
body.single .single-post-pagination .pagination .next-link.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

body.single .single-post-pagination .pagination .prev-link.is-disabled span,
body.single .single-post-pagination .pagination .next-link.is-disabled span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 12px 16px;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    background-color: #1c1e20;
    border-radius: 4px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    body.single .single-post-pagination {
        padding-left: 5%;
        padding-right: 5%;
    }
}

/* pre / code 블록 */
pre, code {
    background-color: #f1f3f5 !important;
    color: #e83e8c !important;
    border: 1px solid #dee2e6;
}

/* ============================================================
   6. 섹션 배경 (다크 → 라이트)
   원본에서 #393d41 배경이 사용된 슬라이더/카드 요소
============================================================ */
.swiper-button-prev,
.swiper-button-next,
[class*="swiper-button"] {
    background-color: #e9ecef !important;
}

/* 슬라이더 페이지네이션 */
.swiper-pagination-bullet-active {
    background-color: #393d41 !important;
}

/* 다크 배경 섹션 → 라이트로 전환 */
[style*="background-color: #1C1E20"],
[style*="background-color:#1C1E20"],
[style*="background: #1C1E20"],
[style*="background:#1C1E20"] {
    background-color: #f8f9fa !important;
    color: #1C1E20 !important;
}

/* ============================================================
   7. 버튼
============================================================ */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.btn {
    background-color: #1C1E20;
    color: #ffffff;
    border: 1px solid #1C1E20;
    border-radius: 4px;
    cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.btn:hover {
    background-color: #393d41;
    color: #ffffff;
}

/* 기본 버튼 (원본 #F06D49 강조색 유지) */
.button,
.wp-block-button__link {
    background-color: #3D91FF;
    color: #ffffff !important;
}

.button:hover,
.wp-block-button__link:hover {
    background-color: #2F7DE6;
    color: #ffffff !important;
}

/* ============================================================
   8. 폼 / 인풋
============================================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
    background-color: #ffffff !important;
    color: #1C1E20 !important;
    border: 1px solid #ced4da !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #F06D49 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 109, 73, 0.15);
}

/* 검색 버튼 */
.search-submit {
    background: url(../supernormal2/svg/icon-search.svg) no-repeat center !important;
    background-size: 20px !important;
    color: transparent !important;
}

/* ============================================================
   9. 테이블
============================================================ */
table {
    border-collapse: collapse;
    width: 100%;
}

thead {
    background-color: #1C1E20;
    color: #ffffff;
}

th {
    color: #ffffff !important;
}

tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

tbody tr:hover {
    background-color: #f1f3f5;
}

td {
    color: #1C1E20;
    border-bottom: 1px solid #dee2e6;
}

/* ============================================================
   10. HR 구분선
============================================================ */
hr {
    background-color: #dee2e6 !important;
}

/* ============================================================
   11. 푸터 (site-footer)
   원본: background #1C1E20, 텍스트 #fff
   변경: 약간 어두운 배경 유지 (자연스러운 구분)
   또는 완전 라이트로 변경 가능
============================================================ */
footer.site-footer {
    background-color: #2c2f33 !important; /* 약간 어두운 푸터 유지 (디자인 균형) */
    color: #E8E4DF;
}

footer.site-footer a,
footer.site-footer p,
footer.site-footer span {
    color: #E8E4DF;
}

footer.site-footer a:hover {
    color: #F06D49;
}

/* 푸터를 완전 흰색으로 원하면 아래 주석 해제:
footer.site-footer {
    background-color: #f8f9fa !important;
    color: #1C1E20 !important;
    border-top: 1px solid #dee2e6;
}
footer.site-footer a,
footer.site-footer p,
footer.site-footer span {
    color: #1C1E20 !important;
}
*/

/* ============================================================
   12. 페이지 네비게이션 / 페이지네이션
============================================================ */
.page-numbers,
.nav-links a {
    color: #1C1E20;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.page-numbers.current,
.page-numbers:hover,
.nav-links a:hover {
    background-color: #1C1E20;
    color: #ffffff;
}

/* 목록 아카이브: 블록 페이징 (<< < 1 2 > >>) */
.firststitch-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 48px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    clear: both;
}

.firststitch-pagination__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.firststitch-pagination .firststitch-page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #1C1E20;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    box-sizing: border-box;
}

.firststitch-pagination a.firststitch-page-numbers:hover {
    background-color: #1C1E20;
    color: #ffffff;
    border-color: #1C1E20;
}

.firststitch-pagination .firststitch-page-numbers.is-current {
    background-color: #1C1E20;
    color: #ffffff;
    border-color: #1C1E20;
}

.firststitch-pagination .firststitch-page-numbers.is-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* 목록 그리드와 동일한 좌우 패딩 안에서 가운데 정렬 (margin 사용 시 밀림 발생) */
body.blog .post-list-wrap .container > .firststitch-pagination,
body.category .post-list-wrap .container > .firststitch-pagination,
body.search .post-list-wrap .container > .firststitch-pagination,
body.tag .post-list-wrap .container > .firststitch-pagination,
body.tax-work_categories section .container > .firststitch-pagination {
    margin-left: 0;
    margin-right: 0;
    padding-left: 96px;
    padding-right: 96px;
}

@media (max-width: 940px) {
    body.blog .post-list-wrap .container > .firststitch-pagination,
    body.category .post-list-wrap .container > .firststitch-pagination,
    body.search .post-list-wrap .container > .firststitch-pagination,
    body.tag .post-list-wrap .container > .firststitch-pagination,
    body.tax-work_categories section .container > .firststitch-pagination {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ============================================================
   13. 카드 / 포스트 목록 아이템
============================================================ */
.post,
.type-post,
article {
    background-color: #ffffff;
}

/* 포스트 카테고리 태그 */
.cat-links a,
.tags-links a {
    background-color: #f1f3f5;
    color: #495057 !important;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.85em;
}

/* ============================================================
   14. 스크롤바 (선택사항)
============================================================ */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}

/* ============================================================
   15. 헤더 인스타그램 메뉴 아이콘 (차일드 테마)
============================================================ */
.site-header .site-navigation ul.menu > li > a[href*="instagram.com"] {
    width: 22px;
    height: 22px;
    display: inline-block;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
    background: url(icon-instagram-color.svg) no-repeat center;
    background-size: 22px 22px;
    opacity: 1;
}

.site-header .site-navigation ul.menu > li > a[href*="instagram.com"]:hover {
    opacity: 1;
}

/* ============================================================
   16. 푸터 개인정보처리방침 링크
============================================================ */
.site-footer .copyright .footer-divider {
    margin: 0 8px;
    opacity: 0.6;
}

.site-footer .copyright .footer-brand-link {
    display: inline-flex;
    align-items: center;
    margin: 0 3px;
    vertical-align: middle;
}

.site-footer .copyright .footer-brand-logo {
    display: block;
    width: auto;
    height: 26px;
}

.site-footer .copyright .privacy-policy-link {
    color: #E8E4DF !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer .copyright .privacy-policy-link:hover {
    color: #F06D49 !important;
}

/* ============================================================
   17. 푸터 하단 중앙 정렬
============================================================ */
footer.site-footer .site-info {
    justify-content: center !important;
    text-align: center;
}

footer.site-footer .site-info .copyright {
    text-align: center;
}

.site-header .site-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-header .site-logo-image {
    display: block;
    width: auto;
    height: 38px;
}

/* 모바일/태블릿에서 햄버거 메뉴 표시 */
@media screen and (max-width: 940px) {
    .site-navigation {
        display: none;
    }

    .menu-btn {
        display: block;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 9999;
    }

    .menu-btn .menu-icon {
        background: url(../supernormal2/svg/icon-menu.svg) no-repeat center;
        background-size: 30px;
    }

    .menu-btn.active .menu-icon {
        background: url(../supernormal2/svg/icon-cancel.svg) no-repeat center;
        background-size: 28px;
    }

    /* 모바일 오버레이 메뉴 가독성 조정 */
    .menu-container .more-navigation li a {
        font-size: 28px;
        line-height: 1.15;
        color: #1C1E20;
        padding-right: 58px;
    }

    .menu-container .more-navigation li {
        display: block;
        width: 100%;
    }

    .menu-container .more-navigation li .sub-menu a {
        font-size: 18px;
    }

    /* 포트폴리오 우측 토글 버튼 식별 개선 */
    .menu-container .more-navigation .toggle-btn {
        width: 44px;
        height: 44px;
        border: 1px solid #aeb7c3;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        position: relative;
    }

    .menu-container .more-navigation .toggle-btn::before {
        content: "+";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -52%);
        color: #2f3a48;
        font-size: 28px;
        line-height: 1;
        font-weight: 500;
    }

    .menu-container .more-navigation li.menu-item-has-children.fs-open .toggle-btn::before {
        content: "-";
        transform: translate(-50%, -56%);
    }

    .menu-container .more-navigation li.menu-item-has-children > .toggle-btn {
        position: absolute;
        right: 0;
        top: 8px;
        transform: none;
        z-index: 2;
    }

    .menu-container .more-navigation li.menu-item-has-children > .toggle-btn.show {
        transform: none;
    }
}

/* 활성 메뉴 하단 언더바 (파란색) */
.site-header .site-navigation ul.menu > li.current-post-ancestor > a,
.site-header .site-navigation ul.menu > li.current-menu-item > a,
.site-header .site-navigation ul.menu > li.current-menu-parent > a,
.site-header .site-navigation ul.menu > li.current_page_item > a,
.site-header .site-navigation ul.menu > li.current_page_parent > a {
    color: #1C1E20 !important;
    text-decoration-line: underline;
    text-decoration-color: #3D91FF;
    text-decoration-thickness: 3px;
    text-underline-offset: 10px;
    text-decoration-skip-ink: none;
}

.site-header .site-navigation ul.menu > li.current-post-ancestor > a:after,
.site-header .site-navigation ul.menu > li.current-menu-item > a:after,
.site-header .site-navigation ul.menu > li.current-menu-parent > a:after,
.site-header .site-navigation ul.menu > li.current_page_item > a:after,
.site-header .site-navigation ul.menu > li.current_page_parent > a:after {
    content: none !important;
}

/* ============================================================
   front-page work-section 설명 영역
============================================================ */
/* 제목 전체 너비 → 설명 3열은 그 아래 한 블록으로 배치 */
.work-section .category-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.work-section .category-title-wrap .category-title {
    width: 100%;
    word-break: keep-all;
    line-height: 1.25;
    margin-bottom: 0;
    font-weight: 800;
}

.section-desc-wrap {
    display: flex;
    gap: 32px;
    margin: 24px 0 40px 0;
    flex-wrap: wrap;
}

.work-section .section-desc-wrap {
    margin-top: 28px;
    margin-bottom: 40px;
    width: 100%;
}

.section-desc-item {
    flex: 1;
    min-width: 200px;
    padding: 24px;
    background-color: #f8f9fa;
    border-left: 3px solid #3D91FF;
    border-radius: 0 8px 8px 0;
}

.work-section .section-desc-item {
    min-width: min(100%, 220px);
    padding: 28px 26px;
}

.section-desc-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1C1E20;
    margin: 0 0 8px 0;
}

.section-desc-item p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}

.work-section .section-desc-item h4 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.work-section .section-desc-item p {
    font-size: 1rem;
    line-height: 1.75;
    color: #495057;
}

@media screen and (min-width: 992px) {
    .work-section .section-desc-item h4 {
        font-size: 1.1875rem;
    }

    .work-section .section-desc-item p {
        font-size: 1.0625rem;
        line-height: 1.72;
    }
}

/* ============================================================
   work-section 상단 일러스트 (글 없음, 작품 포트폴리오 위)
============================================================ */
.work-section .work-empty-top {
    margin: 0 0 8px 0;
    justify-content: center;
}

.work-section .work-empty-top .empty-wrap {
    margin: 0 auto;
    padding: 32px 0 16px;
}

.work-section .work-empty-top .empty-graphic {
    width: 220px;
    height: 220px;
    display: block;
}

.empty-wrap--graphic-only p {
    display: none;
}

/* ============================================================
   front-page 하단 버튼 색상 통일 (더 알아보기 버튼 기준)
============================================================ */
.section-blog .category-title-wrap .button.line-button {
    background-color: #3D91FF;
    border-color: #3D91FF;
    color: #ffffff !important;
}

.section-blog .category-title-wrap .button.line-button:hover {
    background-color: #2F7DE6;
    border-color: #2F7DE6;
    color: #ffffff !important;
}

.scroll-top {
    background-color: #3D91FF;
    border: 1px solid #3D91FF;
    cursor: pointer;
}

.scroll-top:hover {
    background-color: #2F7DE6;
    border-color: #2F7DE6;
}

.scroll-top .scroll-top-icon {
    opacity: 1;
    filter: brightness(0) invert(1);
}

/* ============================================================
   히어로 모자이크 이미지 그리드
============================================================ */

/* page-header 기본 여백/배경 초기화 */
.page-header {
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    overflow: hidden;
}

/* 모자이크 전체 컨테이너 */
.hero-mosaic {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 480px;
    width: 100%;
    overflow: hidden;
}

/* 왼쪽 큰 이미지 */
.mosaic-left {
    grid-column: 1;
    grid-row: 1;
    overflow: hidden;
}

.mosaic-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.mosaic-left img:hover {
    transform: scale(1.03);
}

.mosaic-left .mosaic-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
}

.mosaic-left .mosaic-image:hover {
    transform: scale(1.03);
}

/* 오른쪽 3단 컨테이너 */
.mosaic-right {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 3px;
    overflow: hidden;
}

.mosaic-right-top,
.mosaic-right-mid,
.mosaic-right-bot {
    overflow: hidden;
}

.mosaic-right-top img,
.mosaic-right-mid img,
.mosaic-right-bot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.mosaic-right-top img:hover,
.mosaic-right-mid img:hover,
.mosaic-right-bot img:hover {
    transform: scale(1.05);
}

.mosaic-right-top .mosaic-image,
.mosaic-right-mid .mosaic-image,
.mosaic-right-bot .mosaic-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
}

.mosaic-right-top .mosaic-image:hover,
.mosaic-right-mid .mosaic-image:hover,
.mosaic-right-bot .mosaic-image:hover {
    transform: scale(1.05);
}

/* 이미지 위 텍스트 오버레이 */
.hero-text-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.18) 0%,
        rgba(0, 0, 0, 0.32) 55%,
        rgba(0, 0, 0, 0.24) 100%
    );
    z-index: 10;
}

/* 히어로 텍스트 */
.hero-text-overlay .hero-title {
    color: #ffffff !important;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    margin-bottom: 12px;
}

.hero-text-overlay .hero-title .serif {
    color: #8fd8c8 !important; /* 저채도 민트: 배경과 자연스럽게 조화 */
    -webkit-text-fill-color: #8fd8c8 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-text-overlay .container {
    width: 100%;
    text-align: center;
    max-width: 720px;
    padding: 28px 32px;
    background: rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    backdrop-filter: blur(2px);
}

.hero-text-overlay .archive-description {
    color: #ffd59b !important;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    letter-spacing: 0.15em;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

/* 모자이크 이미지 사이 간격 */
.hero-mosaic {
    gap: 3px;
    background-color: #f0f0f0;
}

/* ============================================================
   반응형 - 모바일에서는 1장만 표시
============================================================ */
@media (max-width: 768px) {
    .hero-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: 360px;
    }

    .mosaic-right {
        display: none; /* 모바일에서 오른쪽 3장 숨김 */
    }

    .mosaic-left {
        grid-column: 1;
    }

    .hero-text-overlay {
        background: rgba(0, 0, 0, 0.30);
    }

    .hero-text-overlay .container {
        padding: 20px 18px;
        border-radius: 10px;
    }
}

/* ============================================================
   히어로 모자이크 - 부모 테마 충돌 강제 수정
============================================================ */

/* 부모 테마의 .home .page-header .container { padding-top: 140px } 무력화 */
.home .page-header .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 부모 테마의 text-align: center 무력화 */
.page-header {
    text-align: left !important;
}

/* hero-mosaic 높이 명시적 지정 */
.hero-mosaic {
    height: 480px !important;
    min-height: 480px !important;
}

/* mosaic-left, mosaic-right 높이 상속 */
.mosaic-left,
.mosaic-right {
    height: 100% !important;
    min-height: 480px !important;
}

/* 이미지 강제 표시 */
.mosaic-left img,
.mosaic-right-top img,
.mosaic-right-mid img,
.mosaic-right-bot img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 모바일에서는 히어로 높이 축소 (강제값 재정의) */
@media (max-width: 768px) {
    .hero-mosaic {
        height: 360px !important;
        min-height: 360px !important;
    }

    .mosaic-left,
    .mosaic-right {
        min-height: 360px !important;
    }
}

/* 부모/커스텀 CSS에서 hero를 숨기는 규칙보다 높은 특이도로 강제 노출 */
body.home.page main.site-main > .page-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.home.page main.site-main > .page-header .hero-mosaic {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.home.page main.site-main > .page-header .hero-text-overlay {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 관련글 섹션 숨기기 */
.related-posts,
.related-section,
.related-wrap {
    display: none !important;
}

/* ============================================================
   front-page 리디자인 (iPhone 페이지 톤 참고)
============================================================ */
body.home {
    background: #f5f5f7 !important;
    color: #1d1d1f !important;
    letter-spacing: -0.01em;
}

body.home .site-main section {
    padding: 96px 0;
}

body.home .site-main .container {
    max-width: 1180px;
}

/* Hero: 더 미니멀한 대형 비주얼 */
body.home .page-header {
    margin-top: 8px !important;
}

body.home .hero-mosaic {
    border-radius: 28px;
    overflow: hidden;
    gap: 2px;
    background: #d7dbe0;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

/* 섹션 타이틀 스타일 통일 */
body.home .work-section .category-title,
body.home .section-blog .category-title,
body.home .about-section h2 {
    font-size: clamp(2rem, 4.3vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800 !important;
    color: #1d1d1f !important;
}

body.home .work-section .category-title-wrap,
body.home .section-blog .category-title-wrap {
    margin-bottom: 28px;
}

/* 설명 카드: 라인 강조 대신 카드형 */
body.home .section-desc-wrap {
    gap: 20px;
    margin-top: 24px;
}

body.home .section-desc-item {
    border-left: 0;
    border-radius: 22px;
    border: 1px solid #e5e5e7;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
    padding: 28px 26px;
}

body.home .section-desc-item h4 {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.home .section-desc-item p {
    color: #4d4d52;
    line-height: 1.75;
}

/* About 섹션 카드화 */
body.home .about-section .row {
    background: #ffffff;
    border: 1px solid #e6e6eb;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.06);
}

body.home .about-section .text-wrap {
    padding: 36px 30px;
}

/* 버튼: iPhone 느낌의 블루 필 */
body.home .button,
body.home .wp-block-button__link,
body.home .section-blog .category-title-wrap .button.line-button,
body.home .scroll-top {
    border-radius: 980px;
    background: #0071e3 !important;
    border-color: #0071e3 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(0, 113, 227, 0.28);
}

body.home .button:hover,
body.home .wp-block-button__link:hover,
body.home .section-blog .category-title-wrap .button.line-button:hover,
body.home .scroll-top:hover {
    background: #0065cc !important;
    border-color: #0065cc !important;
}

/* 포트폴리오 카드 더 깔끔하게 */
body.home .section-blog article,
body.home .work-section article,
body.home .work-section .col-4 > *,
body.home .section-blog .col-4 > * {
    border-radius: 20px;
    border: 1px solid #e8e8ed;
    overflow: hidden;
    background: #ffffff;
}

@media (max-width: 991px) {
    body.home .site-main section {
        padding: 72px 0;
    }

    body.home .hero-mosaic {
        border-radius: 18px;
    }

    body.home .about-section .row {
        border-radius: 20px;
    }
}

/* ============================================================
   front-page 리디자인 2차 (더 강한 Apple 톤)
============================================================ */
body.home {
    background: #f5f5f7 !important;
    color: #101114 !important;
}

body.home .site-main section {
    padding: 112px 0;
}

body.home .site-main .container {
    max-width: 1200px;
}

/* Hero를 더 제품 쇼케이스처럼 */
body.home .hero-mosaic {
    min-height: 560px !important;
    height: 560px !important;
    grid-template-rows: minmax(0, 1fr) !important;
    border-radius: 34px;
    gap: 1px;
    background: #cfd3d8;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

body.home .mosaic-left .mosaic-image,
body.home .mosaic-right .mosaic-image {
    transform: scale(1.01);
}

/* 대형 헤드라인 중심의 타이포 대비 */
body.home .work-section .category-title,
body.home .section-blog .category-title,
body.home .about-section h2 {
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 800 !important;
    color: #111114 !important;
}

body.home .about-section p,
body.home .work-section p,
body.home .section-blog p {
    color: #2b2c30;
}

/* 카드 질감은 최소화: 얇은 보더 + 약한 그림자 */
body.home .section-desc-item {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d9d9df;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-radius: 24px;
}

body.home .section-desc-item h4 {
    color: #111114;
}

body.home .section-desc-item p {
    color: #3a3b41;
}

body.home .about-section .row {
    border-radius: 34px;
    border: 1px solid #dcdce2;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

body.home .about-section .img-wrap {
    height: 100%;
}

body.home .about-section .img-wrap img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* 버튼은 더 플랫하게 (Apple CTA 느낌) */
body.home .button,
body.home .wp-block-button__link,
body.home .section-blog .category-title-wrap .button.line-button,
body.home .scroll-top {
    background: #006fe8 !important;
    border-color: #006fe8 !important;
    box-shadow: none;
    border-radius: 999px;
    font-weight: 600;
}

body.home .button:hover,
body.home .wp-block-button__link:hover,
body.home .section-blog .category-title-wrap .button.line-button:hover,
body.home .scroll-top:hover {
    background: #005ec4 !important;
    border-color: #005ec4 !important;
}

/* 포트폴리오 리스트도 카드 간 밀도 완화 */
body.home .work-section .row,
body.home .section-blog .row {
    row-gap: 28px;
}

body.home .section-blog article,
body.home .work-section article,
body.home .work-section .col-4 > *,
body.home .section-blog .col-4 > * {
    border-radius: 22px;
    border: 1px solid #dbdbe2;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
}

@media (max-width: 768px) {
    body.home .site-main section {
        padding: 76px 0;
    }

    body.home .hero-mosaic {
        height: 380px !important;
        min-height: 380px !important;
        border-radius: 22px;
    }

    body.home .about-section .row {
        border-radius: 22px;
    }

    body.home .about-section .img-wrap img {
        max-height: 360px;
    }
}

/* ============================================================
   푸터 보완 - 태그라인 / 저작물 안내 / SNS
============================================================ */

/* 브랜드 영역 */
.footer-brand {
    text-align: center;
    padding: 32px 0 20px;
    border-bottom: 1px solid #3e4246;
    margin-bottom: 20px;
}

/* 태그라인 */
.footer-tagline {
    font-size: 14px;
    color: #BCBAB6;
    margin: 0 0 16px;
    letter-spacing: 0.05em;
}

/* 저작물 이용 안내 문구 */
.footer-copyright-notice {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    line-height: 1.7;
    margin: 0 0 16px;
}

/* 기존 site-info 상단 구분선 제거 (footer-brand 가 대신함) */
footer.site-footer .site-info {
    border-top: none !important;
    padding-top: 0 !important;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* copyright 텍스트 중앙 정렬 */
footer.site-footer .site-info .copyright {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

footer.site-footer .site-info .copyright a {
    color: #BCBAB6 !important;
}

footer.site-footer .site-info .copyright a:hover {
    color: #F06D49 !important;
}

/* 반응형 */
@media (max-width: 768px) {
    .footer-tagline {
        font-size: 13px;
    }

    .footer-copyright-notice {
        font-size: 11px;
    }
}

/* ============================================================
   20. 개인정보처리방침 상단 히어로 바
============================================================ */
.privacy-policy-hero {
    height: 10vh;
    min-height: 78px;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #f8f4ef 0%, #e8ddd0 100%);
    position: relative;
    overflow: hidden;
}

.privacy-policy-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.privacy-policy-hero span {
    color: #4A90D9;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.09em;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.privacy-policy-hero::before,
.privacy-policy-hero::after {
    content: "";
    position: absolute;
    top: 50%;
    width: min(22vw, 220px);
    height: 1px;
    background: linear-gradient(90deg, rgba(74, 144, 217, 0.45), rgba(143, 206, 248, 0.45));
}

.privacy-policy-hero::before {
    left: calc(50% - 280px);
}

.privacy-policy-hero::after {
    right: calc(50% - 280px);
}

/* ============================================================
   22. Apple tone redesign (header + home only)
============================================================ */
header,
.site-header,
#masthead {
    background-color: #F5F5F7 !important;
    border-bottom: 1px solid #D2D2D7 !important;
    backdrop-filter: blur(10px);
}

.main-navigation a,
.nav-menu a,
.site-navigation a,
.site-navigation li a,
.site-navigation .menu > li > a {
    color: #1D1D1F !important;
    font-size: 14px;
    font-weight: 400;
}

.site-title a {
    color: #1D1D1F !important;
}

body.home {
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif !important;
    color: #1D1D1F;
    -webkit-font-smoothing: antialiased;
}

body.home h1,
body.home h2,
body.home h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1D1D1F !important;
}

body.home p {
    color: #6E6E73;
    line-height: 1.7;
}

body.home .home-section-1 {
    background-color: #FFFFFF !important;
    color: #1D1D1F;
}

body.home .home-section-2 {
    background-color: #F5F5F7 !important;
    color: #1D1D1F;
}

body.home .home-section-3 {
    background-color: #FFFFFF !important;
    color: #1D1D1F;
}

body.home .home-section-4 {
    background-color: #F5F5F7 !important;
    color: #1D1D1F !important;
}

body.home .home-section-4 h1,
body.home .home-section-4 h2,
body.home .home-section-4 h3,
body.home .home-section-4 p {
    color: #1D1D1F !important;
}

body.home .home-section-5 {
    background-color: #F5F5F7 !important;
    color: #1D1D1F;
}

body.home .wp-block-group,
body.home section {
    padding: 80px 40px;
}

body.home .post-card,
body.home .card,
body.home .row .col-4 > article {
    background: #FFFFFF;
    border-radius: 18px;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.home .post-card:hover,
body.home .card:hover,
body.home .row .col-4 > article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    body.home .wp-block-group,
    body.home section {
        padding: 48px 20px;
    }
}

/* ============================================================
   26. 홈 소개영역 비율 조정 (이미지:텍스트 = 6:4)
============================================================ */
@media (min-width: 769px) {
    body.home .about-section .row {
        display: flex;
        align-items: stretch;
    }

    body.home .about-section .row > .col-6:first-child {
        width: 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }

    body.home .about-section .row > .col-6:last-child {
        width: 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }

    body.home .about-section .text-wrap {
        padding: 28px 24px;
    }

    body.home .about-section h2 {
        font-size: clamp(1.6rem, 2.6vw, 2.5rem) !important;
        line-height: 1.14 !important;
    }

    body.home .about-section p {
        font-size: 0.97rem;
        line-height: 1.65 !important;
    }
}

/* ============================================================
   23. Apple audit refinement (home consistency)
============================================================ */
body.home .site-main section {
    padding: 80px 40px !important;
}

body.home .site-main .container {
    max-width: 1200px;
}

body.home .work-section .category-title,
body.home .section-blog .category-title,
body.home .about-section h2 {
    font-size: clamp(2rem, 4.2vw, 3.6rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    font-weight: 600 !important;
    color: #1D1D1F !important;
}

body.home .about-section p,
body.home .work-section p,
body.home .section-blog p,
body.home .section-desc-item p {
    color: #6E6E73 !important;
    line-height: 1.7 !important;
}

body.home .hero-mosaic {
    border-radius: 24px !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08) !important;
}

body.home .section-desc-item,
body.home .section-blog article,
body.home .work-section article,
body.home .work-section .col-4 > *,
body.home .section-blog .col-4 > * {
    border: 1px solid #e5e5ea !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}

@media (max-width: 768px) {
    body.home .site-main section {
        padding: 48px 20px !important;
    }
}

/* 홈 하단: 포트폴리오와 인스타그램 영역 구분 */
body.home .instagram-feed-section {
    background-color: #ffffff !important;
    margin-top: 22px;
}

body.home .instagram-feed-section .instagram-title-wrap {
    margin-bottom: 22px;
}

body.home .instagram-feed-section .category-title {
    margin: 0;
}

/* 인스타그램 피드: 모바일에서도 이미지 + 텍스트 유지 */
body.home .instagram-feed-section #sb_instagram .sbi_item {
    border-radius: 14px;
    overflow: hidden;
}

body.home .instagram-feed-section #sb_instagram .sbi_photo_wrap {
    display: block;
}

body.home .instagram-feed-section #sb_instagram .sbi_photo {
    border-radius: 0;
}

body.home .instagram-feed-section #sb_instagram .sbi_caption {
    display: block !important;
    padding: 10px 12px 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #1d1d1f;
    background: #fff;
}

@media (max-width: 768px) {
    body.home .instagram-feed-section #sb_instagram #sbi_images {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.home .instagram-feed-section #sb_instagram #sbi_images .sbi_item {
        width: 100% !important;
        float: none !important;
        clear: none !important;
    }
}

/* ============================================================
   24. Header pixel tuning (Apple-like density)
============================================================ */
.site-header .container {
    max-width: 1200px;
    min-height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .site-logo-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.site-header .site-logo-image {
    max-height: 39px;
    width: auto;
}

.site-header .site-navigation ul.menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
}

.site-header .site-navigation ul.menu > li {
    margin: 0;
}

.site-header .site-navigation ul.menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0;
    line-height: 1;
    letter-spacing: -0.01em;
}

@media (max-width: 940px) {
    .site-header .container {
        min-height: 44px;
        padding: 0 14px;
    }

    .site-header .site-logo-image {
        max-height: 34px;
    }

    .site-header .site-navigation ul.menu {
        gap: 14px;
    }
}

/* ============================================================
   25. 모바일 햄버거 서브메뉴 토글 위치 강제 고정
============================================================ */
@media screen and (max-width: 940px) {
    .menu-container .more-navigation .gnb,
    .menu-container .more-navigation ul,
    .menu-container .more-navigation li {
        display: block !important;
        width: 100% !important;
    }

    .menu-container .more-navigation li.menu-item-has-children {
        position: relative !important;
        width: 100% !important;
    }

    .menu-container .more-navigation li.menu-item-has-children > a,
    .menu-container .more-navigation li.menu-item-has-children a {
        display: block !important;
        width: 100% !important;
        padding-right: 64px !important;
        box-sizing: border-box !important;
    }

    .menu-container .more-navigation li.menu-item-has-children .toggle-btn {
        position: absolute !important;
        right: 6px !important;
        top: 10px !important;
        transform: none !important;
        margin: 0 !important;
        z-index: 3 !important;
    }

    .menu-container .more-navigation li.menu-item-has-children > .sub-menu {
        display: none !important;
    }

    .menu-container .more-navigation li.menu-item-has-children.show > .sub-menu {
        display: none !important;
    }

    .menu-container .more-navigation li.menu-item-has-children.fs-open > .sub-menu {
        display: block !important;
    }
}
