/*
Theme Name: Planc Blog A
Theme URI: https://demo-01.studioplanc.com
Author: Studio Planc
Author URI: https://studioplanc.com
Description: A clean, minimal blog theme for studioplanc.com.
Version: 1.0.0
Text Domain: studioplanc-blog
*/

/* ============================================
   0. FONT-DISPLAY OVERRIDE
   ============================================ */
@font-face {
    font-family: 'Pretendard Variable';
    font-display: swap;
}

/* ============================================
   0. CSS RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: #4e5968;
    line-height: 1.6;
    word-break: keep-all;
    /* 2026-07-11 전체 단어 단위 줄바꿈 */
    overflow-wrap: break-word;
    /* 긴 URL 등 넘침 방지 */
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #191f28;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #191f28;
    font-weight: 600;
    line-height: 1.3;
}

/* ============================================
   1. HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
    border-bottom: 1px solid #f2f4f6;
}

[data-theme="dark"] .site-header.scrolled {
    border-bottom-color: #22222a;
}

.site-header.header-hidden {
    transform: none;
    /* 2026-07-11 토스식 상시 고정 — 스크롤 숨김 비활성 */
}

/* 3열 레이아웃: 로고 | pill nav | actions */
.header-inner {
    max-width: 1408px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* ---- 로고 ---- */
.site-logo {
    display: flex;
    align-items: center;
    justify-self: start;
}

.site-logo img {
    height: 30px;
    width: auto;
}

/* ---- Pill Nav (중앙) ---- */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-pill {
    background: #eee;
    border-radius: 50px;
    padding: 6px;
    display: flex;
    align-items: center;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.main-nav .nav-list>li {
    position: relative;
}

.main-nav .nav-list>li>a {
    display: block;
    padding: 5px 17px;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    border-radius: 50px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.main-nav .nav-list>li>a:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #191f28;
    opacity: 1;
}

/* 현재 페이지 활성 상태 */
.main-nav .nav-list>li.current-menu-item>a,
.main-nav .nav-list>li.current-menu-ancestor>a,
.main-nav .nav-list>li.current-cat>a {
    background: #3182f6;
    color: #fff;
    font-weight: 600;
}

/* ::after 언더라인 제거 */
.main-nav a::after {
    display: none;
}

/* ---- 우측 액션 영역 ---- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
}

.header-textlink {
    font-size: 16px;
    font-weight: 500;
    color: #4e5968;
    text-decoration: none;
    padding: 6px 10px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.header-textlink:hover {
    color: #191f28;
}

.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    border-radius: 50%;
    color: #4e5968;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.header-icon-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #191f28;
}

/* ---- 모바일 햄버거 ---- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #191f28;
    margin: 3.5px 0;
    transition: all 0.25s ease;
    border-radius: 2px;
}

/* ============================================
   2. CONTAINER
   ============================================ */
.container {
    max-width: 1408px;
    margin: 0 auto;
    padding: 0 32px;
}

.container--narrow {
    max-width: 790px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   3. BLOG HERO / PAGE TITLE
   ============================================ */
.page-hero {
    padding: 60px 0 40px;
}

.page-hero__title {
    font-size: 32px;
    font-weight: 700;
    color: #191f28;
    letter-spacing: -0.5px;
}

.page-hero__desc {
    font-size: 16px;
    color: #8b95a1;
    margin-top: 8px;
}

/* ============================================
   4. CATEGORY FILTERS
   ============================================ */
/* ============================================
   4a. ARCHIVE HEADER
   ============================================ */
.archive-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 36px 0 28px;
}

.archive-header__title {
    font-size: 22px;
    font-weight: 700;
    color: #191f28;
    white-space: nowrap;
    letter-spacing: -0.3px;
    flex-shrink: 0;
}

.archive-header__line {
    display: block;
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
}

.category-filters {

    display: flex;
    align-items: center;
    gap: 8px;
    padding: 28px 0 28px;
    flex-wrap: wrap;
}

.category-filters a {
    font-size: 14px;
    font-weight: 500;
    color: #8b95a1;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-filters a:hover,
.category-filters a.active {
    color: #191f28;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

/* ============================================
   5. POST GRID
   ============================================ */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
    padding: 0 0 80px;
}

/* ============================================
   6. POST CARD
   ============================================ */
.post-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
    border: none;
    overflow: visible;
    transition: none;
    padding: 8px;
}

.post-card::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 20px;
    background: rgba(2, 32, 71, 1);
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
    z-index: 0;
}

.post-card:hover::before {
    opacity: 0.03;
    transform: scale(1);
}

.post-card>* {
    position: relative;
    z-index: 1;
}

.post-card__thumb {
    position: relative;
    padding-bottom: 60.24%;
    /* 5:3 */
    overflow: hidden;
    background: #e8e8e8;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04)
}

.post-card__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.post-card__body {
    padding: 12px 0 16px;
}

.post-card__meta {
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 5px;
}

.post-card__category {
    font-size: 14px;
    font-weight: 500;
}

/* Category accent colors */
.cat-team-story {
    color: rgb(240, 71, 133);
}

.cat-session {
    color: #3182f6;
}

.cat-news {
    color: rgb(0, 122, 230);
}

.cat-tips {
    color: rgb(143, 64, 222);
}

.cat-design {
    color: rgb(0, 166, 118);
}

.cat-default {
    color: #3182f6;
}

.post-card__date {
    font-size: 14px;
    color: #8b95a1;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0;
}

/* 카테고리 뒤 세로 라인 구분자 */
.post-card__category+.post-card__date::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 10px;
    background: rgba(141, 150, 161, 0.3);
    margin: 0 8px;
    flex-shrink: 0;
    align-self: center;
}

