/* ========================================
   404 ERROR PAGE & SEARCH NO RESULTS — H-Style
   ======================================== */

/* ─── Hero 공통 ─── */

.e404-hero {
    background: linear-gradient(135deg, var(--color-hero-start, #0d3535) 0%, var(--color-hero-end, #1a5252) 100%);
    padding: 110px 40px 72px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 검색 결과 없음: min-height 줄임 (위에 hero가 이미 있음) */
.snr-hero {
    min-height: auto;
    padding: 72px 40px 80px;
    border-top: none;
}

.e404-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
}

/* ─── 브레드크럼 오버라이드 (archive.css 13px → 15px) ─── */

.e404-hero .archive-breadcrumb,
.snr-hero .archive-breadcrumb {
    font-size: 15px;
    margin-bottom: 44px;
    gap: 6px;
}

.e404-hero .archive-bc-sep,
.snr-hero .archive-bc-sep {
    font-size: 13px;
    margin: 0 4px;
}

/* ─── Body (숫자 + 메시지) ─── */

.e404-body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 44px;
}

/* 404 큰 숫자 */
.e404-code {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -4px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    user-select: none;
}

/* 검색 결과 없음 큰 아이콘 */
.snr-icon-xl {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0.8;
}

.snr-icon-xl svg {
    width: 100%;
    height: 100%;
}

.e404-message {
    padding-top: 14px;
}

.e404-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 14px;
}

.e404-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0;
}

/* ─── 검색 폼 ─── */

.e404-search {
    margin-bottom: 36px;
}

.e404-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.e404-search-form:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
}

.e404-search-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-size: 15px;
    color: #ffffff;
    font-family: inherit;
}

.e404-search-field::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.e404-search-btn {
    background: #ffffff;
    border: none;
    padding: 0 22px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-hero-start, #0d3535);
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.e404-search-btn:hover {
    background: #f0f0f0;
}

/* ─── 홈 버튼 (중앙정렬 + 버튼 스타일) ─── */

.e404-actions {
    display: flex;
    justify-content: center;
}

.e404-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding: 13px 28px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.e404-home-btn:hover {
    color: #ffffff;
    border-color: var(--color-accent, #16a085);
    background: var(--color-accent, #16a085);
}

.e404-home-btn svg {
    flex-shrink: 0;
}

/* ─── 최근 글 섹션 ─── */

.e404-recent-section {
    background: #ffffff;
    padding: 64px 40px 80px;
}

.e404-recent-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.e404-recent-title {
    font-size: 15px;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
}
