﻿/* ===== NEW IN TOKYO - Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700;900&display=swap');

:root {
  --bg-primary: #faf9f6;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(0,0,0,0.04);
  --text-primary: #2a1921;
  --text-secondary: #5c4b51;
  --text-muted: #94a3b8;
  --accent: #722f37;
  --accent-light: #9a3f4a;
  --accent-dark: #4b1a23;
  --gold: #c5a059;
  --sakura: #722f37;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 8px 32px rgba(0,0,0,0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1280px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(217,119,6,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(236,72,153,0.05) 0%, transparent 50%);
  z-index: -1;
  animation: bgShift 20s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(-5%,3%) rotate(3deg); }
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

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

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

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: auto;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    height: 75px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    display: block;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}



.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
}

.site-logo span:first-child {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent), var(--sakura));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.header-tagline {
  font-size: 0.55rem !important;
  font-weight: 500 !important;
  font-style: italic;
  background: linear-gradient(135deg, var(--text-muted), var(--sakura));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent !important;
  letter-spacing: 0.3px;
  font-family: 'Inter', sans-serif !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  color: #111;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: #c5a059;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.main-nav a:hover, .main-nav a.active {
  color: #c5a059;
  background: transparent;
}
.main-nav a:hover::after, .main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 1000;
  flex-direction: column;
  padding: 12px 0;
  border-top: 3px solid #c5a059;
}
.nav-dropdown:hover .nav-dropdown-content {
  display: flex;
}
.nav-dropdown-content a {
  padding: 10px 24px;
  margin: 0;
  border-radius: 0;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-dropdown-content a::after {
  display: none;
}
.nav-dropdown-content a:hover {
  background: #fdfbf7;
  color: #c5a059;
}


/* ===== HERO GRID ===== */
.hero-grid-section {
    padding: 10px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
}

.hero-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.hero-tile:first-child {
  grid-row: 1 / 3;
  border-radius: 12px 0 0 12px;
}

.hero-tile:nth-child(2) { border-radius: 0 12px 0 0; }
.hero-tile:nth-child(3) { border-radius: 0 0 12px 0; }

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-tile:hover img {
  transform: scale(1.05);
}

.hero-tile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-tile-category {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  width: fit-content;
}

.hero-tile-overlay h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-tile:first-child .hero-tile-overlay h2 {
  font-size: 1.8rem;
}

.hero-tile-overlay .hero-meta {
  font-size: 0.8rem;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 200px 200px;
    height: auto;
  }
  .hero-tile:first-child {
    grid-row: auto;
    border-radius: 12px 12px 0 0;
  }
  .hero-tile:nth-child(2) { border-radius: 0; }
  .hero-tile:nth-child(3) { border-radius: 0 0 12px 12px; }
}

/* ===== SECTION ===== */
/* ===== LATEST ARTICLES SECTION ===== */
.latest-articles-section {
  padding: 10px 0 40px;
}

.la-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

/* Top row: 3 overlay cards */
.la-top-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.la-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.la-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.la-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 70%, transparent 100%);
  color: #fff;
}

.la-card-overlay h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.la-card-overlay .la-meta {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Bottom list: compact rows */
.la-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.la-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.la-list-item:hover {
  background: var(--bg-glass);
  border-radius: 8px;
  padding-left: 8px;
}

.la-list-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.la-list-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .la-top-row {
    grid-template-columns: 1fr;
  }
  .la-card { height: 220px; }
  .la-list {
    grid-template-columns: 1fr;
  }
}

/* ===== SECTION ===== */
.section { padding: 60px 0; }
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

/* ===== CATEGORY SPOTLIGHT ===== */
.cat-spotlight-section { padding: 60px 0; }
.cat-spotlight-section .container { padding: 0; max-width: 1200px; }
.cat-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.cat-spotlight-col {
    padding: 40px;
}
.cat-spotlight-col:nth-child(1) { background-color: #fdfbf7; } /* Cream */
.cat-spotlight-col:nth-child(2) { background-color: #4a4e4d; color: #fff; } /* Dark Olive */
.cat-spotlight-col:nth-child(3) { background-color: #fdfbf7; } /* Cream */
.cat-spotlight-col h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
}
.cat-spotlight-col:nth-child(2) h2 {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}
.cs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cs-list-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}
.cs-list-item:hover {
    transform: translateX(5px);
}
.cs-list-item img {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
}
.cs-list-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
}
.cs-list-item .cs-date {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* ===== BLOG GRID ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244,114,182,0.2);
  box-shadow: 0 20px 60px rgba(244,114,182,0.08);
}