.post-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #191f28;
    line-height: 1.4;
    margin-bottom: 5px;
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__excerpt {
    font-size: 18px;
    color: #8b95a1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
}

/* ============================================
   7. SINGLE POST
   ============================================ */
.single-header {
    padding: 60px 0 32px;
    text-align: center;
}

.single-header__category {
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.single-header__title {
    font-size: 40px;
    font-weight: 700;
    color: #191f28;
    line-height: 1.3;
    letter-spacing: -0.8px;
    max-width: 800px;
    margin: 0 auto 20px;
}

.single-header__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    color: #8b95a1;
}

.single-header__author {
    font-weight: 500;
    color: #4e5968;
}

.single-header__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #8b95a1;
}

/* Featured Image */
.single-featured {
    margin: 0 auto 48px;
    max-width: 960px;
    border-radius: 12px;
    overflow: hidden;
}

.single-featured img {
    width: 100%;
    height: auto;
    max-width: 742px;
    margin: 0 auto;
}

/* Post Content */
.single-content {
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 0;
    word-break: keep-all;
    color: #333d4b;
    padding-bottom: 80px;
}

.single-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #191f28;
    margin: 90px 0 16px;
}

.single-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333d4b;
    margin: 40px 0 12px;
}

.single-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin: 32px 0 8px;
}

.single-content p {
    margin-bottom: 24px;
}

.single-content ul,
.single-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.single-content ul {
    list-style: disc;
}

.single-content ol {
    list-style: decimal;
}

.single-content li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.single-content blockquote {
    padding: 40px 40px 20px;
    margin: 32px 0;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 25px;
    color: #333d4b;
}

.single-content img {
    border-radius: 8px;
    margin: 32px 0;
}

.single-content a {
    color: #3182f6;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 106, 13, 0.3);
    transition: text-decoration-color 0.2s ease;
}

.single-content a:hover {
    text-decoration-color: #3182f6;
    color: #3182f6;
}

.single-content pre {
    background: #191f28;
    color: #f8f8f8;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 32px 0;
    font-size: 14px;
    line-height: 1.6;
}

.single-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

.single-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.single-content figure {
    margin: 32px 0;
}

.single-content figcaption {
    font-size: 14px;
    color: #8b95a1;
    text-align: center;
    margin-top: 12px;
}

/* ---- Task Checklist ---- */
.single-content li.task-item {
    list-style: none;
    margin-left: -20px;
    padding-left: 0;
}

/* ---- Toss-style callout box (박스 텍스트) ---- */
.single-content .callout {
    margin: 24px 0;
    padding: 16px 40px 32px;
    border-radius: 16px;
    background-color: #f2f4f6;
}

.single-content .callout .callout-title {
    font-size: 15px;
    font-weight: 700;
    color: #191f28;
    margin: 16px 0 10px;
}

.single-content .callout p {
    font-size: 15px;
    line-height: 1.7;
    color: #4e5968;
    margin-bottom: 12px;
}

.single-content .callout p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .single-content .callout {
        padding: 14px 20px 24px;
    }
}

[data-theme="dark"] .single-content .callout {
    background-color: #22222a;
}

[data-theme="dark"] .single-content .callout .callout-title {
    color: #e4e8ee;
}

[data-theme="dark"] .single-content .callout p {
    color: #b0b8c1;
}

/* ---- Toss-style footnote (주석) ---- */
.single-content sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    top: -0.4em;
    color: #8b95a1;
}

.single-content .footnote {
    font-size: 13px;
    line-height: 1.7;
    color: #8b95a1;
    word-break: keep-all;
    margin: 25px 0 24px;
    white-space: pre-wrap;
}

/* ---- Highlight (형광펜) ---- */
.single-content mark {
    background: rgba(63, 213, 153, 0.22);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.task-check {
    display: inline-block;
    font-style: normal;
    font-size: 1.1em;
    margin-right: 6px;
    vertical-align: -0.1em;
    color: #8b95a1;
    line-height: 1;
}

.task-check--done {
    color: #2ecc71;
}

/* ---- Table ---- */
.single-content table,
.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 18px;
    line-height: 1.5;
}

