/* ==========================================================================
   Flavor Trip — Main Stylesheet (Magazine Edition)
   ========================================================================== */

/* 폰트 임포트 - Noto Sans KR (TripTalk Style) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ft-font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--ft-text);
    background: var(--ft-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.02em;
}

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

a {
    color: var(--ft-primary);
    text-decoration: none;
    transition: color var(--ft-transition);
}

a:hover {
    color: var(--ft-primary-dark);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: var(--ft-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.archive-layout,
.single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.page-layout {
    padding-top: 40px;
    padding-bottom: 60px;
}

.itinerary-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 20px;
    padding-bottom: 60px;
    max-width: 800px;
    margin: 0 auto;
}

/* 사이드바를 본문 아래로 배치 */
.itinerary-layout .itinerary-content {
    order: 1;
}

.itinerary-layout .itinerary-sidebar {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ==========================================================================
   Header — Magazine Style
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--ft-bg);
    height: var(--ft-header-height);
    transition: all var(--ft-transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-title-link {
    text-decoration: none;
    color: var(--ft-text);
}

.site-title {
    font-family: var(--ft-font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--ft-text);
    font-size: 0.938rem;
    font-weight: 500;
    border-radius: var(--ft-radius);
    transition: background var(--ft-transition), color var(--ft-transition);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    background: var(--ft-bg-alt);
    color: var(--ft-primary);
}

/* Dropdown */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--ft-bg);
    border-radius: var(--ft-radius);
    box-shadow: var(--ft-shadow-lg);
    min-width: 200px;
    padding: 8px;
    list-style: none;
    z-index: 100;
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.nav-menu .sub-menu a {
    padding: 8px 12px;
    font-size: 0.875rem;
}


/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ft-text);
    position: relative;
    transition: background var(--ft-transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--ft-text);
    left: 0;
    transition: transform var(--ft-transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav Search */
.nav-search .search-form {
    display: flex;
    align-items: center;
}

.nav-search .search-field {
    width: 180px;
    padding: 8px 14px;
    background: var(--ft-bg-alt);
    border: none;
    border-radius: var(--ft-radius) 0 0 var(--ft-radius);
    font-size: 0.875rem;
    outline: none;
    font-family: inherit;
    transition: background var(--ft-transition);
}

.nav-search .search-field:focus {
    background: var(--ft-bg);
    box-shadow: inset 0 0 0 2px var(--ft-primary);
}

.nav-search .search-submit {
    padding: 8px 12px;
    background: var(--ft-primary);
    color: white;
    border: none;
    border-radius: 0 var(--ft-radius) var(--ft-radius) 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Hero — Immersive Style (Homepage)
   ========================================================================== */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    overflow: hidden;
}

/* 배경 이미지 */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.6);
    animation: slowZoom 30s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* 그라데이션 오버레이 */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(14, 165, 233, 0.25) 0%,
        rgba(139, 92, 246, 0.25) 50%,
        rgba(16, 185, 129, 0.2) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--ft-font-sans);
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* CTA 버튼 - 나만의 여행 일정 만들기 (검색바 스타일) */
.btn-cta-hero {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 36px;
    max-width: 560px;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.01em;
    justify-content: center;
}

.btn-cta-hero:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-cta-hero:active {
    transform: translateY(0);
}

.btn-cta-hero svg {
    flex-shrink: 0;
}


/* ==========================================================================
   Site Main — Footer Spacing
   ========================================================================== */

.site-main {
    padding-bottom: 80px;
}

/* ==========================================================================
   Sections — Magazine Style
   ========================================================================== */

.section {
    padding: 80px 0;
}

.section:first-of-type {
    padding-top: 100px;
}

.section:last-of-type {
    padding-bottom: 100px;
}

.section:nth-child(even) {
    background: var(--ft-bg-alt);
}

.section-title {
    font-family: var(--ft-font-sans);
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--ft-text);
}

.section-subtitle {
    text-align: center;
    color: var(--ft-text-light);
    margin-bottom: 60px;
    font-size: 1.125rem;
    line-height: 1.6;
}

.section-heading {
    font-family: var(--ft-font-sans);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 32px;
    padding-bottom: 0;
}

.section-cta {
    text-align: center;
    margin-top: 60px;
}

.section-cta .btn {
    padding: 16px 40px;
    font-size: 0.875rem;
}

