
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink: #0a0e1a; --ink-soft: #2a2f3d; --muted: #6b7280;
  --line: #e5e7eb; --line-soft: #f1f3f5;
  --paper: #fbfaf7; --paper-2: #ffffff;
  --accent: #1e40af; --accent-bright: #2563eb;
  --radius: 4px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--paper); color: var(--ink);
  line-height: 1.65; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }

.topbar { background: var(--ink); color: #e5e7eb; font-size: 12.5px; padding: 8px 0; letter-spacing: 0.02em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar .date { color: #9ca3af; }
.topbar nav a { color: #d1d5db; text-decoration: none; margin-left: 18px; transition: color 0.2s; }
.topbar nav a:hover { color: #fff; }

header.site { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 28px 0 24px; }
header.site .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.logo { font-family: 'Fraunces', Georgia, serif; font-weight: 900; font-size: 38px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; line-height: 1.05; }
.logo .dot { color: var(--accent-bright); }
.logo .sub { display: block; font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px; }
.search-box { display: flex; align-items: center; background: var(--line-soft); border-radius: 999px; padding: 6px 16px; min-width: 280px; }
.search-box input { border: none; background: transparent; outline: none; font-family: inherit; font-size: 14px; width: 100%; }
.search-box .icon { color: var(--muted); margin-right: 8px; }

nav.primary { background: var(--paper-2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
nav.primary ul { display: flex; list-style: none; justify-content: center; flex-wrap: wrap; }
nav.primary li a { display: block; padding: 16px 22px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14.5px; border-bottom: 2px solid transparent; transition: all 0.2s; }
nav.primary li a:hover, nav.primary li a.active { color: var(--accent-bright); border-bottom-color: var(--accent-bright); }

.hero { padding: 50px 0 30px; }
.hero-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; min-height: 500px; }
.hero-main img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; position: absolute; inset: 0; }
.hero-overlay { position: relative; min-height: 500px; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; color: #fff; }
.badge { display: inline-block; background: var(--accent-bright); color: #fff; padding: 5px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; border-radius: var(--radius); margin-bottom: 16px; width: fit-content; }
.badge.red { background: #dc2626; }
.hero-main h1 { font-family: 'Fraunces', Georgia, serif; font-size: 44px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; max-width: 800px; margin-bottom: 14px; }
.hero-main h1 a { color: #fff; text-decoration: none; }
.hero-main .meta { font-size: 13px; color: #d1d5db; letter-spacing: 0.02em; }

.section-head { display: flex; align-items: center; justify-content: space-between; margin: 60px 0 24px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.section-head h2 { font-family: 'Fraunces', Georgia, serif; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }

.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { background: var(--paper-2); border-radius: var(--radius); overflow: hidden; transition: all 0.25s; }
.card a.image { display: block; }
.card:hover { transform: translateY(-4px); }
.card-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--line-soft); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-image img { transform: scale(1.04); }
.card-image .category { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.95); color: var(--ink); padding: 5px 11px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; border-radius: 3px; text-decoration: none; }
.card-body { padding: 22px 4px 4px; }
.card-body h3 { font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1.22; margin-bottom: 10px; letter-spacing: -0.01em; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--accent-bright); }
.card-body .excerpt { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; }
.card-body .meta { font-size: 12px; color: var(--muted); }
.card-body .meta .author { color: var(--ink); font-weight: 600; }

.main-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-top: 30px; }
.post-list .post-item { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.post-list .post-item:first-of-type { padding-top: 0; }
.post-thumb { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--line-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-content .category { display: inline-block; color: var(--accent-bright); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 8px; text-decoration: none; }
.post-content h3 { font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1.25; margin-bottom: 8px; letter-spacing: -0.01em; }
.post-content h3 a { color: var(--ink); text-decoration: none; }
.post-content h3 a:hover { color: var(--accent-bright); }
.post-content p { color: var(--ink-soft); font-size: 15px; margin-bottom: 10px; }
.post-content .meta { font-size: 12.5px; color: var(--muted); }

aside .widget { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; }
aside .widget-title { font-family: 'Fraunces', Georgia, serif; font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
aside ul { list-style: none; }
aside ul li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
aside ul li:last-child { border-bottom: none; }
aside ul li a { color: var(--ink-soft); text-decoration: none; }
aside ul li a:hover { color: var(--accent-bright); }
.newsletter { background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%); color: #fff; border: none; }
.newsletter .widget-title { color: #fff; border-color: rgba(255,255,255,0.2); }
.newsletter p { color: rgba(255,255,255,0.9); font-size: 14px; margin-bottom: 14px; }
.newsletter input { width: 100%; padding: 10px 12px; border: none; border-radius: var(--radius); margin-bottom: 8px; font-family: inherit; }
.newsletter button { width: 100%; background: var(--ink); color: #fff; padding: 12px; border: none; border-radius: var(--radius); font-weight: 600; cursor: pointer; }

.single-post { max-width: 760px; margin: 0 auto; padding: 50px 0; }
.post-header { margin-bottom: 30px; text-align: center; }
.post-header .category { display: inline-block; color: var(--accent-bright); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 14px; text-decoration: none; }
.post-header h1 { font-family: 'Fraunces', Georgia, serif; font-size: 44px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 18px; }
.post-header .meta { font-size: 13px; color: var(--muted); }
.post-featured { margin: 30px 0 40px; border-radius: var(--radius); overflow: hidden; }
.post-content-body { font-size: 18px; line-height: 1.75; color: var(--ink-soft); }
.post-content-body h2 { font-family: 'Fraunces', Georgia, serif; font-size: 30px; font-weight: 700; color: var(--ink); margin: 50px 0 18px; letter-spacing: -0.02em; }
.post-content-body p { margin-bottom: 20px; }
.post-content-body ul, .post-content-body ol { margin: 20px 0 24px 24px; }
.post-content-body li { margin-bottom: 8px; }
.post-content-body strong { color: var(--ink); font-weight: 700; }
.post-tags { font-size: 13px; color: var(--muted); margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.post-tags a { display: inline-block; background: var(--line-soft); color: var(--ink-soft); padding: 4px 10px; margin: 0 4px 4px 0; border-radius: 999px; text-decoration: none; font-size: 12px; }
.post-tags a:hover { background: var(--accent-bright); color: #fff; }
.more-articles { margin-top: 70px; padding-top: 40px; border-top: 2px solid var(--ink); }
.more-articles h2 { font-family: 'Fraunces', Georgia, serif; font-size: 24px; margin-bottom: 24px; }

footer.site { background: #050810; color: #9ca3af; padding: 60px 0 28px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer.site h4 { color: #fff; font-family: 'Fraunces', Georgia, serif; font-size: 18px; margin-bottom: 16px; font-weight: 600; }
footer.site .logo { color: #fff; font-size: 28px; }
footer.site .logo .sub { color: #9ca3af; }
footer.site p { font-size: 14px; line-height: 1.6; margin-top: 10px; max-width: 320px; }
footer.site ul { list-style: none; }
footer.site ul li { padding: 6px 0; font-size: 14px; }
footer.site ul li a { color: #9ca3af; text-decoration: none; }
footer.site ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 12.5px; color: #6b7280; }

@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .main-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .featured-grid { grid-template-columns: 1fr; }
  .post-list .post-item { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-main h1 { font-size: 28px; }
  .post-header h1 { font-size: 30px; }
  .logo { font-size: 30px; }
  .search-box { min-width: 100%; }
}