.single-content table thead th,
.wp-block-table table thead th {
    background: #191f28;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.single-content table thead th:first-child,
.wp-block-table table thead th:first-child {
    border-radius: 8px 0 0 0;
}

.single-content table thead th:last-child,
.wp-block-table table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.single-content table tbody tr,
.wp-block-table table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.12s ease;
}

.single-content table tbody tr:last-child,
.wp-block-table table tbody tr:last-child {
    border-bottom: none;
}

.single-content table tbody tr:hover,
.wp-block-table table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.single-content table td,
.wp-block-table table td {
    padding: 12px 16px;
    color: #4e5968;
    vertical-align: top;
}

.single-content table td:first-child,
.wp-block-table table td:first-child {
    font-weight: 500;
    color: #191f28;
    white-space: nowrap;
}

/* 모바일 스크롤 */
.single-content .wp-block-table,
.single-content figure.wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 32px 0;
}

/* ============================================
   8. SHARE BUTTONS
   ============================================ */
.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    margin-top: 48px;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.share-bar__label {
    font-size: 14px;
    font-weight: 500;
    color: #8b95a1;
    margin-right: 4px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #4e5968;
    font-size: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
}

/* ============================================
   9. POST NAVIGATION
   ============================================ */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 48px 0 80px;
}

.post-nav__item {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.post-nav__item:hover {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.01);
}

.post-nav__label {
    font-size: 12px;
    font-weight: 500;
    color: #8b95a1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.post-nav__title {
    font-size: 16px;
    font-weight: 600;
    color: #191f28;
    line-height: 1.4;
}

.post-nav__item--next {
    text-align: right;
}

/* ============================================
   10. PAGINATION
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 80px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4e5968;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
}

.pagination .current {
    background: #191f28;
    color: #fff;
    border-color: #191f28;
}

/* ============================================
   11. FOOTER
   ============================================ */
.site-footer {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 40px 0;
}

.footer-inner {
    max-width: 1408px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 14px;
    color: #8b95a1;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 14px;
    color: #8b95a1;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #191f28;
}

/* ============================================
   12. SEARCH PAGE
   ============================================ */
.search-hero {
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.search-hero__inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
}

.search-form__wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50px;
    padding: 14px 20px;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.search-form__wrap:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.search-form__icon {
    flex-shrink: 0;
    color: #8b95a1;
}

.search-form__input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 17px;
    font-family: inherit;
    color: #191f28;
    outline: none;
    min-width: 0;
}

.search-form__input::placeholder {
    color: #8b95a1;
}

.search-form__clear {
    display: flex;
    align-items: center;
    color: #8b95a1;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.search-form__clear:hover {
    color: #191f28;
}

.search-count {
    margin-top: 20px;
    font-size: 15px;
    color: #8b95a1;
    padding: 0 4px;
}

.search-count strong {
    color: #191f28;
    font-weight: 600;
}

.search-count span {
    margin-left: 6px;
    font-weight: 500;
    color: #3182f6;
}

.search-empty {
    text-align: center;
    padding: 80px 0;
}

.search-empty__msg {
    font-size: 18px;
    color: #4e5968;
    margin-bottom: 8px;
}

.search-empty__sub {
    font-size: 15px;
    color: #8b95a1;
}

/* ============================================
   13. PAGE TEMPLATE
   ============================================ */
.page-content {
    padding: 60px 0 80px;
}

.page-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

.page-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ============================================
   13. 404 PAGE
   ============================================ */
.error-404 {
    text-align: center;
    padding: 120px 0;
}

.error-404 h1 {
    font-size: 120px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.06);
    line-height: 1;
    margin-bottom: 16px;
}