/* ==========================================================================
   Cards (Posts Grid) — Magazine Staggered Layout
   ========================================================================== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.posts-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}


.card {
    background: var(--ft-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--ft-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}


.card-image {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-image img {
    transform: scale(1.15);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--ft-text);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
}

.card-body {
    padding: 28px;
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--ft-text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-title {
    font-family: var(--ft-font-sans);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}

.card-title a {
    color: var(--ft-text);
    transition: color var(--ft-transition);
}

.card-title a:hover {
    color: var(--ft-primary);
}

.card-excerpt {
    font-size: 0.875rem;
    color: var(--ft-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--ft-text-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-link {
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--ft-primary);
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Tags — Magazine Style
   ========================================================================== */

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--ft-bg-alt);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ft-text-light);
    transition: all var(--ft-transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag:hover {
    background: var(--ft-text);
    color: white;
}

.tag-sm {
    padding: 4px 10px;
    font-size: 0.688rem;
}

.tag-destination {
    background: rgba(14, 165, 233, 0.1);
    color: var(--ft-primary);
}

.tag-style {
    background: rgba(100, 116, 139, 0.1);
    color: var(--ft-secondary);
}

/* ==========================================================================
   Buttons — Magazine Style
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.813rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--ft-transition);
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-primary {
    background: var(--ft-text);
    color: white;
}

.btn-primary:hover {
    background: var(--ft-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.btn-outline {
    background: var(--ft-bg-alt);
    color: var(--ft-text);
}

.btn-outline:hover {
    background: var(--ft-text);
    color: white;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 0.875rem;
}

/* ==========================================================================
   Destination Grid — Magazine Style
   ========================================================================== */

.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.destination-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 280px;
    background-color: #374151;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
    color: white;
}

.destination-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    transition: all 0.3s ease;
}

.destination-card:hover::after {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.destination-overlay {
    display: none;
}

.destination-info {
    position: relative;
    z-index: 1;
    padding: 32px;
    width: 100%;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.destination-card:hover .destination-info {
    transform: translateY(0);
}

.destination-name {
    font-family: var(--ft-font-sans);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.destination-count {
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* ==========================================================================
   Archive Filters
   ========================================================================== */

.archive-filters {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ft-text-light);
}

.filter-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--ft-bg-alt);
    border-radius: 20px;
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--ft-text);
    transition: all var(--ft-transition);
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--ft-primary);
    color: white;
}

/* ==========================================================================
   Single Post / Page
   ========================================================================== */

.entry-header {
    margin-bottom: 32px;
}

.entry-categories {
    margin-bottom: 8px;
}

.entry-categories a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ft-primary);
    text-transform: uppercase;
}

.entry-title {
    font-family: var(--ft-font-sans);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.entry-meta {
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--ft-text-light);
}

.entry-thumbnail {
    margin-bottom: 32px;
    border-radius: var(--ft-radius-lg);
    overflow: hidden;
}

.entry-content {
    font-size: 1.063rem;
    line-height: 1.8;
}

.entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 16px;
}

.entry-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 12px;
}

.entry-content p {
    margin-bottom: 20px;
}

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

.entry-content li {
    margin-bottom: 8px;
}

.entry-content blockquote {
    padding: 20px 28px;
    margin: 24px 0;
    background: var(--ft-bg-alt);
    border-radius: var(--ft-radius-lg);
}

.entry-content img {
    border-radius: var(--ft-radius);
    margin: 24px 0;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
}

.entry-tags a {
    display: inline-block;
    padding: 4px 12px;
    background: var(--ft-bg-alt);
    border-radius: 20px;
    font-size: 0.813rem;
    margin: 4px 4px 4px 0;
}

/* ==========================================================================
   Post Navigation
   ========================================================================== */

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    background: var(--ft-bg-alt);
    margin-left: -24px;
    margin-right: -24px;
    padding: 24px;
    border-radius: var(--ft-radius-lg);
}

.post-navigation a {
    font-weight: 500;
    font-size: 0.938rem;
}

/* ==========================================================================
   Itinerary Header
   ========================================================================== */

.itinerary-destinations {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.itinerary-title {
    font-family: var(--ft-font-sans);
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 20px;
}

.itinerary-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--ft-text-light);
}

.itinerary-featured-image {
    border-radius: var(--ft-radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}

.itinerary-description {
    margin-bottom: 48px;
}

.itinerary-styles {
    margin-top: 40px;
}

.itinerary-styles .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-family: var(--ft-font-sans);
    font-size: 2.25rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.term-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ft-primary);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.post-count {
    font-size: 0.875rem;
    color: var(--ft-text-light);
}