.blog-card .card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.blog-card .card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .card-image img { transform: scale(1.05); }

.card-category {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(244,114,182,0.9);
  color: #fff;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.card-body { padding: 20px; }

.card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-meta .date { display: flex; align-items: center; gap: 4px; }
.card-meta .read-time { display: flex; align-items: center; gap: 4px; }

/* ===== FEATURED CARD ===== */
.featured-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 360px;
}
.featured-card .card-image { height: 100%; min-height: 300px; }
.featured-card .card-body { display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.featured-card .card-body h3 { font-size: 1.5rem; -webkit-line-clamp: 3; }
.featured-card .card-body .excerpt { -webkit-line-clamp: 4; }

/* ===== ARTICLE PAGE ===== */
.article-page { padding: calc(var(--header-h) + 40px) 0 60px; }

.article-header {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.article-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.article-header .breadcrumb a { color: var(--accent); }

.article-header h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.article-featured-img {
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-featured-img img { width: 100%; height: auto; }

.article-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-primary);
}

.article-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
}

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

.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-glass);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-content ul, .article-content ol {
  margin: 16px 0;
  padding-left: 28px;
}
.article-content li { margin-bottom: 8px; }

.article-content .mid-article-img {
  margin: 32px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-tags {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-tags span {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* ===== CATEGORY PAGE ===== */
.category-header {
  padding: calc(var(--header-h) + 10px) 0 20px;
  text-align: center;
}
.category-header h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  margin-bottom: 8px;
}
.category-header p { color: var(--text-secondary); }

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.category-nav a {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition);
}
.category-nav a:hover, .category-nav a.active {
  background: rgba(244,114,182,0.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== SIDEBAR ===== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); }

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-widget .popular-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.sidebar-widget .popular-post:last-child { border-bottom: none; }
.sidebar-widget .popular-post:hover { opacity: 0.8; }
.sidebar-widget .popular-post .thumb {
  width: 64px; height: 64px; border-radius: 8px;
  overflow: hidden; flex-shrink: 0;
  background: var(--bg-secondary);
}
.sidebar-widget .popular-post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-widget .popular-post .info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-widget .popular-post .info .meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-about-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-contact {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-contact a {
  color: var(--accent);
  font-weight: 600;
}

.footer-col p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--text-secondary); font-size: 0.88rem; }
.footer-col ul a:hover { color: var(--accent); }

/* Popular Posts in footer */
.fp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.fp-item:hover {
  padding-left: 4px;
}

.fp-item img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.fp-item h4 {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

/* Popular Categories in footer */
.fc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.fc-item:hover {
  padding-left: 4px;
}

.fc-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fc-item .fc-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

/* Horizontal links bar */
.footer-links-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links-bar a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links-bar a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  padding: 16px 24px;
  background: var(--bg-glass);
  border-radius: 50px;
  border: 1px solid var(--border);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.pagination button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.pagination button:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent);
  transform: scale(1.1);
}

.pagination button.active {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  transform: scale(1.1);
}

/* Prev/Next buttons */
.pagination button:first-child,
.pagination button:last-child {
  width: auto;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ===== LOADING ===== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 25%, rgba(255,255,255,0.05) 50%, var(--bg-secondary) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
  box-shadow: 0 4px 20px rgba(244,114,182,0.3);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(244,114,182,0.4); }

/* ===== STATIC PAGES ===== */
.static-page {
  padding: calc(var(--header-h) + 40px) 0 60px;
  max-width: 800px;
  margin: 0 auto;
}
.static-page h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  margin-bottom: 24px;
}
.static-page h2 { font-size: 1.3rem; margin: 32px 0 12px; }
.static-page p { margin-bottom: 16px; color: var(--text-secondary); line-height: 1.9; }
.static-page ul { padding-left: 24px; margin-bottom: 16px; }
.static-page li { margin-bottom: 8px; color: var(--text-secondary); }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,114,182,0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  padding: 14px 40px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(244,114,182,0.3); }