.error-404 p {
    font-size: 18px;
    color: #8b95a1;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    background: #191f28;
    color: #fff;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: rgb(30, 35, 40);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   14. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
    }

    .single-header__title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {

    .footer-copy,
    .footer-links a {
        font-size: 12px;
    }

    .site-logo img {
        height: 28px;
    }

    .single-content table thead th,
    .wp-block-table table thead th {
        font-size: 16px;
    }

    /* ---- Table ---- */
    .single-content table,
    .wp-block-table table {

        font-size: 16px;

    }

    /* 3열 grid → flex 전환 */
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        height: 70px;
    }

    /* pill nav 숨기기 */
    .main-nav {
        display: none;
    }

    /* 아이콘 버튼 숨기기 */
    .header-icon-btn {
        display: none;
    }

    /* 햄버거 버튼 표시 */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        z-index: 1001;
    }

    /* 열림 상태: 풀스크린 오버레이 nav */
    /* 열림 상태: 헤더 아래 드롭다운 (2026-07-13) */
    .main-nav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #f2f4f6;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
        z-index: 999;
    }

    .main-nav.open .nav-pill {
        display: block;
        background: transparent;
        border-radius: 0;
        padding: 8px 20px 14px;
    }

    .main-nav.open .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .main-nav.open .nav-list>li {
        width: 100%;
    }

    .main-nav.open .nav-list>li>a {
        display: block;
        padding: 13px 0;
        font-size: 16px;
        font-weight: 500;
        color: #191f28;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .main-nav.open .nav-list>li>a:hover {
        background: transparent;
        opacity: 0.5;
    }

    [data-theme="dark"] .main-nav.open {
        background: #17171c;
        border-bottom-color: #22222a;
    }

    [data-theme="dark"] .main-nav.open .nav-list>li>a {
        color: #e4e8ee;
    }


    .container {
        padding: 0 20px;
    }

    /* 모바일 카드 그리드 → 세로 리스트 */
    .post-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-top: 0;
    }

    /* 카드 → 가로 row 레이아웃 */
    .post-card {
        flex-direction: row;
        align-items: flex-start;
        padding: 20px 0;
        gap: 0;
    }

    /* 썸네일 <a> 래퍼 — 우측 배치 */
    .post-card>a {
        order: 2;
        flex-shrink: 0;
        margin-left: 16px;
        align-self: flex-start;
    }

    /* 썸네일 — 고정 크기 */
    .post-card__thumb {
        flex-shrink: 0;
        width: 120px;
        height: 72px;
        padding-bottom: 0;
        border-radius: 8px;
        overflow: hidden;
        background: #e8e8e8;
    }

    .post-card__thumb img {
        position: static;
        width: 120px;
        height: 72px;
        object-fit: cover;
        border-radius: 8px;
    }

    /* 썸네일 내 placeholder SVG */
    .post-card__thumb>div {
        position: static !important;
        width: 120px;
        height: 72px;
    }

    /* 본문 — 좌측, flex:1 */
    .post-card__body {
        order: 1;
        flex: 1;
        padding: 0;
        min-width: 0;
    }

    /* 제목 크기 조정 */
    .post-card__title {
        font-size: 17px;
        font-weight: 600;
        line-height: 1.5;
        margin-bottom: 4px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .post-card__category,
    .post-card__date {
        font-size: 12px;
    }

    /* 발췌문 표시 */
    .post-card__excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    /* 마지막 카드 구분선 제거 */
    .post-card:last-child {
        border-bottom: none;
    }

    /* hover ::before 오버레이 모바일 비활성화 */
    .post-card::before {
        display: none;
    }


    .page-hero {
        padding: 40px 0 24px;
    }

    .page-hero__title {
        font-size: 26px;
    }

    .single-header {
        padding: 40px 0 24px;
    }

    .single-header__title {
        font-size: 28px;
    }

    .single-content {
        font-size: 16px;
    }

    .single-content h2 {
        font-size: 24px;
    }

    .single-content h3 {
        font-size: 20px;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: left;
        align-items: flex-start;
        padding: 0 20px !important;
    }

    .category-filters {
        gap: 6px;
    }

    .category-filters a {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* ============================================
   15. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.post-card:nth-child(1) {
    animation-delay: 0.05s;
}

.post-card:nth-child(2) {
    animation-delay: 0.1s;
}

.post-card:nth-child(3) {
    animation-delay: 0.15s;
}

.post-card:nth-child(4) {
    animation-delay: 0.2s;
}

.post-card:nth-child(5) {
    animation-delay: 0.25s;
}

.post-card:nth-child(6) {
    animation-delay: 0.3s;
}

.post-card:nth-child(7) {
    animation-delay: 0.35s;
}

.post-card:nth-child(8) {
    animation-delay: 0.4s;
}

.post-card:nth-child(9) {
    animation-delay: 0.45s;
}

/* Smooth scroll for all transitions */
.single-content {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   16. SCREEN READER TEXT
   ============================================ */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* AEO quick answer block */
.aeo-quick-answer {
    margin: 20px 0 36px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #fafafa;
}

.aeo-quick-answer h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.aeo-quick-answer ul {
    margin: 0;
    padding-left: 18px;
    color: #2a2f36;
}

.aeo-quick-answer li {
    margin: 8px 0;
    line-height: 1.6;
}

/* ---- 무한 스크롤 로더 ---- */
.infinite-scroll-loader {
    text-align: center;
    padding: 40px 0;
    width: 100%;
    clear: both;
}

.infinite-scroll-loader .spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    border-top-color: #2c333a;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Reading Progress Bar ---- */
.reading-progress-container {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 1100;
    pointer-events: none;
}

.reading-progress-bar {
    height: 100%;
    background: #3182f6;
    /* KakaoBank style color or brand color */
    width: 0%;
    transition: width 0.1s ease-out;
}

/* ---- HR Tag ---- */
hr {
    border: none;
    border-top: 1px solid rgba(36, 42, 48, 0.06);
    /* 또는 어울리는 색상과 굵기 */
    margin: 70px 0;
    /* 위아래 여백 */
}

/* ===== 리스트형 레이아웃 (데스크탑 ≥769px) ===== */
@media (min-width: 769px) {
    .post-grid {
        display: block;
        max-width: 860px;
        margin: 0 auto;
        padding: 8px 0 88px;
    }

    .post-card {
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 0;
        margin-top: 40px;
        border-bottom: none;
    }

    .post-card:first-child {
        margin-top: 0;
    }

    .post-card::before {
        display: none;
    }

    .post-card>a {
        order: 2;
        flex-shrink: 0;
        width: 270px;
        margin-left: 100px;
        align-self: center;
    }

    .post-card__body {
        order: 1;
        flex: 1;
        padding: 0;
    }

    .post-card__thumb {
        width: 270px;
        padding-bottom: 67.5%;
        border-radius: 16px;
        border: none;
    }

    .post-card__thumb img {
        border-radius: 16px;
        transition: transform 0.2s ease;
    }

    .post-card:hover .post-card__thumb img {
        transform: scale(1.05);
    }

    .post-card__meta {
        margin-bottom: 10px;
    }

    .post-card__category {
        font-size: 15px;
        font-weight: 400;
        color: #8b95a1;
    }

    .post-card__date {
        font-size: 15px;
        font-weight: 400;
        color: #8b95a1;
    }

    .post-card__title {
        font-size: 24px;
        font-weight: 600;
        color: #333d4b;
        line-height: 1.4;
        margin-bottom: 10px;
        letter-spacing: -0.2px;
        transition: color 0.2s ease;
    }

    .post-card:hover .post-card__title {
        color: #3182f6;
    }

    .post-card__excerpt {
        font-size: 17px;
        font-weight: 400;
        line-height: 27px;
        color: #4e5968;
        margin-top: 0;
        margin-bottom: 10px;
        opacity: 0.7;
    }
}

/* ===== 레이아웃: 폭·탭·푸터 (2026-07-06) ===== */
/* 콘텐츠 폭 1140px (과 동일) */
@media (min-width: 769px) {
    .post-grid {
        max-width: 1140px;
    }
}

/* 탭 = 텍스트형 (pill 배경 제거, 활성 진회색/비활성 연회색) */
.nav-pill {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.main-nav .nav-list {
    gap: 24px;
}

.main-nav .nav-list>li>a {
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #d1d6db;
}

.main-nav .nav-list>li>a:hover {
    background: transparent;
    color: #333d4b;
}

.main-nav .nav-list>li.current-menu-item>a,
.main-nav .nav-list>li.current-menu-ancestor>a,
.main-nav .nav-list>li.current-cat>a {
    background: transparent;
    color: #333d4b;
    font-weight: 700;
}

/* 푸터 (링크 grey600 15px, hover underline) */
.footer-links a {
    font-size: 15px;
    color: #6b7684;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #6b7684;
}

/* ===== 다크모드 (어댑티브 색상, 2026-07-06) ===== */
.header-icon-btn .icon-moon {
    display: none;
}

[data-theme="dark"] .header-icon-btn .icon-sun {
    display: none;
}

[data-theme="dark"] .header-icon-btn .icon-moon {
    display: inline-block;
}

body,
.site-header,
.site-footer,
.post-card__title,
.post-card__excerpt {
    transition: background-color 0.2s ease, color 0.2s ease;
}

[data-theme="dark"] body {
    background: #17171c;
    color: #b0b8c1;
}

[data-theme="dark"] .site-header {
    background: #17171c;
}

[data-theme="dark"] .nav-pill {
    background: transparent;
}

[data-theme="dark"] .main-nav .nav-list>li>a {
    color: #4d4d59;
}

[data-theme="dark"] .main-nav .nav-list>li>a:hover,
[data-theme="dark"] .main-nav .nav-list>li.current-menu-item>a,
[data-theme="dark"] .main-nav .nav-list>li.current-menu-ancestor>a,
[data-theme="dark"] .main-nav .nav-list>li.current-cat>a {
    color: #e4e4e5;
}

[data-theme="dark"] .header-icon-btn {
    color: #9e9ea4;
}

[data-theme="dark"] .header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .menu-toggle span {
    background: #b0b8c1;
}

[data-theme="dark"] .post-card__title {
    color: #e4e4e5;
}

[data-theme="dark"] .post-card:hover .post-card__title {
    color: #3485fa;
}

[data-theme="dark"] .post-card__category,
[data-theme="dark"] .post-card__date {
    color: #7e7e87;
}

[data-theme="dark"] .post-card__excerpt {
    color: #c3c3c6;
}

[data-theme="dark"] .post-card__thumb {
    background: #2c2c35;
    border-color: #3c3c47;
}

[data-theme="dark"] .all-posts-header__title,
[data-theme="dark"] .archive-header__title,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3 {
    color: #ffffff;
}

[data-theme="dark"] .all-posts-header__line,
[data-theme="dark"] .archive-header__line {
    background: #3c3c47;
}

[data-theme="dark"] .site-footer {
    background: #17171c;
    border-top-color: #3c3c47;
}

[data-theme="dark"] .footer-links a {
    color: #9e9ea4;
}

[data-theme="dark"] .footer-widget {
    color: #b0b8c1;
}

[data-theme="dark"] .footer-copy {
    color: #7e7e87;
}

/* ===== 카테고리 탭줄 (리스트 상단, 2026-07-06) ===== */
.category-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto 60px;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex-shrink: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    color: #d1d6db;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.category-tab:hover {
    color: #333d4b;
}

.category-tab.is-active {
    color: #333d4b;
}

/* 옛 리스트 헤더("모든 글"/아카이브 제목) 숨김 — 탭줄로 대체 */
.all-posts-header,
.archive-header {
    display: none;
}

@media (max-width: 768px) {
    .category-tabs {
        gap: 20px;
        margin-bottom: 40px;
    }

    .category-tab {
        font-size: 22px;
    }
}

/* 다크모드 */
[data-theme="dark"] .category-tab {
    color: #4d4d59;
}

[data-theme="dark"] .category-tab:hover,
[data-theme="dark"] .category-tab.is-active {
    color: #e4e4e5;
}

/* ===== 모바일 반응형 (≤768px, 2026-07-06) ===== */
@media (max-width: 768px) {
    .post-grid {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        padding: 0 0 40px;
    }

    .post-card {
        margin-top: 32px;
        padding: 0;
        border-bottom: none;
    }

    .post-card:first-child {
        margin-top: 0;
    }

    .post-card::before {
        display: none;
    }

    .post-card>a {
        order: 2;
        flex-shrink: 0;
        width: 100px;
        min-width: 100px;
        margin-left: 20px;
        align-self: center;
    }

    .post-card__body {
        order: 1;
        flex: 1;
        padding: 0;
    }

    .post-card__thumb {
        width: 100px;
        height: auto;
        padding-bottom: 67.5%;
        border-radius: 12px;
        border: none;
        overflow: hidden;
    }

    .post-card__thumb img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    .post-card__thumb>div {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .post-card__meta {
        margin-bottom: 6px;
    }

    .post-card__category {
        font-size: 13px;
        font-weight: 400;
        color: #8b95a1;
    }

    .post-card__date {
        font-size: 13px;
        font-weight: 400;
        color: #8b95a1;
    }

    .post-card__title {
        font-size: 16px;
        font-weight: 500;
        color: #333d4b;
        line-height: 1.4;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .post-card__excerpt {
        display: none;
    }

    .category-tabs {
        gap: 20px;
        margin-bottom: 40px;
    }

    .category-tab {
        font-size: 22px;
    }
}

/* 헤더(sticky) 아래 여백 */
.site-main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    .header-textlink {
        display: none;
    }
}

/* ---- 헤더 검색바 (2026-07-11) ---- */
.header-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #F0F0F0;
    box-shadow: 0 8px 16px rgba(2, 32, 71, .06);
    display: none;
}

.header-search.open {
    display: block;
}

.header-search form {
    max-width: 720px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    gap: 10px;
}

.header-search input[type="search"] {
    flex: 1;
    height: 44px;
    padding: 0 18px;
    border: 1px solid #DDDDDD;
    border-radius: 9999px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
}

.header-search input[type="search"]:focus {
    border-color: #191f28;
}

.header-search button {
    height: 44px;
    padding: 0 22px;
    background: #191f28;
    color: #fff;
    border: 0;
    border-radius: 9999px;
    font-size: 15px;
    cursor: pointer;
}

[data-theme="dark"] .header-search {
    background: #17171c;
    border-bottom-color: #22222a;
}

[data-theme="dark"] .header-search input[type="search"] {
    background: #22222a;
    border-color: #333;
    color: #e4e8ee;
}


/* ---- 다크모드 본문 오버라이드 (2026-07-11 — 본문 페이지 다크 미적용 수정) ---- */
[data-theme="dark"] .single-content {
    color: #b0b8c1;
}

[data-theme="dark"] .single-content p,
[data-theme="dark"] .single-content li {
    color: #b0b8c1;
}

[data-theme="dark"] .single-content blockquote {
    background: rgba(255, 255, 255, .05);
    color: #c7cdd4;
}

[data-theme="dark"] .single-content blockquote cite {
    color: #8b95a1;
}

[data-theme="dark"] .single-content mark {
    background: rgba(63, 213, 153, .28);
    color: #e4e8ee;
}

[data-theme="dark"] .single-content .footnote,
[data-theme="dark"] .single-content figcaption,
[data-theme="dark"] .single-content sup {
    color: #7d8590;
}

[data-theme="dark"] .single-content strong {
    color: #e4e8ee;
}

[data-theme="dark"] .single-content a {
    color: #71cff5;
}

[data-theme="dark"] .single-content code {
    background: rgba(255, 255, 255, .08);
}

[data-theme="dark"] .single-header__meta,
[data-theme="dark"] .single-header__author {
    color: #8b95a1;
}

[data-theme="dark"] .single-content table,
[data-theme="dark"] .single-content th,
[data-theme="dark"] .single-content td {
    border-color: #2a2a33;
}

[data-theme="dark"] .single-content thead th {
    background: #22222a;
    color: #e4e8ee;
}


/* ---- 토스피드 리스트형 글 목록 (2026-07-11) ---- */
.post-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 80px;
}

.post-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 10px 0;
}

.post-card:first-child {
    padding-top: 12px;
}

.post-card__body {
    flex: 1;
    min-width: 0;
}

.post-card__category {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 400;
    color: #8b95a1;
}

.post-card__title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.45;
    color: #191f28;
    margin: 0;
}