.archive-description {
    color: var(--ft-text-light);
    margin-bottom: 8px;
}

.sub-destinations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 48px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--ft-radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ft-text);
    transition: all var(--ft-transition);
}

.pagination .page-numbers:hover {
    background: var(--ft-bg-alt);
}

.pagination .page-numbers.current {
    background: var(--ft-primary);
    color: white;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar .widget {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--ft-bg);
    border-radius: var(--ft-radius-lg);
    box-shadow: var(--ft-shadow);
}

.sidebar .widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 0;
}

.sidebar .widget ul {
    list-style: none;
}

.sidebar .widget li {
    padding: 8px 0;
}

.sidebar .widget li:last-child {
    padding-bottom: 0;
}

.sidebar .widget a {
    color: var(--ft-text);
    font-size: 0.875rem;
}

.sidebar .widget a:hover {
    color: var(--ft-primary);
}

/* Sidebar Cards (Itinerary) */
.sidebar-card {
    background: var(--ft-bg);
    border-radius: var(--ft-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--ft-shadow);
}

.sidebar-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 0;
}

.info-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    font-size: 0.875rem;
}

.info-list dt {
    font-weight: 600;
    color: var(--ft-text-light);
}

.info-list dd {
    color: var(--ft-text);
}

.highlights-list {
    list-style: none;
}

.highlights-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.highlights-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ft-accent);
    font-weight: 700;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: var(--ft-radius);
    font-size: 0.75rem;
    font-weight: 600;
    color: white !important;
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #000; }
.share-line { background: #00b900; }

.related-list {
    list-style: none;
}

.related-list li {
    margin-bottom: 12px;
}

.related-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ft-text);
    font-size: 0.875rem;
    font-weight: 500;
}

.related-list img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
    padding: 16px 0;
    font-size: 0.813rem;
    color: var(--ft-text-light);
}

.breadcrumbs a {
    color: var(--ft-text-light);
}

.breadcrumbs a:hover {
    color: var(--ft-primary);
}

.breadcrumbs .separator {
    margin: 0 8px;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
    margin-top: 48px;
    background: var(--ft-bg);
    padding: 32px;
    border-radius: var(--ft-radius-lg);
    border: 1px solid var(--ft-border);
}

.comments-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ft-border);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--ft-border);
}

.comment-list .comment:last-child {
    border-bottom: none;
}