/* ===== NEW BADGE ===== */
.new-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--gold);
  color: #000;
  margin-left: 6px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .blog-grid { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .card-image { min-height: 200px; }
  .featured-card .card-body { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero { padding: calc(var(--header-h) + 40px) 0 40px; }
  .article-content { font-size: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .category-nav { gap: 6px; }
  .category-nav a { padding: 6px 14px; font-size: 0.8rem; }
}



/* ===== TOC (Table of Contents) ===== */
.toc-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin: 32px 0;
}
.toc-container h3 { margin-top: 0; font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 10px; }
.toc-list a { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; transition: var(--transition); }
.toc-list a:hover { color: var(--accent); padding-left: 5px; }

/* ===== AUTHOR BOX ===== */
.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 48px 0;
}
.author-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.author-info h4 { font-size: 1.1rem; margin-bottom: 6px; color: var(--text-primary); }
.author-info p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* ===== SOCIAL SHARE ===== */
.social-share {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.share-x { background: #000; border: 1px solid #333; }
.share-line { background: #06c755; }
.share-hatena { background: #00a4de; }
.share-facebook { background: #1877f2; }

/* ===== LOGO STYLING ===== */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo span {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 1px;
}

/* ===== SEARCH OVERLAY ===== */
.nav-search {
  display: inline-flex;
  align-items: center;
  padding: 8px;
  cursor: pointer;
  color: var(--text-primary, #333);
  font-size: 1.1rem;
  transition: 0.3s ease;
}
.nav-search:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.search-overlay.active {
  display: flex;
  opacity: 1;
}

.search-overlay-inner {
  width: 90%;
  max-width: 720px;
  position: relative;
}

.search-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  line-height: 1;
}
.search-close:hover { opacity: 1; transform: scale(1.15); }

.search-box {
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 18px 24px 18px 54px;
  font-size: 1.15rem;
  font-family: inherit;
  border: none;
  border-radius: 12px;
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  outline: none;
}
.search-box input::placeholder {
  color: #aaa;
  font-style: italic;
}
.search-box::before {
  content: 'ðŸ”';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  pointer-events: none;
}

.search-results {
  margin-top: 20px;
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 4px;
}
.search-results::-webkit-scrollbar { width: 6px; }
.search-results::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

.search-hint {
  color: rgba(255,255,255,0.5);
  text-align: center;
  font-size: 0.95rem;
  padding: 40px 0;
  font-style: italic;
}
.search-no-results {
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 40px 0;
  font-size: 1rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  border: 1px solid rgba(255,255,255,0.06);
}
.search-result-item:hover {
  background: rgba(255,255,255,0.15);
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.12);
}

.search-result-img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.search-result-info {
  flex: 1;
  min-width: 0;
}
.search-result-cat {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c4975a;
  margin-bottom: 4px;
}
.search-result-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result-excerpt {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-count {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  padding: 8px 0 4px;
  text-align: right;
}

@media (max-width: 768px) {
  .search-overlay { padding-top: 5vh; }
  .search-overlay-inner { width: 95%; }
  .search-box input { font-size: 1rem; padding: 16px 20px 16px 46px; }
  .search-result-img { width: 60px; height: 44px; }
}

/* Wine of the Day Banner */
.wine-banner {
    margin-top: 95px; /* Push below fixed header */
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(114, 47, 55, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.wine-banner span {
    color: var(--gold);
    font-weight: 900;
}
.wine-banner::before {
    content: '🍷';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.8;
}
.wine-banner::after {
    content: '🍾';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.8;
}

/* General Section Custom Layout */
.general-section .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #111;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
    display: inline-block;
}
.general-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.general-card {
    display: flex;
    flex-direction: column;
    background: #f7d56b; /* Warm yellow/gold from the screenshot */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: #111;
}
.general-card:hover {
    transform: translateY(-5px);
}
.general-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.general-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.general-card:hover .general-img-wrapper img {
    transform: scale(1.05);
}
.general-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
}
.general-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #111;
}
.general-date {
    font-size: 0.8rem;
    color: rgba(17, 17, 17, 0.6);
    margin-top: auto;
}

@media (max-width: 900px) {
    .general-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .general-grid {
        grid-template-columns: 1fr;
    }
}




.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-primary); }

/* ===== BOTTOM BANNER ===== */
.bottom-banner-section {
    padding: 60px 0;
}
.bottom-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.bb-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}
.bb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.bb-card:hover img {
    transform: scale(1.05);
}
.bb-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
    color: #fff;
    pointer-events: none;
}
.bb-cat {
    display: inline-block;
    background: #c5a059;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.bb-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
    .bottom-banner-grid {
        grid-template-columns: 1fr;
    }
    .bb-card { height: 220px; }
}