.post-card__excerpt {
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.6;
    color: #6b7684;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__date {
    display: block;
    margin-top: 14px;
    font-size: 14px;
    color: #8b95a1;
}

.post-card__thumb-link {
    flex-shrink: 0;
    width: 38%;
    max-width: 460px;
}

.post-card__thumb {
    position: relative;
    padding-bottom: 62%;
    border-radius: 16px;
    overflow: hidden;
    background: #e8e8e8;
}

.post-card__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .post-card {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 10px 0;
    }

    .post-card__body {
        flex: 1;
        min-width: 0;
    }

    .post-card__thumb-link {
        width: 30%;
        max-width: 200px;
        min-width: 100px;
    }

    .post-card__thumb {
        padding-bottom: 67.5%;
        border-radius: 12px;
    }

    .post-card__title {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.4;
    }

    .post-card__category {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .post-card__excerpt {
        display: none;
    }

    .post-card__date {
        font-size: 14px;
        margin-top: 10px;
    }
}

[data-theme="dark"] .post-card {
    border-bottom-color: #22222a;
}

/* ---- single-header 카테고리 상단 구조 (2026-07-11) ---- */
.single-header>.single-header__category {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #8b95a1;
}

.single-header .single-header__meta {
    margin-top: 18px;
    justify-content: center;
}

