/* Editorial direction v3 — selected visual: quiet Japanese select magazine. */
html { overflow-x: hidden; }
:root {
  --editorial-ink: #113d33;
  --editorial-orange: #d96029;
  --editorial-paper: #fbf9f3;
  --editorial-rule: #ded9ce;
  --editorial-muted: #6f766f;
}

body:not(.admin) {
  overflow-x: hidden;
  background: var(--editorial-paper);
  font-family: "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
}

body:not(.admin) .site-header {
  min-height: 72px;
  border-bottom-color: var(--editorial-rule);
  background: rgba(251, 249, 243, .97);
  backdrop-filter: none;
}

body:not(.admin) .brand { font-family: "Noto Serif JP", serif; font-weight: 700; }
body:not(.admin) .brand small { font-family: "Noto Sans JP", sans-serif; font-weight: 500; }
body:not(.admin) .desktop-nav { gap: 34px; }
body:not(.admin) .desktop-nav a { white-space: nowrap; }
@media (max-width: 760px) {
  body:not(.admin) .site-header .mobile-menu nav { display: grid; gap: 0; margin-left: 0; min-width: 190px; }
  body:not(.admin) .site-header .mobile-menu nav a { display: block; white-space: nowrap; }
}
body:not(.admin) .desktop-nav a { position: relative; padding: 24px 0 22px; font-size: .82rem; font-weight: 600; }
body:not(.admin) .desktop-nav a::after { position: absolute; right: 0; bottom: 14px; left: 0; height: 2px; background: var(--editorial-orange); content: ""; opacity: 0; transform: scaleX(.3); transition: .18s ease; }
body:not(.admin) .desktop-nav a:hover::after,
body:not(.admin) .desktop-nav a.active::after { opacity: 1; transform: scaleX(1); }

body:not(.admin) h1,
body:not(.admin) .section-heading h2,
body:not(.admin) .score-intro h2,
body:not(.admin) .travel-section h2,
body:not(.admin) .travel-section h3,
.editorial-pick h2,
.travel-editorial-strip h2 { font-family: "Noto Serif JP", serif; font-weight: 600; }

.home-hero {
  min-height: 560px;
  padding-top: 76px;
  background-color: #f7f2e9;
  background-image: url('/static/images/home-editorial-hero-v3.webp');
  background-position: center;
  background-size: cover;
}

