/* Shared upgrades for every page (loaded after the page's own stylesheet) */
.logo{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;flex-shrink:0}
.logo span{margin-left:6px}
@media(max-width:1180px) and (min-width:769px){.menu{gap:18px}.menu a{font-size:13.5px}.logo{font-size:22px}}
@media(max-width:900px) and (min-width:769px){.menu{gap:12px}.menu a{font-size:12.5px;letter-spacing:0}.logo-mark{display:none}}
.logo-mark{width:34px;height:34px;flex:none;border-radius:50%;box-shadow:0 2px 8px rgba(11,46,51,.25)}
.footer .logo-mark{display:none}
@media(min-width:981px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr 1fr!important;gap:32px!important}}
.footer-addr{margin-top:14px;line-height:1.6}
.jm-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:40px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1)}
.jm-share span{color:#cd7e62;font-size:13px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;margin-right:6px}
.footer .jm-share a{display:inline-block;margin:0;padding:7px 16px;border:1px solid rgba(255,255,255,.25);border-radius:999px;font-size:14px;color:#d7e4e4}
.footer .jm-share a:hover{background:#b5654a;border-color:#b5654a;color:#fff}
.jm-share + .footer-bottom{margin-top:24px}
.footer-addr b{color:#fff;font-weight:600}
.footer p a.inline{display:inline;margin:0}
.footer-cookie-btn{background:none;border:0;padding:0;font:inherit;font-size:14px;color:#a9bcbe;cursor:pointer}
.footer-cookie-btn:hover{color:#fff}

/* Cookie banner */
.jm-cookie{position:fixed;right:20px;bottom:96px;z-index:2147483000;display:flex;gap:14px;align-items:flex-start;max-width:430px;
  padding:20px 22px;border-radius:16px;background:linear-gradient(160deg,#12434a,#071c20);color:#d7e4e4;border:1px solid rgba(205,126,98,.55);
  box-shadow:0 22px 50px rgba(0,0,0,.35);font:14.5px/1.55 'Inter',Arial,sans-serif;opacity:0;transform:translateY(16px);transition:opacity .3s,transform .3s}
.jm-cookie[hidden]{display:none}
.jm-cookie.in{opacity:1;transform:none}
.jm-cookie__icon{font-size:26px;line-height:1}
.jm-cookie p{margin:0 0 14px;color:#d7e4e4}
.jm-cookie strong{color:#fff}
.jm-cookie a{color:#f0b49c;text-decoration:underline}
.jm-cookie__btns{display:flex;gap:10px;flex-wrap:wrap}
.jm-btn-ghost,.jm-btn-solid{border-radius:999px;padding:9px 20px;font:600 14px 'Inter',Arial,sans-serif;cursor:pointer}
.jm-btn-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5)}
.jm-btn-ghost:hover{background:rgba(255,255,255,.1)}
.jm-btn-solid{background:#b5654a;color:#fff;border:1px solid #b5654a}
.jm-btn-solid:hover{background:#cd7e62}
@media(max-width:600px){.jm-cookie{left:12px;right:12px;bottom:76px;max-width:none}}

/* Sticker / photo figures added to pages that had no picture */
.jm-figure{margin:0 0 36px;padding:18px;border-radius:18px;background:linear-gradient(150deg,#12434a,#071c20);box-shadow:0 18px 40px rgba(11,46,51,.18)}
.jm-figure img{display:block;width:100%;height:auto;border-radius:12px;border:3px solid #fff;box-shadow:0 0 0 2px rgba(205,126,98,.8)}
.jm-figure figcaption{color:#cfdcdc;font-size:14px;text-align:center;margin-top:12px}
.jm-portrait{display:block;width:100%;max-width:420px;height:auto;border-radius:20px;border:4px solid #fff;box-shadow:0 0 0 3px rgba(205,126,98,.85),0 24px 50px rgba(0,0,0,.3)}
.jm-photo-panel{display:flex;flex-direction:column;align-items:center;gap:18px}
.jm-photo-panel figcaption{color:#cfdcdc;font-size:14px;text-align:center}

/* About page: keep the portrait full width of its column on every screen */
.intro .photo{width:100%}
/* About portrait: soft rounded card with a copper ring and warm glow */
.intro .photo-frame{border-radius:26px;padding:0;border:6px solid #fff;
  box-shadow:0 0 0 3px #cd7e62,0 0 0 12px rgba(205,126,98,.14),0 30px 60px rgba(11,46,51,.28)}
.intro .photo-frame img{border-radius:20px}
.intro .photo::before{content:"";position:absolute;left:-22px;top:-22px;width:110px;height:110px;z-index:-1;border-radius:50%;
  background:radial-gradient(circle,rgba(205,126,98,.35) 0 2px,transparent 3px) 0 0/16px 16px}
.intro .photo::after{border-radius:26px}
.intro .badge{border-radius:14px;border-left:4px solid #b5654a}
/* My Story: portrait photo keeps its own shape instead of a wide crop */
.photo.jm-tall{aspect-ratio:4/5;max-width:420px;margin:10px auto 40px;padding:0}
.photo.jm-tall img{object-position:center 25%}

/* Honesty note */
.jm-honest{border-left:4px solid #b5654a;background:#f5f2ec;padding:18px 22px;border-radius:0 10px 10px 0;margin:28px 0;color:#27313a}
.jm-honest strong{color:#0b2e33}

/* Blog cards with real pictures (same 17:9 shape as the article images, so nothing is stretched) */
.thumb.has-img{height:auto;min-height:0;aspect-ratio:17/9;padding:0;background:#0b2e33}
.featured-post .thumb.has-img{min-height:0;aspect-ratio:auto}
.thumb.has-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.post:hover .thumb.has-img img{transform:scale(1.04)}
.thumb.has-img::after{content:"";position:absolute;inset:auto 0 0 0;top:auto;right:auto;width:100%;height:50%;border:0;border-radius:0;background:linear-gradient(transparent,rgba(7,28,32,.75))}
.thumb.has-img span{position:absolute;left:14px;bottom:12px;z-index:2;background:#b5654a;padding:4px 10px;border-radius:999px;font-size:11px}
@media(min-width:600px) and (max-width:980px){.post-grid{grid-template-columns:1fr 1fr}}
@media(max-width:400px){.logo{font-size:19px}.logo-mark{width:28px;height:28px}}
.jm-intro{max-width:900px;margin:0 auto 34px}
.jm-intro h2{font-size:28px;margin:26px 0 10px}
.jm-intro p{color:#5f6b75;margin-bottom:12px}

/* HTML sitemap */
.jm-sitemap{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.jm-sitemap li{border:1px solid #e4ded3;border-radius:10px;padding:14px 18px}
.jm-sitemap a{font-weight:600;color:#0b2e33;text-decoration:none}
.jm-sitemap a:hover{color:#b5654a}
.jm-sitemap span{display:block;color:#5f6b75;font-size:14px;margin-top:4px}