[data-theme="dark"] .single-header>.single-header__category {
    color: #8b95a1;
}

/* ---- 정보형 다크 푸터 v2 (2026-07-11, beauwell 구조 실측 반영) ---- */
.site-footer--info {
    background: #000;
    padding: 96px 0;
    font-size: 18px;
    line-height: 1.7;
}

.site-footer--info * {
    color: #fff;
}

.site-footer--info .footer-inner {
    display: block;
    max-width: 1408px;
    margin: 0 auto;
    padding: 0 32px;
}

.site-footer--info dl,
.site-footer--info dd,
.site-footer--info ul {
    margin: 0;
    padding: 0;
}

.site-footer--info li {
    list-style: none;
}

.site-footer--info a:hover {
    color: #71cff5;
}

.site-footer--info .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* 상단 3컬럼 */
.ft-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.ft-info>dl>dt {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.ft-info dd+dd {
    margin-top: 4px;
}

.ft-info .loc {
    margin-right: clamp(24px, 6vw, 90px);
}

.ft-info .loc dd:last-child {
    padding-top: .5em;
    font-weight: 700;
}

.ft-info .loc u {
    text-underline-offset: 4px;
}

.ft-info .tel {
    margin-right: auto;
}

.ft-info .tel-num {
    font-size: clamp(22px, 3.67vw, 42px);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 700;
    letter-spacing: -1px;
}

.ft-info .tel-num+dd {
    color: rgba(255, 255, 255, .5);
    margin-top: 12px;
}

.ft-info .tel-num+dd * {
    color: rgba(255, 255, 255, .5);
}

.ft-info .timetable {
    flex: 0 1 480px;
    min-width: 340px;
}

.ft-info .timetable>dd {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.ft-info .timetable>dd>div {
    flex: 1;
    max-width: 220px;
}

.ft-info .timetable>dd dl {
    display: flex;
    justify-content: space-between;
}

.ft-info .timetable>dd dl+dl {
    margin-top: 6px;
}

.ft-info .timetable>dd dl dt {
    font-weight: 700;
}

.ft-info .timetable>dd dl dt em {
    font-style: normal;
    font-size: 14px;
    color: #3182f6;
}

.ft-info .timetable>dd dl dd {
    font-variant-numeric: tabular-nums;
}

.ft-info .timetable>dd dl.note {
    padding-top: .2em;
    font-size: .8em;
    opacity: .6;
}

/* 하단 */
.ft {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px 80px;
    padding-top: 48px;
}

.ft .ft-logo {
    line-height: 0;
}

.ft .ft-logo img {
    display: block;
    height: 30px;
    width: auto;
}

.ft .mr-auto {
    margin-right: auto;
}

.ft .links {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.125em;
    gap: 5px 28px;
    font-weight: 600;
}

.ft .links u {
    text-underline-offset: 4px;
}

.ft .addr {
    opacity: .5;
    margin-top: 4px;
    font-size: 16px;
}

.ft .addr div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2px;
    gap: 0 8px;
}

.ft .addr div i {
    height: 10px;
    border-left: 1px solid;
    display: inline-block;
}

.ft .addr b {
    font-weight: 700;
}

.ft .ft-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.ft .sns {
    display: flex;
}

.ft .sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;

    border-radius: 50%;
}