.home-hero .hero-copy { width: min(610px, 50vw); }
.home-hero h1 { margin-bottom: 22px; font-family: "Noto Serif JP", serif; font-size: clamp(2.75rem, 3.7vw, 3.25rem); font-weight: 600; line-height: 1.38; letter-spacing: .005em; }
.home-hero .eyebrow { margin-bottom: 14px; font-size: .76rem; letter-spacing: .11em; }
.home-hero .hero-lead { max-width: 500px; font-size: .94rem; line-height: 2; }
.home-hero .primary-search { box-shadow: none; }
.home-hero .primary-search input { border-width: 1px; border-color: var(--editorial-rule); border-radius: 0; background: rgba(255,255,255,.94); }
.home-hero .primary-search button { border-radius: 0; background: var(--editorial-orange); }
.home-hero .popular-searches { margin-top: 15px; }
.home-hero .popular-searches a { padding: 0; border-radius: 0; background: transparent; text-decoration: underline; text-decoration-color: #c9c2b7; text-underline-offset: 4px; }

.editorial-pick {
  display: grid;
  grid-template-columns: 160px minmax(0, 1.75fr) minmax(280px, .9fr);
  gap: 32px;
  align-items: stretch;
  padding-top: 52px;
  padding-bottom: 52px;
  border-top: 1px solid var(--editorial-rule);
  border-bottom: 1px solid var(--editorial-rule);
  background: #fffdf8 !important;
}

.editorial-pick-label { display: flex; flex-direction: column; justify-content: space-between; padding: 3px 0; }
.editorial-pick-label span { color: var(--editorial-muted); font-size: .72rem; letter-spacing: .09em; }
.editorial-pick-label strong { color: var(--editorial-ink); font-family: "Noto Serif JP", serif; font-size: 1.1rem; font-weight: 600; line-height: 1.8; }
.editorial-pick-main { display: grid; grid-template-columns: minmax(210px, 1.15fr) minmax(190px, .85fr); border: 1px solid var(--editorial-rule); color: inherit; text-decoration: none; }
.editorial-pick-image { position: relative; min-height: 360px; overflow: hidden; background: #f2efe8; }
.editorial-pick-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.editorial-pick-image > span { position: absolute; top: 18px; right: 18px; display: grid; width: 76px; height: 76px; place-content: center; border-radius: 50%; background: var(--editorial-ink); color: #fff; text-align: center; font-size: .62rem; }
.editorial-pick-image > span strong { font-family: "Noto Serif JP", serif; font-size: 1.45rem; }
.editorial-pick-main > div:last-child { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 42px); }
.editorial-pick-main > div:last-child > p:first-child { margin: 0 0 12px; color: var(--editorial-orange); font-size: .72rem; font-weight: 700; }
.editorial-pick h2 { display: -webkit-box; overflow: hidden; margin: 0 0 16px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.65; }
.editorial-pick-note { margin: 0 0 16px; color: var(--editorial-muted); font-size: .79rem; line-height: 1.8; }
.editorial-pick-price { color: #6f2d16; font-size: 1.25rem; }
.editorial-pick-link { margin-top: 18px; color: var(--editorial-orange); font-size: .78rem; font-weight: 700; }
.editorial-pick-rail { display: grid; grid-template-rows: auto repeat(4, 1fr); border-top: 1px solid var(--editorial-rule); }
.editorial-pick-rail > p { margin: 0; padding: 12px 0; color: var(--editorial-muted); font-size: .72rem; }
.editorial-pick-rail a { display: grid; grid-template-columns: 74px 1fr; gap: 13px; align-items: center; padding: 11px 0; border-top: 1px solid var(--editorial-rule); color: inherit; text-decoration: none; }
.editorial-pick-rail img { width: 74px; height: 74px; object-fit: contain; background: #fff; }
.editorial-pick-rail span { min-width: 0; }
.editorial-pick-rail strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-family: "Noto Serif JP", serif; font-size: .79rem; font-weight: 600; line-height: 1.55; }
.editorial-pick-rail small { display: block; margin-top: 5px; color: var(--editorial-muted); font-size: .66rem; }

.score-intro.score-intro-prominent { grid-template-columns: minmax(280px, 420px) 1fr; gap: 40px; padding-top: 32px; padding-bottom: 32px; border-color: var(--editorial-rule); background: #f3f0e8; }
.score-intro-heading .eyebrow { margin-bottom: 7px; }
.score-intro-heading h2 { font-size: 1.45rem; line-height: 1.55; }
.score-intro-content { gap: 9px; }
.score-intro-content .score-benefit { font-size: .88rem; font-weight: 500; line-height: 1.8; }
.score-intro-content details { font-size: .75rem; }
.score-intro-content summary { width: max-content; cursor: pointer; color: var(--editorial-orange); font-weight: 700; }
.score-intro-content details[open] summary { margin-bottom: 10px; }
.score-intro-prominent .score-factors li { border-radius: 0; background: transparent; }

.section-block { padding-top: 54px; padding-bottom: 54px; }
.section-heading { padding-bottom: 14px; border-bottom: 1px solid var(--editorial-rule); }
.section-heading h2 { font-size: 1.55rem; letter-spacing: .03em; }
.section-link { color: var(--editorial-ink); font-size: .76rem; }

.category-grid { grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--editorial-rule); border-left: 1px solid var(--editorial-rule); }
.category-grid a { min-height: 94px; border: 0; border-right: 1px solid var(--editorial-rule); border-bottom: 1px solid var(--editorial-rule); border-radius: 0; background: transparent; }
.category-grid a:hover { background: #f4f0e7; }
.category-icon { font-size: 29px; }

.featured-section,
.ranking-section { background: #fffdf8 !important; }
.product-card { border-color: var(--editorial-rule); border-radius: 0; box-shadow: none; }
.product-image-wrap { background: #f7f4ee; }
.product-name { font-family: "Noto Serif JP", serif; font-weight: 600; }
.reason-tag { border-radius: 0; background: #f1eee7; }
.rank-badge { border-radius: 0; }

.purpose-grid { grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--editorial-rule); border-left: 1px solid var(--editorial-rule); }
.purpose-grid a,
.purpose-grid a:nth-child(n) { min-height: 104px; border: 0; border-right: 1px solid var(--editorial-rule); border-bottom: 1px solid var(--editorial-rule); border-radius: 0; background: transparent; }
.purpose-grid a:hover { background: #f4f0e7; transform: none; }
.ranking-tabs { gap: 0; padding: 0; border-bottom: 1px solid var(--editorial-rule); border-radius: 0; background: transparent; }
.ranking-tabs a { border-radius: 0; }
.ranking-tabs a.active { background: var(--editorial-ink); color: #fff; }

/* Travel shares the editorial system but keeps its own search purpose. */
.travel-shell { width: min(1180px, calc(100vw - 40px)); padding-top: 34px; }
.travel-hero { min-height: 560px; padding-top: 74px; background-color: #f5f1e9; background-image: url('/static/images/travel-editorial-hero-v3.webp'); background-position: center; background-size: cover; }
.travel-hero-copy { width: min(560px, 46vw); }
.travel-hero h1 { margin-bottom: 18px; font-family: "Noto Serif JP", serif; font-size: clamp(3rem, 4.7vw, 4.65rem); font-weight: 600; line-height: 1.3; letter-spacing: .02em; }
.travel-eyebrow,
.travel-kicker { letter-spacing: .13em; }
.travel-lead { font-family: "Noto Serif JP", serif; font-size: 1.18rem; font-weight: 600; }
.travel-hero-description { max-width: 480px; font-size: .88rem; }
.travel-hero-panel { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border: 1px solid rgba(17,61,51,.28); background: rgba(255,255,255,.91); }
.travel-hero-panel a { display: grid; gap: 5px; padding: 17px 16px; border-right: 1px solid var(--editorial-rule); color: var(--editorial-ink); text-decoration: none; }
.travel-hero-panel a:last-child { border-right: 0; }
.travel-hero-panel a:hover { background: #fff; }
.travel-hero-panel span { color: var(--editorial-muted); font-size: .66rem; }
.travel-hero-panel strong { font-family: "Noto Serif JP", serif; font-size: .88rem; font-weight: 600; }
.travel-freshness { padding-bottom: 18px; border-bottom: 1px solid var(--editorial-rule); }

.travel-editorial-strip { display: grid; grid-template-columns: 250px 1fr; gap: 44px; padding: 50px 0; border-bottom: 1px solid var(--editorial-rule); }
.travel-editorial-strip-head h2 { margin: 0 0 13px; font-size: 1.75rem; }
.travel-editorial-strip-head > p:last-child { margin: 0; color: var(--editorial-muted); font-size: .78rem; line-height: 1.8; }
.travel-editorial-strip > div:last-child { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--editorial-rule); border-left: 1px solid var(--editorial-rule); }
.travel-editorial-strip > div:last-child a { display: flex; min-width: 0; min-height: 142px; flex-direction: column; gap: 8px; padding: 18px; border-right: 1px solid var(--editorial-rule); border-bottom: 1px solid var(--editorial-rule); color: inherit; text-decoration: none; }
.travel-editorial-strip time { color: var(--editorial-orange); font-family: "Noto Serif JP", serif; font-size: 1.25rem; font-weight: 600; }
.travel-editorial-strip a > span:not(.travel-badge) { color: var(--editorial-orange); font-size: .68rem; }
.travel-editorial-strip a strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-family: "Noto Serif JP", serif; font-size: .9rem; line-height: 1.6; }
.travel-editorial-strip a small { display: -webkit-box; overflow: hidden; color: var(--editorial-muted); -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .68rem; line-height: 1.6; }

.travel-section { padding-top: 58px; }
.travel-section-head { padding-bottom: 16px; border-bottom: 1px solid var(--editorial-rule); }
.travel-section-head h2 { font-size: 1.85rem; }
.travel-section-head > p { font-size: .8rem; }
.travel-section-soft { margin-top: 58px; padding: 48px 0 0; border-top: 1px solid var(--editorial-rule); border-radius: 0; background: transparent; }
.travel-ranking-tabs { gap: 0; border-bottom: 1px solid var(--editorial-rule); }
.travel-ranking-tabs a { border: 0; border-radius: 0; background: transparent; }
.travel-ranking-tabs a:hover,
.travel-ranking-tabs a[aria-current="page"] { background: var(--editorial-ink); }
.travel-ranking-preview + .travel-ranking-preview { margin-top: 60px; }
.travel-ranking-preview-head { padding-bottom: 11px; border-bottom: 1px solid var(--editorial-rule); }
.travel-ranking-preview-head h3 { font-size: 1.28rem; }
.travel-hotel-grid { gap: 14px; }
.travel-hotel-card { border-color: var(--editorial-rule); border-radius: 0; box-shadow: none; }
.travel-hotel-image b { border-radius: 0; background: var(--editorial-paper); }
.travel-hotel-body h3 { font-family: "Noto Serif JP", serif; font-weight: 600; }
.travel-alert-card,
.area-link-grid a,
.notable-list a { border-color: var(--editorial-rule); border-radius: 0; box-shadow: none; }
.travel-alert-card:hover { transform: none; box-shadow: none; background: #f7f3eb; }
.travel-badge { border-radius: 0; }
.area-link-grid { gap: 0; border-top: 1px solid var(--editorial-rule); border-left: 1px solid var(--editorial-rule); }
.area-link-grid a { border-top: 0; border-left: 0; background: transparent; }
.editorial-empty {
  padding: 34px;
  border: 1px solid var(--editorial-rule);
  border-radius: 0;
  background: #fffdf8;
  color: var(--editorial-ink);
  text-align: left;
}
.editorial-empty strong { font-family: "Noto Serif JP", serif; font-size: 1rem; font-weight: 600; }
.editorial-empty p { margin: 8px 0 0; color: var(--editorial-muted); font-size: .78rem; line-height: 1.75; }
.travel-editorial-strip > div:last-child > .editorial-empty,
.travel-card-grid > .editorial-empty,
.notable-list > .editorial-empty { grid-column: 1 / -1; }
.travel-alert-card { min-height: 190px; align-content: start; padding: 22px; background: #fffdf8; }
.travel-alert-card::before { inset: 0 0 auto; width: 100%; height: 2px; border-radius: 0; }
.travel-alert-card strong { font-family: "Noto Serif JP", serif; font-weight: 600; }
.ranking-tabs > span { padding: 13px 16px; color: var(--editorial-muted); font-size: .78rem; }
.ranking-empty { margin-top: 22px; }

@media (max-width: 980px) {
  .editorial-pick { grid-template-columns: 125px minmax(0, 1fr); }
  .editorial-pick-rail { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto 1fr; }
  .editorial-pick-rail > p { grid-column: 1 / -1; }
  .editorial-pick-rail a { display: flex; flex-direction: column; align-items: stretch; border-right: 1px solid var(--editorial-rule); }
  .editorial-pick-rail img { width: 100%; height: 120px; }
  .travel-editorial-strip { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 760px) {
  body:not(.admin) .site-header { min-height: 60px; background: #fffdf8; }
  .home-hero { min-height: 550px; margin-top: -18px; padding: 36px 18px 26px; background-position: 69% center; }
  .home-hero .hero-copy { width: 73%; }
  .home-hero h1 { font-size: 2.35rem; line-height: 1.35; }
  .home-hero .hero-lead { display: block; font-size: .77rem; line-height: 1.8; }
  .home-hero .primary-search { width: calc(100vw - 36px); margin-top: 26px; }
  .home-hero .popular-searches { width: calc(100vw - 36px); }
  .editorial-pick { grid-template-columns: 1fr; gap: 20px; padding-top: 34px; padding-bottom: 34px; }
  .editorial-pick-label { display: block; }
  .editorial-pick-label strong { display: block; margin-top: 5px; }
  .editorial-pick-main { grid-template-columns: 1fr; }
  .editorial-pick-image { min-height: 260px; }
  .editorial-pick-main > div:last-child { padding: 22px; }
  .editorial-pick-rail { display: grid; grid-template-columns: repeat(2, 1fr); }
  .editorial-pick-rail a { padding: 10px; }
  .editorial-pick-rail img { height: 100px; }
  .score-intro.score-intro-prominent { grid-template-columns: 1fr; gap: 14px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid a { min-height: 86px; }
  .purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-grid a,
  .purpose-grid a:nth-child(n) { min-height: 96px; }
  .travel-shell { width: min(100% - 24px, 1180px); }
  .travel-hero { min-height: 570px; margin-top: -22px; padding: 34px 18px 28px; background-image: url('/static/images/travel-editorial-hero-v3.webp'); background-position: 65% center; }
  .travel-hero-copy { width: 82%; }
  .travel-hero h1 { font-size: 2.55rem; line-height: 1.35; }
  .travel-hero .travel-lead { font-size: .94rem; white-space: nowrap; }
  .travel-hero-description { font-size: .76rem; line-height: 1.8; }
  .travel-hero-panel { width: calc(100vw - 36px); grid-template-columns: 1fr; }
  .travel-hero-panel a { grid-template-columns: 72px 1fr; align-items: center; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--editorial-rule); }
  .travel-hero-panel a:last-child { border-bottom: 0; }
  .travel-editorial-strip { padding: 38px 0; }
  .travel-editorial-strip > div:last-child { grid-template-columns: repeat(2, 1fr); }
  .travel-editorial-strip > div:last-child a { min-height: 130px; }
  .travel-section { padding-top: 46px; }
  .travel-section-head h2 { font-size: 1.55rem; }
  .travel-ranking-preview + .travel-ranking-preview { margin-top: 44px; }
}

.home-guide-links .purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-guide-links .purpose-grid a { align-content: start; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .home-guide-links .purpose-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .home-hero .hero-copy,
  .travel-hero-copy { width: 88%; }
  .home-hero h1 { font-size: 2.05rem; }
  .home-hero .hero-lead { max-width: 85%; }
  .travel-hero h1 { font-size: 2.25rem; }
  .editorial-pick-rail { grid-template-columns: 1fr 1fr; }
}
