/*
Theme Name: AVOCADOSS Travel Guide
Theme URI: https://avocadoss.co.kr/
Description: Clean, high-performance Korean travel guide WordPress theme for AVOCADOSS.
Version: 1.0.0
Author: AVOCADOSS Editorial Team
Text Domain: avocadoss-travel-guide
*/

:root {
  --primary: #173a2d;
  --primary-hover: #1f4a3b;
  --secondary: #587966;
  --secondary-soft: #65826f;
  --text-main: #173a2d;
  --text-body: #27463b;
  --text-muted: #68756f;
  --text-light: #8b9690;
  --bg-white: #ffffff;
  --bg-page: #ffffff;
  --card-border: #e3e6e4;
  --prep-bg: #f3f8f2;
  --prep-border: #dde8dc;
  --prep-accent: #6e9a6d;
  --prep-badge-bg: #e5efe2;
  --plan-bg: #fff5ec;
  --plan-border: #f1dfcf;
  --plan-accent: #e77936;
  --plan-badge-bg: #fae7d7;
  --help-bg: #f2f7fc;
  --help-border: #dfe8f3;
  --help-accent: #4d8bd6;
  --help-badge-bg: #e1ebf8;
  --planner-bg: #ffffff;
  --planner-border: #e3e6e4;
  --shadow-sm: 0 2px 8px rgba(23, 58, 45, 0.04);
  --shadow-md: 0 8px 24px rgba(23, 58, 45, 0.08);
  --shadow-lg: 0 16px 36px rgba(23, 58, 45, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); background-color: var(--bg-page); color: var(--text-body); line-height: 1.65; font-size: 16px; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 48px; } }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #ffffff; border-bottom: 1px solid rgba(23, 58, 45, 0.08); height: 88px; display: flex; align-items: center; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-group { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-size: 22px; font-weight: 900; letter-spacing: 0.5px; color: var(--primary); }