.ft .sns a img {
    display: block;
    width: 100%;
    height: 100%;
}

.ft .sns a:hover {
    border-color: #71cff5;
}

.ft .copy {
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
    margin: 0;
}

.ft .copy,
.ft .sns a {
    color: rgba(255, 255, 255, .85);
}

@media (max-width: 1024px) {
    .ft-info {
        gap: 32px 40px;
    }

    .ft-info .loc {
        margin-right: 0;
    }

    .ft-info .timetable {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .site-footer--info {
        padding: 56px 0;
    }

    .ft-info .timetable {
        min-width: 0;
        flex-basis: 100%;
    }

    .ft-info .timetable>dd {
        flex-direction: column;
        gap: 6px;
    }

    .ft-info .timetable>dd>div {
        max-width: none;
    }

    .ft {
        flex-direction: column;
        gap: 28px;
    }

    .ft .ft-side {
        align-items: flex-start;
    }
}


/* ---- totop 버튼 (2026-07-11, ludental 레퍼런스) ---- */
.top-btn {
    position: fixed;
    right: 48px;
    bottom: 48px;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: #3182f6;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 10px 0 rgba(31, 38, 135, .1);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
}

.top-btn svg {
    transition: transform .3s;
}

.top-btn:hover svg {
    transform: translateY(-4px);
}

[data-theme="dark"] .top-btn {
    box-shadow: 0 5px 14px rgba(0, 0, 0, .4);
}

@media (max-width: 768px) {
    .top-btn {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }

    .top-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ---- 인용 출처 대괄호 표기 (2026-07-13) ---- */
.single-content blockquote cite {
    font-style: normal;
}

.single-content blockquote cite::before {
    content: "[";
}

.single-content blockquote cite::after {
    content: "]";
}

.single-content blockquote cite a {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: inherit;
    font-style: normal;
}

.single-content blockquote cite a:hover {
    color: #3182f6;
}

/* ---- 모바일 푸터 폰트 축소 (2026-07-13, beauwell 모바일 스케일) ---- */
@media (max-width: 992px) {
    .site-footer--info {
        font-size: 15px;
        padding: 40px 0;
    }

    .ft-info {
        gap: 20px 30px;
        padding-bottom: 40px;
    }

    .ft-info>dl>dt {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .ft {
        padding-top: 32px;
        gap: 20px 40px;
    }

    .ft .links {
        font-size: 16px;
    }

    .ft .addr {
        font-size: 13px;
        margin-top: 16px;
    }

    .ft .copy {
        font-size: 12px;
    }

    .ft .sns a {
        width: 36px;
        height: 36px;
    }
}

/* ---- 본문 하단 태그 알약 (2026-07-13, tossfeed 스펙) ---- */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
    margin-top: 48px;
}

.single-tag {
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 20px;
    color: #4e5968;
    text-decoration: none;
    transition: background-color .15s;
}

.single-tag:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 639px) {
    .single-tag {
        border-radius: 16px;
        padding: 8px 12px;
        font-size: 14px;
        line-height: 16px;
    }

    .single-tags {
        margin-top: 36px;
    }
}

[data-theme="dark"] .single-tag {
    border-color: rgba(255, 255, 255, .18);
    color: #b0b8c1;
}

[data-theme="dark"] .single-tag:hover {
    background-color: rgba(255, 255, 255, .06);
}

/* ---- 헤더 메뉴: 모바일 전용 퀵링크 (2026-07-13) ---- */
.nav-li-mobile {
    display: none;
}

@media (max-width: 768px) {
    .main-nav.open .nav-li-mobile {
        display: block;
    }

    .main-nav.open .nav-li-divider {
        border-top: 1px solid #f0f0f0;
        margin-top: 10px;
        padding-top: 10px;
    }

    [data-theme="dark"] .main-nav.open .nav-li-divider {
        border-top-color: #2a2a33;
    }
}


/* ---- 데스크톱 중앙 메뉴 비표시 — 카테고리는 리스트 탭줄 사용 (2026-07-13) ---- */
@media (min-width: 769px) {
    .main-nav {
        display: none;
    }

    .site-logo {
        grid-column: 1;
        justify-self: start;
    }

    .header-actions {
        grid-column: 3;
        justify-self: end;
    }
}