.comment-list .comment-body {
    display: flex;
    gap: 16px;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.comment-author .fn {
    font-weight: 600;
    font-size: 0.875rem;
}

.comment-metadata {
    font-size: 0.75rem;
    color: var(--ft-text-light);
    margin-top: 4px;
}

.comment-content {
    margin-top: 8px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.comment-respond {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--ft-border);
}

.comment-reply-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-form label {
    display: block;
    font-size: 0.813rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--ft-text);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--ft-bg-alt);
    border: 1px solid var(--ft-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--ft-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form .form-submit {
    margin-top: 8px;
}

.comment-form .form-submit input {
    background: var(--ft-primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.comment-form .form-submit input:hover {
    background: #6d28d9;
}

/* ==========================================================================
   Footer — Magazine Style
   ========================================================================== */

.site-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #94a3b8;
    padding: 80px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-title {
    font-family: var(--ft-font-sans);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.813rem;
    color: #d1d5db !important;
    transition: background var(--ft-transition);
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    color: white !important;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: #d1d5db;
    font-size: 0.875rem;
}

.footer-menu a:hover {
    color: white;
}

.footer-destinations-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-destinations-list a {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.813rem;
    color: #d1d5db;
}

.footer-destinations-list a:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.footer-styles-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-styles-list a {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 20px;
    font-size: 0.813rem;
    color: #c4b5fd;
}

.footer-styles-list a:hover {
    background: rgba(124, 58, 237, 0.4);
    color: white;
}

/* Footer Language Selector */
.footer-language {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-lang-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-lang-selector svg {
    color: #64748b;
    flex-shrink: 0;
}

.footer-lang-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.footer-lang-list li {
    display: inline-block;
}

.footer-lang-list a {
    display: block;
    padding: 5px 14px;
    font-size: 0.813rem;
    color: #94a3b8;
    border-radius: 100px;
    transition: all var(--ft-transition);
    border: 1px solid transparent;
}

.footer-lang-list a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.footer-lang-list .current-lang a {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
    padding: 20px 0;
    font-size: 0.813rem;
    text-align: center;
    color: #9ca3af;
}

/* ==========================================================================
   Error 404
   ========================================================================== */

.error-404-page {
    padding: 80px 20px;
    text-align: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--ft-border);
    line-height: 1;
}

.error-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.error-message {
    color: var(--ft-text-light);
    margin-bottom: 32px;
}

.error-search {
    max-width: 400px;
    margin: 0 auto 24px;
}

.error-search .search-form {
    display: flex;
}

.error-search .search-field {
    flex: 1;
    padding: 12px 18px;
    background: var(--ft-bg-alt);
    border: none;
    border-radius: var(--ft-radius-lg) 0 0 var(--ft-radius-lg);
    font-size: 0.938rem;
    font-family: inherit;
    outline: none;
}

.error-search .search-field:focus {
    box-shadow: inset 0 0 0 2px var(--ft-primary);
}

.error-search .search-submit {
    padding: 12px 18px;
    background: var(--ft-primary);
    color: white;
    border: none;
    border-radius: 0 var(--ft-radius-lg) var(--ft-radius-lg) 0;
    cursor: pointer;
}

.error-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* ==========================================================================
   No Content
   ========================================================================== */

.no-results,
.no-content {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.no-results p {
    color: var(--ft-text-light);
    margin-bottom: 24px;
}

.no-results .search-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.no-results .search-field {
    flex: 1;
    padding: 12px 18px;
    background: var(--ft-bg-alt);
    border: none;
    border-radius: var(--ft-radius-lg) 0 0 var(--ft-radius-lg);
    font-size: 0.938rem;
    font-family: inherit;
    outline: none;
}

.no-results .search-field:focus {
    box-shadow: inset 0 0 0 2px var(--ft-primary);
}

.no-results .search-submit {
    padding: 12px 18px;
    background: var(--ft-primary);
    color: white;
    border: none;
    border-radius: 0 var(--ft-radius-lg) var(--ft-radius-lg) 0;
    cursor: pointer;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background: #f1f1f1;
    clip: auto;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 10000;
}

/* ==========================================================================
   Itinerary Day Block — Timeline Style
   ========================================================================== */

.days-spots-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.day-block {
    background: var(--ft-bg);
    border-radius: var(--ft-radius-lg);
    overflow: hidden;
    box-shadow: var(--ft-shadow);
}

.day-header {
    background: var(--ft-bg-alt);
    padding: 24px 28px;
}

.day-badge {
    display: inline-block;
    background: var(--ft-text);
    color: white;
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.day-header-title {
    font-family: var(--ft-font-sans);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--ft-text);
    margin: 0 0 8px 0;
    display: block;
}

.day-summary {
    font-size: 0.875rem;
    color: var(--ft-text-light);
    margin: 0;
    line-height: 1.6;
}

/* Spot styles moved to itinerary.css */

/* ==========================================================================
   Responsive — Magazine Style
   ========================================================================== */

@media (max-width: 1024px) {
    .posts-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .destination-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .site-main {
        padding-bottom: 60px;
    }

    .container {
        padding: 0 24px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        margin-bottom: 32px;
        font-size: 0.938rem;
        padding: 0 8px;
    }

    .posts-grid,
    .posts-grid--3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-card {
        margin: 0;
    }

    .destination-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .destination-card {
        min-height: 200px;
        margin: 0;
    }

    .destination-info {
        padding: 24px;
    }

    .destination-name {
        font-size: 1.5rem;
    }

    /* 댓글 영역 모바일 */
    .comments-area {
        padding: 24px 20px;
        margin: 0 -4px;
    }

    .comment-list .comment-body {
        flex-direction: column;
        gap: 12px;
    }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        padding: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        min-height: 70vh;
    }

    .hero::before {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-content {
        padding: 60px 20px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .archive-layout,
    .single-layout {
        grid-template-columns: 1fr;
    }

    /* 모바일: 사이드바 단일 컬럼 */
    .itinerary-layout .itinerary-sidebar {
        grid-template-columns: 1fr;
    }

    .entry-title,
    .itinerary-title {
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    /* Spot card responsive styles moved to itinerary.css */
}

/* 모바일 추가 조정 (480px 이하) */
@media (max-width: 480px) {
    .hero-actions {
        padding: 0 16px;
    }

    .btn-cta-hero {
        padding: 14px 28px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}
