/* Omamori extends the existing Everyday Japan food article components. */
.omamori-page .food-hero-pictures { display:block; }
.omamori-page .om-photo { margin:0; }
.omamori-page .om-photo-button { position:relative; display:block; width:100%; border:0; padding:0; border-radius:12px; overflow:hidden; background:var(--paper-deep); cursor:zoom-in; color:white; }
.omamori-page .om-photo-button img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.omamori-page .om-photo-button span { position:absolute; right:12px; bottom:12px; background:#101c2ce8; padding:8px 12px; border-radius:30px; font-size:11px; }
.omamori-page .om-photo figcaption { margin-top:9px; color:var(--ink-soft); font-size:10px; line-height:1.7; }
.omamori-page .om-photo figcaption a { color:inherit; }
.omamori-page .hero-lead { margin-bottom:16px; }
.omamori-page .om-hero-story { font-size:13px; line-height:1.9; color:var(--ink-soft); max-width:440px; margin-bottom:24px; }
.omamori-page .hero-footnote a { color:inherit; text-underline-offset:4px; }
.omamori-page .food-chapters { grid-template-columns:repeat(5,minmax(0,1fr)); }
.omamori-page .food-chapters a { gap:5px; padding:8px 3px; font-size:12px; }
.omamori-page .copy-chunk { display:inline-block; }
.om-reading { max-width:700px; margin:0 auto; }
.om-reading > p,.om-reading li,.om-receive-body > p { font-size:14px; line-height:1.95; margin-bottom:17px; }
.om-source { color:var(--ink-soft); font-size:11px!important; line-height:1.7; margin-top:20px; }
.om-source a { color:#945036; text-underline-offset:3px; }
.om-compare { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:30px 0; }
.om-compare article { border-top:3px solid var(--accent-soft); padding:20px 0 0; }
.om-compare .om-kanji { font-family:var(--font-serif); font-size:28px; margin-bottom:4px; }
.om-compare small { font-size:10px; color:var(--ink-soft); letter-spacing:.13em; }
.om-compare h3 { font-family:var(--font-serif); font-size:18px; line-height:1.5; margin:13px 0 8px; }
.om-compare p:last-child { font-size:13px; line-height:1.85; color:var(--ink-soft); }
.om-receive { display:grid; grid-template-columns:1fr 1.1fr; gap:28px; align-items:start; }
.om-steps { padding:0; list-style:none; counter-reset:step; }
.om-steps li { position:relative; padding-left:35px; counter-increment:step; margin-bottom:20px; }
.om-steps li::before { content:counter(step); position:absolute; left:0; top:0; width:23px; height:23px; background:var(--night); border-radius:50%; color:white; font-size:11px; line-height:23px; text-align:center; }
.om-steps h3 { font-size:14px; line-height:1.7; margin-bottom:5px; }
.om-steps p { font-size:13px; line-height:1.85; color:var(--ink-soft); }
.omamori-page .om-note { font-size:12px; line-height:1.9; color:var(--ink-soft); }
.om-word-picker { border:1px solid var(--line); border-radius:var(--radius); padding:25px; background:var(--card); }
.om-word-picker > p { font-size:13px; line-height:1.85; margin-bottom:17px; }
.om-word-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.om-word-grid button { border:1px solid var(--line); border-radius:10px; padding:14px 8px; min-height:82px; background:var(--paper); color:var(--ink); cursor:pointer; }
.om-word-grid strong { display:block; font-family:var(--font-serif); font-size:24px; font-weight:500; }
.om-word-grid span { display:block; font-size:11px; line-height:1.5; margin-top:7px; }
.om-word-grid button[aria-pressed="true"] { background:var(--night); color:white; border-color:var(--night); }
.om-word-result { margin-top:24px; border-left:3px solid var(--accent-soft); padding:3px 0 3px 18px; }
.om-word-result .om-word-label { font-size:12px; color:var(--ink-soft); margin-bottom:8px; }
.om-word-result h3 { font-family:var(--font-serif); font-size:24px; line-height:1.5; margin-bottom:12px; }
.om-word-result .om-word-description { font-size:14px; line-height:1.9; }
.om-word-note { margin-top:18px; }
.om-note-card { border:1px solid var(--line); border-radius:12px; background:#f5eee2; padding:25px; margin:25px 0; }
.om-note-card h3 { font-family:var(--font-serif); font-size:22px; line-height:1.5; margin-bottom:13px; }
.om-note-card p { font-size:14px; line-height:1.9; }
.om-note-card .eyebrow { color:#9b5033; font-size:10px; margin-bottom:12px; }
.om-faq details { border-bottom:1px solid var(--line); padding:0 2px; }
.om-faq summary { cursor:pointer; font-size:15px; line-height:1.7; padding:18px 0; font-weight:600; }
.om-faq details p { font-size:14px; line-height:1.95; padding:0 0 20px; }
.om-ending { text-align:center; padding:64px 0 38px; }
.om-ending .eyebrow { color:#9b5033; font-size:10px; margin-bottom:12px; }
.om-ending h2 { font-family:var(--font-serif); font-size:clamp(26px,3vw,34px); line-height:1.5; margin:0 0 20px; }
.om-ending p:not(.eyebrow) { font-size:14px; line-height:1.95; max-width:580px; margin:0 auto 20px; color:var(--ink-soft); }
.om-ending a { color:#945036; font-size:13px; text-underline-offset:4px; }
.om-sources { margin-top:35px; border-top:1px solid var(--line); font-size:12px; line-height:1.85; }
.om-sources summary { cursor:pointer; padding:20px 0; }
.om-sources ul { padding-left:20px; }
.om-sources li { margin:10px 0; }
.om-sources a { color:#945036; }
.om-lightbox { width:min(1000px,94vw); max-height:92vh; padding:45px 18px 18px; border:0; border-radius:14px; background:var(--paper); color:var(--ink); }
.om-lightbox::backdrop { background:#101c2ce8; }
.om-lightbox img { display:block; max-height:72vh; max-width:100%; width:auto; height:auto; margin:auto; object-fit:contain; }
.om-lightbox p { font-size:12px; line-height:1.7; margin:14px 0 0; }
.om-close { position:absolute; top:5px; right:7px; min-width:44px; min-height:38px; border:0; background:transparent; color:var(--ink); cursor:pointer; font-size:26px; }
.omamori-page button:focus-visible,.omamori-page summary:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
@media(max-width:700px) {
  .omamori-page .food-hero-inner { gap:26px; }
  .omamori-page .food-hero h1 { font-size:clamp(32px,8.5vw,43px); }
  .omamori-page .food-chapters a { flex-direction:column; gap:4px; font-size:11px; min-height:61px; }
  .om-receive { grid-template-columns:1fr; gap:22px; }
  .om-compare { gap:12px; }
  .om-compare .om-kanji { font-size:24px; }
  .om-compare h3 { font-size:16px; }
  .om-word-picker { padding:18px 14px; }
  .om-word-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .om-word-grid strong { font-size:23px; }
  .om-word-result h3 { font-size:22px; }
  .om-note-card { padding:20px; }
  .omamori-page .food-section { scroll-margin-top:calc(var(--food-header-height,58px) + 78px); }
}
@media(max-width:380px) { .om-compare { grid-template-columns:1fr; gap:20px; } .om-compare article { padding-top:14px; } }
