/*
Theme Name: JAPAN PRIVÉ (Official Custom Theme)
Theme URI: https://japanprive.com
Author: JAPAN PRIVÉ Editorial Team
Description: Bespoke Japanese luxury editorial & affiliate curation theme designed for JAPAN PRIVÉ. Includes "✨ ツアー管理 (Curated Tours)" custom post type, currency switcher (USD/EUR/JPY), travel companion filter, and shortcodes for Editor's Insider Tips and Partner Booking Cards.
Version: 1.7.0
Text Domain: japan-prive
*/

:root {
  --bg-washi: #faf7f2;
  --bg-washi-alt: #f2ece1;
  --bg-sumi: #121316;
  --bg-sumi-elevated: #1b1d22;
  --text-sumi: #18181b;
  --text-muted: #57534e;
  --gold-primary: #b89146;
  --gold-hover: #9e7a34;
  --gold-light: #dfc286;
  --akane-accent: #8c2d2d;
  --border-subtle: rgba(24, 24, 27, 0.1);
  --border-gold: rgba(184, 145, 70, 0.38);
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-jp: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

body.jp-theme {
  background-color: var(--bg-washi);
  color: var(--text-sumi);
  font-family: var(--font-sans);
  line-height: 1.65;
  margin: 0;
  overflow-x: clip;
}

.serif-display,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  font-family: var(--font-serif);
  line-height: 1.2;
  text-wrap: balance;
}

.fluid-h2 {
  font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.75rem);
}

.fluid-h3 {
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.65rem);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1.75rem;
}

.exp-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  overflow: clip;
  box-shadow: 0 12px 32px -8px rgba(18, 19, 22, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.exp-card:hover {
  box-shadow: 0 24px 48px -12px rgba(18, 19, 22, 0.16);
  transform: translateY(-3px);
}

.exp-card[hidden] {
  display: none !important;
}

.kanji-vertical {
  writing-mode: vertical-rl;
  font-family: var(--font-jp);
  letter-spacing: 0.45em;
  user-select: none;
}

.entry-content p,
.entry-content li {
  color: #3f3f46;
  margin-bottom: 1.15rem;
  text-wrap: pretty;
}

.entry-content h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem);
  color: #18181b;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.entry-content h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
  color: #18181b;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.9rem;
  background: #fff;
  border: 1px solid var(--border-subtle);
}

.entry-content th,
.entry-content td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.entry-content th {
  background: var(--bg-washi-alt);
  font-weight: 700;
}

.jp-insider-box {
  background: rgba(184, 145, 70, 0.12);
  border-left: 4px solid var(--gold-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.75rem 0;
}

.jp-offer-box {
  border: 2px solid var(--gold-primary);
  border-radius: 0.875rem;
  padding: 1.5rem;
  background: #fffdf9;
  margin: 2rem 0;
  box-shadow: 0 12px 32px -8px rgba(18, 19, 22, 0.07);
}