.brand-subtitle { font-size: 11px; font-weight: 700; letter-spacing: 2.2px; color: var(--secondary-soft); }
.desktop-nav { display: none; align-items: center; gap: 24px; }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }
.nav-link { font-size: 16px; font-weight: 700; color: var(--primary); padding: 8px 4px; }
.nav-link:hover, .nav-link.active { color: var(--secondary); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-header-cta { display: none; align-items: center; justify-content: center; padding: 12px 22px; background-color: var(--primary); color: #ffffff; border-radius: var(--radius-sm); font-size: 15px; font-weight: 800; transition: background-color 0.2s ease, transform 0.15s ease; }
@media (min-width: 768px) { .btn-header-cta { display: inline-flex; } }
.btn-header-cta:hover { background-color: var(--primary-hover); color: #ffffff; transform: translateY(-1px); }
.mobile-menu-btn { display: flex; flex-direction: column; justify-content: space-around; width: 32px; height: 32px; background: transparent; border: none; cursor: pointer; padding: 4px; z-index: 101; }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }
.mobile-menu-btn span { width: 100%; height: 2.5px; background-color: var(--primary); border-radius: 2px; transition: all 0.3s ease; }
.mobile-drawer { position: fixed; top: 88px; left: 0; right: 0; bottom: 0; background: #ffffff; z-index: 99; padding: 32px 24px; display: none; flex-direction: column; gap: 20px; border-top: 1px solid var(--card-border); overflow-y: auto; }
.mobile-drawer.is-open { display: flex; }
.mobile-nav-link { font-size: 19px; font-weight: 700; color: var(--primary); padding: 12px 0; border-bottom: 1px solid #f0f3f1; }
.mobile-drawer-cta { margin-top: 16px; display: flex; align-items: center; justify-content: center; padding: 14px; background-color: var(--primary); color: #ffffff; border-radius: var(--radius-sm); font-size: 16px; font-weight: 800; }

/* Hero Section */
.hero-section { position: relative; background: linear-gradient(135deg, #dcecf7 0%, #8cc5e5 48%, #2b87ad 100%); min-height: 448px; display: flex; align-items: center; overflow: hidden; padding: 60px 0; }
.hero-background-art { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; pointer-events: none; opacity: 0.95; display: flex; align-items: center; justify-content: flex-end; }
@media (max-width: 900px) { .hero-background-art { opacity: 0.25; width: 100%; } }
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; padding: 6px 16px; background: rgba(255, 255, 255, 0.92); border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; color: var(--secondary); margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.hero-title { font-size: clamp(32px, 4.5vw, 54px); font-weight: 900; line-height: 1.18; color: var(--primary); margin-bottom: 16px; letter-spacing: -0.5px; }
.hero-subtitle { font-size: clamp(16px, 1.8vw, 19px); color: var(--text-body); line-height: 1.55; margin-bottom: 28px; }
.hero-search-form { display: flex; align-items: center; background: #ffffff; border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 4px 8px 4px 18px; max-width: 585px; }
.hero-search-input { flex: 1; border: none; background: transparent; font-size: 16px; color: var(--primary); padding: 12px 0; outline: none; }
.hero-search-input::placeholder { color: var(--text-light); font-size: 15px; }
.hero-search-submit { background: transparent; border: none; color: var(--primary); font-size: 26px; line-height: 1; cursor: pointer; padding: 8px 12px; display: flex; align-items: center; justify-content: center; }

/* Pillars & Planner Section */
.pillars-section { padding: 56px 0 40px; }
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .pillars-grid { grid-template-columns: repeat(3, 1fr) 1.15fr; } }
.pillar-card { border-radius: var(--radius-md); padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 294px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-prep { background-color: var(--prep-bg); border: 1px solid var(--prep-border); }
.pillar-plan { background-color: var(--plan-bg); border: 1px solid var(--plan-border); }
.pillar-help { background-color: var(--help-bg); border: 1px solid var(--help-border); }
.pillar-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.pillar-badge-circle { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.pillar-prep .pillar-badge-circle { background-color: var(--prep-badge-bg); color: var(--prep-accent); }
.pillar-plan .pillar-badge-circle { background-color: var(--plan-badge-bg); color: var(--plan-accent); }
.pillar-help .pillar-badge-circle { background-color: var(--help-badge-bg); color: var(--help-accent); }
.pillar-title { font-size: 23px; font-weight: 900; color: var(--primary); }
.pillar-desc { font-size: 16px; color: #344f45; line-height: 1.6; margin-bottom: 24px; }
.btn-pillar-cta { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; background-color: var(--primary); color: #ffffff; border-radius: var(--radius-sm); font-size: 15px; font-weight: 800; width: fit-content; transition: background-color 0.2s ease; }
.btn-pillar-cta:hover { background-color: var(--primary-hover); color: #ffffff; }

/* AI Planner Card */
.planner-card { background-color: var(--planner-bg); border: 1px solid var(--planner-border); border-radius: var(--radius-md); padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 294px; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.planner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.planner-badge { font-size: 15px; font-weight: 900; color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.planner-title { font-size: clamp(20px, 2.2vw, 25px); font-weight: 900; color: var(--primary); line-height: 1.25; margin-bottom: 12px; }
.planner-desc { font-size: 15px; color: var(--text-muted); line-height: 1.55; margin-bottom: 24px; }
.btn-planner-cta { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; background-color: var(--primary); color: #ffffff; border-radius: var(--radius-sm); font-size: 15px; font-weight: 800; width: fit-content; transition: background-color 0.2s ease; }
.btn-planner-cta:hover { background-color: var(--primary-hover); color: #ffffff; }

/* Popular Guides Section */
.popular-section { padding: 48px 0 80px; }
.section-header-row { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
@media (min-width: 768px) { .section-header-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.section-title { font-size: 26px; font-weight: 900; color: var(--primary); }
.filter-pills { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.filter-pill { padding: 7px 18px; background: #ffffff; border: 1px solid #d7ded9; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: #445950; cursor: pointer; transition: all 0.2s ease; }
.filter-pill:hover, .filter-pill.active { background: var(--primary); border-color: var(--primary); color: #ffffff; }
.filter-more-link { font-size: 15px; font-weight: 700; color: var(--primary); margin-left: 8px; display: inline-flex; align-items: center; gap: 4px; }
.guides-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .guides-grid { grid-template-columns: repeat(4, 1fr); } }
.guide-card { background: #ffffff; border: 1px solid var(--card-border); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.guide-card-image { height: 160px; background-color: #eaf1ed; position: relative; overflow: hidden; }
.guide-card-image img { width: 100%; height: 100%; object-fit: cover; }
.guide-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.guide-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 10px; width: fit-content; }
.tag-travel-prep { background: var(--prep-badge-bg); color: var(--prep-accent); }
.tag-trip-planning { background: var(--plan-badge-bg); color: var(--plan-accent); }
.tag-on-trip-help { background: var(--help-badge-bg); color: var(--help-accent); }
.guide-card-title { font-size: 17px; font-weight: 800; color: var(--primary); line-height: 1.35; margin-bottom: 8px; }
.guide-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-card-meta { font-size: 12px; color: var(--text-light); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f0f3f1; padding-top: 12px; margin-top: auto; }
.empty-guides-card { grid-column: 1 / -1; background: #f8faf8; border: 1px dashed #d5ded7; border-radius: var(--radius-md); padding: 48px 24px; text-align: center; }
.empty-guides-title { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.empty-guides-desc { font-size: 15px; color: var(--text-muted); max-width: 500px; margin: 0 auto 20px; }

/* Single Post / Page Content */
.article-container { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }
.article-breadcrumbs { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-breadcrumbs a:hover { color: var(--primary); }
.article-header { margin-bottom: 36px; border-bottom: 1px solid #eef2ef; padding-bottom: 28px; }
.article-title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; line-height: 1.25; color: var(--primary); margin: 16px 0; letter-spacing: -0.5px; }
.article-meta-row { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--text-muted); flex-wrap: wrap; }
.article-verified-badge { display: inline-flex; align-items: center; gap: 4px; background: #e8f3ec; color: var(--primary); font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 13px; }
.article-lead-excerpt { font-size: 18px; line-height: 1.65; color: var(--text-body); background: #f8faf8; border-left: 4px solid var(--secondary); padding: 18px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 28px 0; font-weight: 500; }
.article-body { font-size: 17px; line-height: 1.8; color: #27463b; }
.article-body h2 { font-size: 24px; font-weight: 800; color: var(--primary); margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 1px solid #eef2ef; }
.article-body h3 { font-size: 20px; font-weight: 800; color: var(--primary); margin: 28px 0 12px; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 24px 24px; }
.article-body li { margin-bottom: 8px; }
.article-sources-box { margin: 40px 0; padding: 24px; background: #f5f8f6; border: 1px solid #dce8dc; border-radius: var(--radius-md); }
.sources-box-title { font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.sources-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.sources-list li { margin-bottom: 8px; display: flex; align-items: baseline; gap: 8px; }
.source-badge { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: #dde8dc; color: var(--primary); }
.in-article-planner-box { margin: 48px 0; padding: 32px; background: linear-gradient(135deg, #f3f8f2 0%, #eaf4ed 100%); border: 1px solid #d2e4d5; border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .in-article-planner-box { flex-direction: row; align-items: center; justify-content: space-between; } }
.planner-box-text h3 { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.planner-box-text p { font-size: 15px; color: var(--text-muted); margin: 0; }
.trust-page-header { text-align: center; padding: 48px 0 32px; border-bottom: 1px solid #eef2ef; margin-bottom: 40px; }
.trust-page-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 900; color: var(--primary); margin-bottom: 12px; }
.trust-page-desc { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Footer */
.site-footer { background: #112820; color: #c5d4cd; padding: 64px 0 36px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-brand-title { font-size: 20px; font-weight: 900; color: #ffffff; letter-spacing: 0.5px; margin-bottom: 12px; }
.footer-brand-desc { font-size: 14px; line-height: 1.6; color: #9cb3a8; max-width: 380px; }
.footer-col h4 { font-size: 15px; font-weight: 800; color: #ffffff; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #9cb3a8; transition: color 0.2s ease; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 28px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: #7b968a; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-disclaimer { font-size: 12px; color: #6a8277; line-height: 1.5; }
