/* =========================================================
   BAY SEABASS MEDIA — Editorial Redesign v2
   Loads after the legacy stylesheet so existing functions and
   templates stay compatible while the visual system is replaced.
========================================================= */
:root{
  --bsm-ink:#0d1724;
  --bsm-navy:#101d2d;
  --bsm-navy-2:#17283a;
  --bsm-blue:#3b78b7;
  --bsm-blue-soft:#6d91ae;
  --bsm-paper:#f6f7f5;
  --bsm-white:#ffffff;
  --bsm-muted:#667181;
  --bsm-line:#dfe4e8;
  --bsm-shadow:0 18px 50px rgba(14,28,43,.11);
  --bsm-radius:16px;
  --bsm-shell:1180px;
}

html{scroll-behavior:smooth;}
body{
  color:var(--bsm-ink);
  background:var(--bsm-paper);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;}
.container{max-width:var(--bsm-shell);}
.screen-reader-text{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}

/* ---------- Header ---------- */
.site-header.bsm-site-header{
  position:sticky;
  top:0;
  z-index:1000;
  margin:0;
  border:0;
  background:rgba(8,17,28,.94);
  color:#fff;
  box-shadow:0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}
.admin-bar .site-header.bsm-site-header{top:32px;}
.bsm-header-inner{min-height:68px;padding:0 20px!important;gap:28px;}
.bsm-site-title{margin:0!important;white-space:nowrap;}
.bsm-site-title a{
  color:#fff!important;
  text-decoration:none!important;
  font-size:16px;
  font-weight:800;
  letter-spacing:.12em;
}
.bsm-desktop-nav{margin-left:auto;}
.bsm-desktop-nav__list{
  list-style:none;
  display:flex;
  align-items:center;
  gap:26px;
  margin:0;
  padding:0;
}
.bsm-desktop-nav__list li{margin:0;}
.bsm-desktop-nav__list a{
  color:rgba(255,255,255,.86);
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
  transition:color .18s ease,opacity .18s ease;
}
.bsm-desktop-nav__list a:hover{color:#fff;}
.bsm-header-tools{display:flex;align-items:center;gap:14px;}
.bsm-header-search{display:flex;align-items:center;width:120px;border-bottom:1px solid rgba(255,255,255,.22);}
.bsm-header-search input{
  width:100%;min-width:0;height:34px;padding:0 4px;border:0!important;outline:0;background:transparent!important;
  color:#fff!important;font-size:12px;border-radius:0!important;
}
.bsm-header-search input::placeholder{color:rgba(255,255,255,.56);}
.bsm-header-search button{
  border:0;background:transparent;color:#fff;width:32px;height:34px;cursor:pointer;font-size:20px;line-height:1;
}
.bsm-site-header .menu-btn{display:none;color:#fff;}

/* ---------- Main ---------- */
body.home main.container{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
}
.bsm-home-main{background:var(--bsm-paper);padding:76px 0 0;}
.bsm-section-shell{width:min(calc(100% - 40px),var(--bsm-shell));margin:0 auto;}
.bsm-home-section{margin:0!important;padding:0 0 82px!important;}
.bsm-section-head{
  display:flex!important;
  align-items:flex-end!important;
  gap:20px!important;
  margin:0 0 26px!important;
}
.bsm-section-head>div{min-width:max-content;}
.bsm-section-head .section-kicker{
  display:block;
  margin:0 0 6px;
  color:var(--bsm-blue-soft);
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
  line-height:1.2;
}
.bsm-section-head .section-title{
  margin:0!important;
  color:var(--bsm-ink)!important;
  font-size:clamp(24px,2.1vw,34px)!important;
  font-weight:800!important;
  line-height:1.25!important;
  letter-spacing:.01em!important;
}
.bsm-section-head .section-line{display:block!important;flex:1;height:1px;background:var(--bsm-line);margin-bottom:8px;}

/* ---------- Hero ---------- */
.bsm-hero.hero{
  position:relative!important;
  left:auto!important;right:auto!important;
  width:100%!important;max-width:none!important;
  min-height:610px;
  margin:0!important;
  overflow:hidden!important;
  background:#0d1724;
}
.bsm-hero .bsm-hero__bg{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;
}
.bsm-hero .bsm-hero__image,
.bsm-hero .hero__bg-image{
  width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;
}
.bsm-hero__shade{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(6,13,22,.82) 0%,rgba(6,13,22,.62) 36%,rgba(6,13,22,.22) 72%,rgba(6,13,22,.12) 100%),
    linear-gradient(0deg,rgba(6,13,22,.42) 0%,rgba(6,13,22,0) 48%);
}
.bsm-hero .bsm-hero__inner{
  position:relative!important;inset:auto!important;
  min-height:610px;
  display:flex!important;align-items:center!important;
  padding:58px 20px 96px!important;
  margin:0 auto!important;
}
.bsm-hero__content{position:relative;z-index:2;width:min(650px,70%);color:#fff;}
.bsm-hero__eyebrow{
  margin:0 0 20px;color:rgba(255,255,255,.62);font-size:10px;font-weight:800;letter-spacing:.2em;
}
.bsm-hero__title{
  margin:0!important;color:#fff!important;text-transform:uppercase;
  font-family:"Arial Narrow","Helvetica Neue",Arial,sans-serif;
  font-size:clamp(62px,7.2vw,108px)!important;
  font-weight:900!important;line-height:.88!important;letter-spacing:-.045em!important;
}
.bsm-hero__title span{display:block;}
.bsm-hero__tagline{margin:24px 0 0;font-size:clamp(22px,2vw,30px);font-weight:800;letter-spacing:.04em;}
.bsm-hero__lead{max-width:560px;margin:14px 0 0;color:rgba(255,255,255,.77);font-size:13px;line-height:1.9;}
.bsm-hero__cta{justify-content:flex-start!important;margin-top:28px!important;gap:12px!important;}
.bsm-btn{
  display:inline-flex!important;align-items:center;justify-content:center;gap:22px;
  min-height:48px;padding:0 22px!important;border-radius:7px!important;text-decoration:none!important;
  font-size:13px!important;font-weight:800!important;letter-spacing:.02em;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.bsm-btn:hover{transform:translateY(-2px);}
.bsm-btn--primary{background:#2f72b7!important;color:#fff!important;border:1px solid #2f72b7!important;}
.bsm-btn--ghost{background:rgba(12,25,39,.38)!important;color:#fff!important;border:1px solid rgba(255,255,255,.42)!important;}
.bsm-scroll-cue{position:absolute;right:18px;bottom:72px;z-index:2;display:flex;flex-direction:column;align-items:center;gap:10px;color:rgba(255,255,255,.68);}
.bsm-scroll-cue span{font-size:9px;letter-spacing:.16em;writing-mode:vertical-rl;}
.bsm-scroll-cue i{display:block;width:1px;height:54px;background:rgba(255,255,255,.55);}

/* ---------- Point search ---------- */
.home-section--point-search.bsm-point-search-section{
  position:relative;z-index:8;
  width:100%!important;max-width:none!important;
  margin:-62px 0 0!important;
  padding:0!important;
}
.bsm-point-search-shell{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:28px;
  align-items:center;
  padding:26px 30px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  background:linear-gradient(135deg,#112032,#172b3e);
  color:#fff;
  box-shadow:0 20px 48px rgba(10,21,33,.25);
}
.bsm-point-search-section .bsm-section-head{margin:0!important;align-items:flex-start!important;}
.bsm-point-search-section .bsm-section-head>div{min-width:0;}
.bsm-point-search-section .section-kicker{color:#6ca0d4!important;}
.bsm-point-search-section .section-title{color:#fff!important;font-size:22px!important;line-height:1.5!important;}
.bsm-point-search-form-wrap{min-width:0;}
.bsm-point-search-section .bsm-point-search,
.bsm-point-search-section .bsm-point-search--compact{
  margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;
}
.bsm-point-search-section .bsm-point-search__grid{
  grid-template-columns:minmax(145px,1fr) minmax(145px,1fr) minmax(235px,1.35fr) auto!important;
  gap:14px!important;align-items:end!important;
}
.bsm-point-search-section .bsm-point-search__field{color:rgba(255,255,255,.68)!important;font-size:11px!important;gap:7px!important;}
.bsm-point-search-section .bsm-point-search select{
  min-height:46px!important;padding:0 14px!important;border:1px solid rgba(255,255,255,.14)!important;
  border-radius:6px!important;background:#213449!important;color:#fff!important;
}
.bsm-point-search-section .bsm-point-search__checks{padding-bottom:7px!important;color:rgba(255,255,255,.82)!important;font-size:11px!important;gap:8px 12px!important;}
.bsm-point-search-section .bsm-point-search__checks input{accent-color:#4f8ac5;}
.bsm-point-search-section .bsm-point-search__submit{
  min-height:46px!important;padding:0 19px!important;border-radius:6px!important;background:#377ac0!important;color:#fff!important;
  box-shadow:0 8px 22px rgba(21,87,149,.28);white-space:nowrap;
}
.bsm-point-search-section .bsm-point-search__reset{color:rgba(255,255,255,.62)!important;}

/* ---------- Article cards ---------- */
.bsm-article-card.card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(16,29,45,.08)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(12,28,44,.075)!important;
  transition:transform .2s ease,box-shadow .2s ease!important;
}
.bsm-article-card.card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(12,28,44,.13)!important;}
.bsm-article-card .bsm-card-media{display:block;aspect-ratio:16/9!important;background:#dfe5e9;overflow:hidden;}
.bsm-article-card .bsm-card-media img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .42s ease;}
.bsm-article-card:hover .bsm-card-media img{transform:scale(1.025);}
.bsm-card-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#dbe2e7,#aebbc5);}
.bsm-article-card .new-badge{
  top:10px!important;left:10px!important;z-index:4!important;
  padding:5px 8px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.34)!important;
  background:rgba(9,19,30,.78)!important;color:#fff!important;font-size:9px!important;letter-spacing:.08em!important;
}
.bsm-article-card .bsm-card-body{padding:16px 16px 18px!important;}
.bsm-article-card .bsm-card-cats{order:0!important;margin:0 0 9px!important;}
.bsm-article-card .badge{
  padding:4px 7px!important;border:0!important;border-radius:3px!important;background:#edf3f8!important;
  color:#315f85!important;font-size:9px!important;font-weight:800!important;
}
.bsm-article-card .card-title{order:1!important;margin:0!important;min-height:calc(1.55em * 2)!important;}
.bsm-article-card .card-title a{
  color:var(--bsm-ink)!important;text-decoration:none!important;font-size:16px!important;font-weight:800!important;line-height:1.55!important;
}
.bsm-article-card .bsm-card-meta{order:2!important;margin-top:12px!important;color:#8a939e!important;font-size:10px!important;}

.bsm-latest-grid.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;}

/* Popular cards become editorial image cards */
body.home .home-section--popular .popular-carousel{overflow:visible!important;}
body.home .home-section--popular .carousel-viewport{overflow:hidden!important;padding:0!important;}
body.home .home-section--popular .carousel-list{gap:18px!important;will-change:transform;transition:transform .42s cubic-bezier(.2,.7,.2,1);}
body.home .home-section--popular .carousel-item{flex:0 0 calc((100% - 36px)/3)!important;min-width:0;}
body.home .home-section--popular .bsm-article-card{
  min-height:310px!important;border:0!important;border-radius:14px!important;background:#0e1824!important;
}
body.home .home-section--popular .bsm-card-media{position:absolute!important;inset:0!important;height:100%!important;aspect-ratio:auto!important;}
body.home .home-section--popular .bsm-card-media::after{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,10,17,.04) 20%,rgba(4,10,17,.15) 42%,rgba(4,10,17,.90) 100%);z-index:1;
}
body.home .home-section--popular .bsm-card-body{
  position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:3!important;
  padding:22px!important;background:transparent!important;
}
body.home .home-section--popular .bsm-card-cats{margin:0 0 9px!important;}
body.home .home-section--popular .badge{
  background:#3a78b7!important;color:#fff!important;border:0!important;backdrop-filter:none!important;text-shadow:none!important;
}
body.home .home-section--popular .card-title{margin:0!important;min-height:0!important;}
body.home .home-section--popular .card-title a,
body.home .home-section--popular h2.card-title a{
  color:#fff!important;font-size:18px!important;font-weight:800!important;line-height:1.48!important;text-shadow:0 2px 12px rgba(0,0,0,.35)!important;
}
body.home .home-section--popular .bsm-card-meta{color:rgba(255,255,255,.65)!important;margin-top:9px!important;}
body.home .home-section--popular .carousel-btn{
  top:50%!important;width:42px!important;height:42px!important;border:1px solid rgba(255,255,255,.28)!important;
  border-radius:999px!important;background:rgba(12,24,36,.78)!important;color:#fff!important;
  box-shadow:0 8px 22px rgba(0,0,0,.20)!important;
}
body.home .home-section--popular .carousel-btn--prev{left:-16px!important;transform:translateY(-50%)!important;}
body.home .home-section--popular .carousel-btn--next{right:-16px!important;transform:translateY(-50%)!important;}
body.home .home-section--popular .carousel-dots{gap:7px!important;margin-top:18px!important;}
body.home .home-section--popular .carousel-dot{width:6px!important;height:6px!important;border:0!important;background:#ccd3d9!important;padding:0!important;}
body.home .home-section--popular .carousel-dot.is-active{width:22px!important;background:var(--bsm-ink)!important;}

/* ---------- Pagination ---------- */
.bsm-pagination{display:flex!important;justify-content:center;align-items:center;gap:6px;margin:30px 0 0!important;}
.bsm-pagination .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;
  border:1px solid var(--bsm-line);border-radius:6px;background:#fff;color:var(--bsm-ink);text-decoration:none;font-size:12px;font-weight:700;
}
.bsm-pagination .page-numbers.current{background:var(--bsm-ink);border-color:var(--bsm-ink);color:#fff;}

/* ---------- Categories ---------- */
.bsm-cat-grid.cat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;}
.bsm-cat-grid .cat-card{
  position:relative!important;min-height:148px!important;padding:18px!important;border:0!important;border-radius:12px!important;
  overflow:hidden!important;box-shadow:0 10px 28px rgba(12,28,44,.08);transition:transform .22s ease,box-shadow .22s ease;
}
.bsm-cat-grid .cat-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(12,28,44,.13);}
.bsm-cat-grid .cat-card__image{transition:transform .45s ease;}
.bsm-cat-grid .cat-card:hover .cat-card__image{transform:scale(1.04);}
.bsm-cat-grid .cat-overlay{background:linear-gradient(180deg,rgba(7,15,24,.10),rgba(7,15,24,.68))!important;}
body.home .bsm-cat-grid .cat-name{
  position:absolute!important;left:18px!important;bottom:16px!important;z-index:3!important;
  color:#fff!important;font-size:16px!important;font-weight:800!important;text-shadow:0 2px 10px rgba(0,0,0,.5)!important;
}
.bsm-cat-arrow{position:absolute;right:16px;bottom:14px;z-index:3;color:#fff;font-size:18px;transition:transform .2s ease;}
.bsm-cat-grid .cat-card:hover .bsm-cat-arrow{transform:translateX(3px);}

/* ---------- News ---------- */
.bsm-news-items{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;padding:22px 24px;border:1px solid var(--bsm-line);border-radius:12px;background:#fff;}
.bsm-news-items .news-list{display:grid;gap:0;margin:0;padding:0;list-style:none;}
.bsm-news-items .news-item{display:grid;grid-template-columns:100px 1fr;gap:18px;padding:12px 0;border-bottom:1px solid #edf0f2;}
.bsm-news-items .news-item:last-child{border-bottom:0;}
.bsm-news-items .news-title{text-decoration:none;font-size:13px;font-weight:700;}
.bsm-news-items .news-more a{text-decoration:none;color:var(--bsm-blue);font-size:12px;font-weight:800;white-space:nowrap;}

/* ---------- SNS ---------- */
.bsm-sns-box{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.bsm-sns-box .sns-card{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:26px!important;
  padding:26px 30px!important;border:1px solid var(--bsm-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;
}
.bsm-sns-box .sns-eyebrow{margin:0 0 8px;color:var(--bsm-blue-soft);font-size:9px;font-weight:800;letter-spacing:.16em;}
.bsm-sns-box .sns-lead{margin:0;color:var(--bsm-muted);font-size:13px;}
.bsm-sns-box .sns-btn--x{
  display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 22px!important;border-radius:999px!important;
  background:var(--bsm-ink)!important;color:#fff!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important;
}

/* ---------- Profile ---------- */
.bsm-profile-section{padding-bottom:92px!important;}
.bsm-profile-section .operator-box__inner{padding-left:0!important;padding-right:0!important;}
.bsm-operator-card{
  display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:26px!important;align-items:start!important;
  padding:30px!important;border:1px solid var(--bsm-line)!important;border-radius:14px!important;background:#fff!important;
}
.bsm-operator-card .operator-avatar img{width:96px!important;height:96px!important;border-radius:999px!important;}
.bsm-operator-card .operator-name{margin:0 0 8px!important;font-size:18px!important;font-weight:800!important;}
.bsm-operator-card .operator-desc{color:#4f5c6a!important;font-size:13px!important;line-height:1.9!important;}

/* ---------- Footer ---------- */
.site-footer.bsm-site-footer{
  margin:0!important;padding:44px 0 0!important;border:0!important;background:#0b1623!important;color:#fff!important;
}
.bsm-footer-grid{display:grid;grid-template-columns:1fr 1.7fr;gap:54px;align-items:start;padding:0 20px 34px!important;}
.bsm-footer-brand__name{font-size:17px;font-weight:800;letter-spacing:.12em;}
.bsm-footer-brand p{margin:9px 0 0;color:rgba(255,255,255,.55);font-size:11px;}
.bsm-footer-nav ul{display:flex!important;justify-content:flex-end;gap:18px 24px;flex-wrap:wrap;list-style:none;margin:0;padding:0;}
.bsm-footer-nav a{color:rgba(255,255,255,.72)!important;text-decoration:none!important;font-size:11px!important;font-weight:700!important;}
.bsm-footer-bottom{padding:18px 20px 24px!important;border-top:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.40);font-size:10px;text-align:center;}
.back-to-top{background:#17283a!important;border:1px solid rgba(255,255,255,.14)!important;color:#fff!important;}

/* ---------- Inner pages: visual refresh while keeping structure ---------- */
body:not(.home) main.container{padding-top:36px;padding-bottom:54px;}
body:not(.home) .layout{gap:28px;}
body:not(.home) .entry,
body:not(.home) .widget,
body:not(.home) .news-simple-list,
body:not(.home) .post-simple-list{
  border:1px solid var(--bsm-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 10px 30px rgba(12,28,44,.055)!important;
}
body:not(.home) .entry{padding:clamp(20px,3vw,38px)!important;}
body:not(.home) .entry h1{font-size:clamp(28px,3.2vw,42px)!important;line-height:1.35!important;letter-spacing:-.02em;}
body:not(.home) .archive-title{font-size:clamp(28px,3vw,40px)!important;font-weight:800!important;letter-spacing:-.02em;}
body:not(.home) .grid-3{gap:22px!important;}
body:not(.home) .home-pagination .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 9px;margin:2px;
  border:1px solid var(--bsm-line);border-radius:6px;background:#fff;color:var(--bsm-ink);text-decoration:none;
}
body:not(.home) .home-pagination .page-numbers.current{background:var(--bsm-ink);border-color:var(--bsm-ink);color:#fff;}
body:not(.home) .widget{padding:18px!important;}
body:not(.home) .widget-head__line{background:var(--bsm-line)!important;}

/* ---------- Tablet ---------- */
@media (max-width:1024px){
  .bsm-desktop-nav{display:none;}
  .bsm-header-search{display:none;}
  .bsm-site-header .menu-btn{display:flex!important;align-items:center;gap:8px;background:transparent!important;border:0!important;}
  .bsm-hero.hero,.bsm-hero .bsm-hero__inner{min-height:560px;}
  .bsm-hero__content{width:min(620px,82%);}
  .bsm-point-search-shell{grid-template-columns:1fr;gap:18px;padding:24px;}
  .bsm-point-search-section .bsm-section-head .section-title br{display:none;}
  .bsm-point-search-section .bsm-point-search__grid{grid-template-columns:1fr 1fr!important;}
  .bsm-point-search-section .bsm-point-search__checks,
  .bsm-point-search-section .bsm-point-search__actions{grid-column:1/-1!important;}
  body.home .home-section--popular .carousel-item{flex-basis:calc((100% - 18px)/2)!important;}
  .bsm-latest-grid.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .bsm-cat-grid.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

/* ---------- Mobile ---------- */
@media (max-width:782px){.admin-bar .site-header.bsm-site-header{top:46px;}}
@media (max-width:640px){
  .bsm-header-inner{min-height:60px;padding:0 16px!important;}
  .bsm-site-title a{font-size:13px;letter-spacing:.09em;}
  .menu-btn__text{font-size:10px;}
  .bsm-hero.hero,.bsm-hero .bsm-hero__inner{min-height:505px;}
  .bsm-hero .bsm-hero__inner{padding:38px 18px 92px!important;align-items:flex-end!important;}
  .bsm-hero__content{width:100%;}
  .bsm-hero__eyebrow{font-size:8px;margin-bottom:14px;letter-spacing:.14em;}
  .bsm-hero__title{font-size:clamp(50px,17vw,76px)!important;}
  .bsm-hero__tagline{margin-top:18px;font-size:21px;}
  .bsm-hero__lead{font-size:11px;line-height:1.8;max-width:94%;}
  .bsm-hero__cta{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;margin-top:20px!important;}
  .bsm-btn{min-height:44px;padding:0 12px!important;gap:8px;font-size:11px!important;}
  .bsm-scroll-cue{display:none;}

  .home-section--point-search.bsm-point-search-section{margin:-48px 0 0!important;}
  .bsm-section-shell{width:min(calc(100% - 28px),var(--bsm-shell));}
  .bsm-point-search-shell{width:min(calc(100% - 28px),var(--bsm-shell));padding:20px!important;border-radius:14px;}
  .bsm-point-search-section .section-title{font-size:19px!important;}
  .bsm-point-search-section .bsm-point-search__grid{grid-template-columns:1fr!important;}
  .bsm-point-search-section .bsm-point-search__checks,
  .bsm-point-search-section .bsm-point-search__actions{grid-column:auto!important;}
  .bsm-point-search-section .bsm-point-search__actions{align-items:stretch!important;}
  .bsm-point-search-section .bsm-point-search__submit{width:100%!important;}

  .bsm-home-main{padding-top:58px;}
  .bsm-home-section{padding-bottom:58px!important;}
  .bsm-section-head{margin-bottom:18px!important;gap:12px!important;}
  .bsm-section-head .section-title{font-size:24px!important;}
  .bsm-section-head .section-line{margin-bottom:6px;}
  .bsm-only-desktop{display:none;}

  body.home .home-section--popular .carousel-viewport{overflow:hidden!important;}
  body.home .home-section--popular .carousel-list{gap:12px!important;}
  body.home .home-section--popular .carousel-item{flex-basis:100%!important;}
  body.home .home-section--popular .bsm-article-card{min-height:285px!important;}
  body.home .home-section--popular .carousel-btn{display:flex!important;width:38px!important;height:38px!important;}
  body.home .home-section--popular .carousel-btn--prev{left:8px!important;}
  body.home .home-section--popular .carousel-btn--next{right:8px!important;}
  body.home .home-section--popular .card-title a,
  body.home .home-section--popular h2.card-title a{font-size:17px!important;}

  .bsm-latest-grid.grid-3{grid-template-columns:1fr!important;gap:16px!important;}
  .bsm-article-card .bsm-card-body{padding:14px 14px 16px!important;}
  .bsm-article-card .card-title a{font-size:15px!important;}
  .bsm-cat-grid.cat-grid{grid-template-columns:1fr 1fr!important;gap:10px!important;}
  .bsm-cat-grid .cat-card{min-height:112px!important;padding:14px!important;}
  body.home .bsm-cat-grid .cat-name{left:13px!important;bottom:12px!important;font-size:13px!important;}
  .bsm-cat-arrow{right:12px;bottom:10px;font-size:15px;}

  .bsm-news-items{grid-template-columns:1fr;padding:16px;}
  .bsm-news-items .news-item{grid-template-columns:78px 1fr;gap:10px;}
  .bsm-sns-box .sns-card{align-items:flex-start!important;flex-direction:column!important;padding:20px!important;}
  .bsm-sns-box .sns-btn--x{width:100%;justify-content:center;box-sizing:border-box;}
  .bsm-operator-card{grid-template-columns:64px 1fr!important;gap:16px!important;padding:20px!important;}
  .bsm-operator-card .operator-avatar img{width:64px!important;height:64px!important;}
  .bsm-footer-grid{grid-template-columns:1fr;gap:26px;padding:0 18px 28px!important;}
  .bsm-footer-nav ul{justify-content:flex-start;}

  body:not(.home) main.container{padding:22px 14px 42px!important;}
  body:not(.home) .entry{padding:20px 16px!important;}
  body:not(.home) .grid-3{grid-template-columns:1fr!important;gap:16px!important;}
}

/* ---------- Mobile overlay menu polish ---------- */
.menu-overlay{background:rgba(4,10,17,.72)!important;backdrop-filter:blur(8px);}
.menu-overlay__panel{background:#0f1c2b!important;color:#fff!important;}
.menu-overlay__head{border-bottom:1px solid rgba(255,255,255,.10)!important;}
.menu-overlay__title{font-weight:800!important;letter-spacing:.10em!important;}
.menu-overlay__close{color:#fff!important;background:transparent!important;border:0!important;}
.menu-overlay__list a{color:#fff!important;text-decoration:none!important;font-weight:700!important;}
.menu-overlay__list li{border-bottom:1px solid rgba(255,255,255,.08)!important;}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.1 fine tuning
   Based on real-screen feedback after first install.
========================================================= */

/* Slightly roomier desktop shell */
:root{ --bsm-shell:1220px; }

/* Hero adjustments */
.bsm-hero.hero,.bsm-hero .bsm-hero__inner{min-height:620px;}
.bsm-hero__content{width:min(760px,70%);}
.bsm-hero__title{max-width:780px;line-height:.9!important;}
.bsm-hero__lead{max-width:680px;}

/* Search panel polish */
.home-section--point-search.bsm-point-search-section{margin:-38px 0 0!important;}
.bsm-point-search-shell{padding:26px 28px!important;border-radius:18px!important;}
.bsm-point-search-section .bsm-point-search__grid,
.bsm-point-search-section .bsm-point-search__actions,
.bsm-point-search-section .bsm-point-search__checks,
.bsm-point-search-section .bsm-point-search__field{display:flex!important;}
.bsm-point-search-section .bsm-point-search__grid{align-items:flex-end!important;}
.bsm-point-search-section .bsm-point-search__actions{flex-direction:column!important;gap:8px!important;justify-content:flex-end!important;}
.bsm-point-search-section .bsm-point-search__checks{flex-wrap:wrap!important;align-items:center!important;}
.bsm-point-search-section .bsm-point-search__submit{font-weight:800!important;}

/* Popular slider stability + consistent 3 cards on desktop */
body.home .home-section--popular .popular-wrap,
body.home .home-section--popular #popularViewport,
body.home .home-section--popular .carousel-viewport{overflow:hidden!important;padding:0!important;}
body.home .home-section--popular .carousel-list{
  display:flex!important;align-items:stretch!important;gap:20px!important;margin:0!important;padding:0!important;list-style:none!important;
}
body.home .home-section--popular .carousel-item{
  display:block!important;box-sizing:border-box!important;
  flex:0 0 calc((100% - 40px)/3)!important;
  min-width:calc((100% - 40px)/3)!important;
  max-width:calc((100% - 40px)/3)!important;
}
body.home .home-section--popular .carousel-item::before,
body.home .home-section--popular .carousel-item:first-child::before{display:none!important;content:none!important;}
body.home .home-section--popular .carousel-item:first-child .card,
body.home .home-section--popular .carousel-item .card{box-shadow:none!important;}
body.home .home-section--popular .carousel-item:first-child .card::before{display:none!important;content:none!important;}
body.home .home-section--popular .carousel-item:first-child .card-title a{font-size:18px!important;}
body.home .home-section--popular .bsm-article-card{min-height:300px!important;}
body.home .home-section--popular .carousel-btn--prev{left:-10px!important;}
body.home .home-section--popular .carousel-btn--next{right:-10px!important;}

/* Latest articles: tighter and cleaner */
.bsm-latest-grid.grid-3{gap:24px 20px!important;}
.bsm-article-card .card-title a{font-size:15px!important;}
.bsm-article-card .bsm-card-meta{margin-top:10px!important;}

/* Categories and sections */
.bsm-home-section{padding:0 0 74px!important;}
.bsm-cat-grid .cat-card{min-height:132px!important;}

/* Profile readability */
.bsm-profile-section .section-title{margin-bottom:0!important;}
.bsm-operator-card{padding:28px!important;gap:22px!important;}
.bsm-operator-card .operator-desc{max-width:74ch!important;line-height:1.95!important;}

/* Footer spacing */
.site-footer.bsm-site-footer{padding-top:40px!important;}

/* Tablet tuning */
@media (max-width:1024px){
  .bsm-hero.hero,.bsm-hero .bsm-hero__inner{min-height:560px;}
  .bsm-hero__content{width:min(640px,84%);}
  .bsm-point-search-shell{padding:24px!important;}
  .bsm-point-search-section .bsm-point-search__grid{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;
  }
  .bsm-point-search-section .bsm-point-search__checks,
  .bsm-point-search-section .bsm-point-search__actions{grid-column:1/-1!important;}
  body.home .home-section--popular .carousel-list{gap:18px!important;}
  body.home .home-section--popular .carousel-item{
    flex-basis:calc((100% - 18px)/2)!important;
    min-width:calc((100% - 18px)/2)!important;
    max-width:calc((100% - 18px)/2)!important;
  }
}

/* Mobile tuning */
@media (max-width:640px){
  .bsm-header-inner{min-height:56px!important;}
  .bsm-site-title a{font-size:12px!important;letter-spacing:.10em!important;}
  .bsm-hero.hero,.bsm-hero .bsm-hero__inner{min-height:470px!important;}
  .bsm-hero .bsm-hero__inner{padding:34px 16px 84px!important;align-items:flex-end!important;}
  .bsm-hero__eyebrow{font-size:7px!important;margin-bottom:12px!important;}
  .bsm-hero__title{font-size:clamp(44px,16vw,64px)!important;max-width:100%!important;}
  .bsm-hero__tagline{font-size:20px!important;margin-top:14px!important;}
  .bsm-hero__lead{font-size:10.5px!important;line-height:1.75!important;max-width:100%!important;}
  .bsm-hero__cta{grid-template-columns:1fr!important;gap:10px!important;margin-top:18px!important;}
  .bsm-btn{width:100%!important;justify-content:center!important;min-height:42px!important;}

  .home-section--point-search.bsm-point-search-section{margin:-30px 0 0!important;}
  .bsm-point-search-shell{width:min(calc(100% - 24px),var(--bsm-shell));padding:18px!important;border-radius:14px!important;}
  .bsm-point-search-section .section-title{font-size:18px!important;line-height:1.35!important;}
  .bsm-point-search-section .bsm-point-search__grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .bsm-point-search-section .bsm-point-search__actions,
  .bsm-point-search-section .bsm-point-search__checks,
  .bsm-point-search-section .bsm-point-search__field{display:flex!important;}
  .bsm-point-search-section .bsm-point-search__actions{gap:8px!important;}
  .bsm-point-search-section .bsm-point-search__checks{flex-wrap:wrap!important;gap:6px 10px!important;}
  .bsm-point-search-section .bsm-point-search__submit{width:100%!important;}

  .bsm-home-main{padding-top:52px!important;}
  .bsm-home-section{padding:0 0 54px!important;}
  body.home .home-section--popular .carousel-list{gap:12px!important;}
  body.home .home-section--popular .carousel-item{
    flex-basis:100%!important;min-width:100%!important;max-width:100%!important;
  }
  body.home .home-section--popular .carousel-btn{width:36px!important;height:36px!important;}
  body.home .home-section--popular .carousel-btn--prev{left:6px!important;}
  body.home .home-section--popular .carousel-btn--next{right:6px!important;}
  body.home .home-section--popular .bsm-article-card{min-height:260px!important;}

  .bsm-latest-grid.grid-3{gap:14px!important;}
  .bsm-article-card .bsm-card-body{padding:13px 13px 15px!important;}
  .bsm-article-card .card-title a{font-size:14px!important;line-height:1.5!important;}
  .bsm-cat-grid .cat-card{min-height:96px!important;}
  .bsm-sns-box .sns-card{padding:18px!important;}
  .bsm-operator-card{grid-template-columns:56px 1fr!important;gap:14px!important;padding:18px!important;}
  .bsm-operator-card .operator-avatar img{width:56px!important;height:56px!important;}
  .bsm-operator-card .operator-name{font-size:16px!important;}
  .bsm-operator-card .operator-desc{font-size:12px!important;line-height:1.85!important;}
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.2 feedback refinements
========================================================= */

/* ① Remove the white gap above the header on admin-bar view */
.admin-bar .site-header.bsm-site-header{top:0!important;}
@media (max-width:782px){.admin-bar .site-header.bsm-site-header{top:0!important;}}
html{margin-top:0!important;}
body{margin-top:0!important;}

/* ② Point-search section title */
.bsm-point-search-section .section-title{max-width:none!important;}

/* ③ Popular cards: remove the dark translucent overlay look */
body.home .home-section--popular .bsm-article-card{
  min-height:unset!important;
  border:1px solid rgba(16,29,45,.08)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 12px 30px rgba(12,28,44,.08)!important;
  overflow:hidden!important;
}
body.home .home-section--popular .bsm-card-media{
  position:relative!important;
  inset:auto!important;
  height:auto!important;
  aspect-ratio:16/9!important;
}
body.home .home-section--popular .bsm-card-media::after{display:none!important;content:none!important;}
body.home .home-section--popular .bsm-card-body{
  position:static!important;
  left:auto!important;right:auto!important;bottom:auto!important;
  padding:14px 15px 16px!important;
  background:#fff!important;
}
body.home .home-section--popular .bsm-card-cats{margin:0 0 8px!important;}
body.home .home-section--popular .badge{
  background:#edf3f8!important;color:#315f85!important;
}
body.home .home-section--popular .card-title a,
body.home .home-section--popular h2.card-title a{
  color:var(--bsm-ink)!important;
  font-size:15px!important;
  line-height:1.55!important;
  text-shadow:none!important;
}
body.home .home-section--popular .bsm-card-meta{color:#8a939e!important;margin-top:10px!important;}
body.home .home-section--popular .new-badge{
  background:rgba(9,19,30,.82)!important;
}
body.home .home-section--popular .carousel-btn{
  background:rgba(12,24,36,.88)!important;
}
body.home .home-section--popular .carousel-btn--prev{left:-12px!important;}
body.home .home-section--popular .carousel-btn--next{right:-12px!important;}

/* ④ SNS block redesign to match the requested compact card */
.bsm-sns-box .sns-card--social-hub{
  display:grid!important;
  grid-template-columns:minmax(240px,1fr) auto!important;
  align-items:center!important;
  gap:26px!important;
  padding:22px 24px!important;
  border:1px solid var(--bsm-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(12,28,44,.06)!important;
}
.bsm-sns-box .sns-hub-title{
  margin:0 0 8px!important;
  color:var(--bsm-ink)!important;
  font-size:24px!important;
  line-height:1.3!important;
  font-weight:800!important;
}
.bsm-sns-box .sns-links--hub{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:12px!important;
}
.bsm-sns-box .sns-btn{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:44px!important;
  padding:0 16px!important;
  border-radius:10px!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:800!important;
  color:#fff!important;
}
.bsm-sns-box .sns-btn__icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:20px!important;
  font-size:13px!important;
}
.bsm-sns-box .sns-btn--x{background:#111!important;}
.bsm-sns-box .sns-btn--instagram{background:linear-gradient(90deg,#d62976,#f56040)!important;}
.bsm-sns-box .sns-btn--youtube{background:#ff2d20!important;}

/* ⑤ About section: bring the heading/content slightly inward and center it better */
.bsm-profile-section .bsm-section-shell{
  width:min(calc(100% - 40px),1100px)!important;
}
.bsm-profile-section .bsm-section-head,
.bsm-profile-section .bsm-operator-card{
  max-width:1040px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.bsm-profile-section .bsm-section-head{padding-left:8px!important;}

@media (max-width:1024px){
  .bsm-sns-box .sns-card--social-hub{
    grid-template-columns:1fr!important;
    align-items:flex-start!important;
  }
  .bsm-sns-box .sns-links--hub{justify-content:flex-start!important;}
}

@media (max-width:640px){
  body.home .home-section--popular .carousel-btn--prev{left:6px!important;}
  body.home .home-section--popular .carousel-btn--next{right:6px!important;}
  .bsm-sns-box .sns-card--social-hub{padding:18px!important;gap:16px!important;}
  .bsm-sns-box .sns-hub-title{font-size:18px!important;margin-bottom:6px!important;}
  .bsm-sns-box .sns-links--hub{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:10px!important;}
  .bsm-sns-box .sns-btn{width:100%!important;justify-content:center!important;}
  .bsm-profile-section .bsm-section-shell{width:min(calc(100% - 28px),1100px)!important;}
  .bsm-profile-section .bsm-section-head{padding-left:2px!important;}
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.3 final polish
========================================================= */

/* Fix desktop point-search title clipping */
.bsm-point-search-shell{
  grid-template-columns:320px minmax(0,1fr)!important;
}
.bsm-point-search-section .section-head{
  min-width:0!important;
}
.bsm-point-search-section .section-title{
  font-size:20px!important;
  line-height:1.4!important;
  white-space:normal!important;
  word-break:keep-all!important;
}

/* Make ABOUT section heading match the other section headings */
body.home .operator-box,
body.home .bsm-profile-section{
  margin-top:0!important;
}
.bsm-profile-section .bsm-section-shell,
.bsm-profile-section.operator-box .operator-box__inner{
  width:min(calc(100% - 40px),var(--bsm-shell))!important;
  max-width:none!important;
}
.bsm-profile-section .operator-box__inner{
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.bsm-profile-section .bsm-section-head,
.bsm-profile-section .bsm-operator-card{
  max-width:none!important;
}
.bsm-profile-section .bsm-section-head{
  padding-left:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
.bsm-profile-section .bsm-operator-card{
  margin-top:0!important;
}

@media (max-width:1024px){
  .bsm-point-search-shell{
    grid-template-columns:1fr!important;
  }
}

@media (max-width:640px){
  .bsm-profile-section .bsm-section-shell,
  .bsm-profile-section.operator-box .operator-box__inner{
    width:min(calc(100% - 28px),var(--bsm-shell))!important;
  }
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.4 sns cleanup
========================================================= */
.bsm-sns-box .sns-card--x-only{
  grid-template-columns:minmax(0,1fr) auto!important;
}
.bsm-sns-box .sns-links--x-only{
  justify-content:flex-end!important;
}
.bsm-sns-box .sns-card--x-only .sns-lead{
  margin:0!important;
  max-width:560px!important;
}
@media (max-width:1024px){
  .bsm-sns-box .sns-card--x-only{
    grid-template-columns:1fr!important;
  }
  .bsm-sns-box .sns-links--x-only{
    justify-content:flex-start!important;
  }
}
@media (max-width:640px){
  .bsm-sns-box .sns-links--x-only{
    width:100%!important;
  }
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.6 operator avatar circle
========================================================= */
.bsm-operator-card .operator-avatar{
  width:96px!important;
  height:96px!important;
  min-width:96px!important;
  min-height:96px!important;
  overflow:hidden!important;
  border-radius:50%!important;
}
.bsm-operator-card .operator-avatar img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:50%!important;
}

@media (max-width:640px){
  .bsm-operator-card .operator-avatar{
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
    min-height:56px!important;
  }
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.7 cinematic first-view motion
   CSS-only intro animation: GPU-friendly transform/opacity/clip-path.
========================================================= */

/* Hero background: slow cinematic zoom-out */
body.home .bsm-hero .bsm-hero__image,
body.home .bsm-hero .hero__bg-image{
  transform-origin:50% 50%;
  animation:bsmHeroImageIntro 1.9s cubic-bezier(.18,.72,.22,1) both;
  will-change:transform;
}

/* Dark layer fades in softly rather than appearing abruptly */
body.home .bsm-hero__shade{
  animation:bsmHeroShadeIntro 1.15s cubic-bezier(.22,.7,.25,1) both;
}

/* Editorial eyebrow */
body.home .bsm-hero__eyebrow{
  opacity:0;
  transform:translate3d(0,12px,0);
  animation:bsmHeroFadeUp .72s cubic-bezier(.2,.75,.25,1) .16s forwards;
}

/* Main title: masked line-by-line reveal */
body.home .bsm-hero__title span{
  opacity:0;
  clip-path:inset(0 100% 0 0);
  transform:translate3d(0,22px,0);
  animation:bsmHeroTitleReveal .82s cubic-bezier(.16,.78,.2,1) forwards;
}
body.home .bsm-hero__title span:nth-child(1){animation-delay:.28s;}
body.home .bsm-hero__title span:nth-child(2){animation-delay:.43s;}

/* Supporting copy and CTAs arrive in a restrained stagger */
body.home .bsm-hero__tagline,
body.home .bsm-hero__lead,
body.home .bsm-hero__cta{
  opacity:0;
  transform:translate3d(0,18px,0);
  animation:bsmHeroFadeUp .72s cubic-bezier(.2,.75,.25,1) forwards;
}
body.home .bsm-hero__tagline{animation-delay:.68s;}
body.home .bsm-hero__lead{animation-delay:.82s;}
body.home .bsm-hero__cta{animation-delay:.96s;}

/* CTA buttons get a subtle individual stagger */
body.home .bsm-hero__cta .bsm-btn{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
body.home .bsm-hero__cta .bsm-btn::after{
  content:"";
  position:absolute;
  top:-35%;
  left:-45%;
  width:34%;
  height:170%;
  z-index:-1;
  opacity:0;
  transform:skewX(-18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);
  animation:bsmHeroButtonSheen .85s ease 1.42s 1 both;
  pointer-events:none;
}
body.home .bsm-hero__cta .bsm-btn:nth-child(2)::after{animation-delay:1.56s;}

/* Point search rises into the first view after hero copy */
body.home .bsm-point-search-section{
  opacity:0;
  transform:translate3d(0,22px,0);
  animation:bsmHeroSearchIntro .78s cubic-bezier(.18,.75,.22,1) 1.02s forwards;
}

/* Scroll cue has a quiet continuous pulse */
body.home .bsm-scroll-cue{
  opacity:0;
  animation:bsmHeroCueIn .65s ease 1.22s forwards;
}
body.home .bsm-scroll-cue i{
  transform-origin:top;
  animation:bsmHeroScrollPulse 1.9s cubic-bezier(.4,0,.2,1) 1.7s infinite;
}

@keyframes bsmHeroImageIntro{
  0%{transform:scale(1.085) translate3d(0,0,0);filter:saturate(.88) brightness(.9);}
  100%{transform:scale(1.025) translate3d(0,0,0);filter:saturate(1) brightness(1);}
}
@keyframes bsmHeroShadeIntro{
  0%{opacity:.45;}
  100%{opacity:1;}
}
@keyframes bsmHeroFadeUp{
  0%{opacity:0;transform:translate3d(0,18px,0);}
  100%{opacity:1;transform:translate3d(0,0,0);}
}
@keyframes bsmHeroTitleReveal{
  0%{opacity:0;clip-path:inset(0 100% 0 0);transform:translate3d(0,22px,0);}
  100%{opacity:1;clip-path:inset(0 0 0 0);transform:translate3d(0,0,0);}
}
@keyframes bsmHeroSearchIntro{
  0%{opacity:0;transform:translate3d(0,22px,0);}
  100%{opacity:1;transform:translate3d(0,0,0);}
}
@keyframes bsmHeroCueIn{
  from{opacity:0;transform:translate3d(0,-8px,0);}
  to{opacity:1;transform:translate3d(0,0,0);}
}
@keyframes bsmHeroScrollPulse{
  0%,100%{opacity:.36;transform:scaleY(.35);}
  50%{opacity:.95;transform:scaleY(1);}
}
@keyframes bsmHeroButtonSheen{
  0%{left:-45%;opacity:0;}
  18%{opacity:1;}
  100%{left:120%;opacity:0;}
}

/* Keep animation especially light on small screens */
@media (max-width:640px){
  body.home .bsm-hero .bsm-hero__image,
  body.home .bsm-hero .hero__bg-image{
    animation-duration:1.55s;
  }
  body.home .bsm-hero__title span{
    transform:translate3d(0,15px,0);
  }
  body.home .bsm-hero__cta .bsm-btn::after{display:none;}
  body.home .bsm-point-search-section{animation-delay:.92s;}
}

/* Accessibility: no motion for users who prefer reduced motion */
@media (prefers-reduced-motion:reduce){
  body.home .bsm-hero .bsm-hero__image,
  body.home .bsm-hero .hero__bg-image,
  body.home .bsm-hero__shade,
  body.home .bsm-hero__eyebrow,
  body.home .bsm-hero__title span,
  body.home .bsm-hero__tagline,
  body.home .bsm-hero__lead,
  body.home .bsm-hero__cta,
  body.home .bsm-hero__cta .bsm-btn::after,
  body.home .bsm-point-search-section,
  body.home .bsm-scroll-cue,
  body.home .bsm-scroll-cue i{
    animation:none!important;
    opacity:1!important;
    transform:none!important;
    clip-path:none!important;
    filter:none!important;
  }
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.8 cinematic scroll motion
========================================================= */

/* Very thin editorial reading-progress line below sticky header */
body.home.bsm-scrollfx .bsm-site-header::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-1px;
  width:var(--bsm-page-progress,0%);
  height:2px;
  z-index:3;
  background:linear-gradient(90deg,#6aa5d8,#eef6fb);
  box-shadow:0 0 12px rgba(106,165,216,.32);
  transition:width .08s linear;
  pointer-events:none;
}
body.home.bsm-scrollfx .bsm-site-header{
  transition:background-color .3s ease,box-shadow .3s ease,border-color .3s ease;
}
body.home.bsm-scrollfx .bsm-site-header.is-scrolled{
  background:rgba(7,16,26,.985)!important;
  box-shadow:0 10px 30px rgba(4,11,18,.16)!important;
}


/* Section heading reveal: restrained editorial mask + line draw */
body.home.js-enabled.bsm-scrollfx .bsm-section-head.reveal-on-scroll{
  opacity:0;
  transform:translate3d(0,14px,0);
  filter:blur(3px);
  transition:
    opacity .62s cubic-bezier(.2,.75,.25,1),
    transform .72s cubic-bezier(.2,.75,.25,1),
    filter .58s ease;
  transition-delay:var(--reveal-delay,0s);
}
body.home.js-enabled.bsm-scrollfx .bsm-section-head.reveal-on-scroll.is-visible{
  opacity:1;
  transform:translate3d(0,0,0);
  filter:blur(0);
}
body.home.bsm-scrollfx .bsm-section-head .section-line{
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .9s cubic-bezier(.16,.78,.2,1) .12s;
}
body.home.bsm-scrollfx .bsm-section-head.is-visible .section-line{
  transform:scaleX(1);
}
body.home.bsm-scrollfx .bsm-section-head .section-kicker{
  transition:letter-spacing .8s cubic-bezier(.16,.78,.2,1);
}
body.home.bsm-scrollfx .bsm-section-head.is-visible .section-kicker{
  letter-spacing:.23em;
}

/* Popular rail: reveal as one premium module, then cards stay clean */
body.home.js-enabled.bsm-scrollfx .home-section--popular .popular-carousel.reveal-on-scroll{
  opacity:0;
  transform:translate3d(0,26px,0) scale(.985);
  filter:blur(4px);
  transition:
    opacity .72s cubic-bezier(.2,.75,.25,1),
    transform .82s cubic-bezier(.16,.78,.2,1),
    filter .62s ease;
  transition-delay:var(--reveal-delay,0s);
}
body.home.js-enabled.bsm-scrollfx .home-section--popular .popular-carousel.reveal-on-scroll.is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  filter:blur(0);
}

/* Latest cards: staggered rise with small depth change */
body.home.js-enabled.bsm-scrollfx .home-section--latest .grid-3 > .card.reveal-on-scroll{
  opacity:0;
  transform:translate3d(0,34px,0) scale(.975);
  filter:blur(4px);
  transition:
    opacity .62s cubic-bezier(.2,.75,.25,1),
    transform .78s cubic-bezier(.16,.78,.2,1),
    filter .55s ease,
    box-shadow .25s ease;
  transition-delay:var(--reveal-delay,0s);
}
body.home.js-enabled.bsm-scrollfx .home-section--latest .grid-3 > .card.reveal-on-scroll.is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  filter:blur(0);
}

/* Category tiles: short masked reveal that feels like a magazine layout */
body.home.js-enabled.bsm-scrollfx .home-section--cats .cat-grid > .cat-card.reveal-on-scroll{
  opacity:0;
  transform:translate3d(0,20px,0) scale(.985);
  clip-path:inset(0 0 28% 0 round 12px);
  transition:
    opacity .55s ease,
    transform .7s cubic-bezier(.16,.78,.2,1),
    clip-path .78s cubic-bezier(.16,.78,.2,1);
  transition-delay:var(--reveal-delay,0s);
}
body.home.js-enabled.bsm-scrollfx .home-section--cats .cat-grid > .cat-card.reveal-on-scroll.is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  clip-path:inset(0 0 0 0 round 12px);
}

/* SNS module: clean side-to-side reveal */
body.home.js-enabled.bsm-scrollfx .home-section--sns .bsm-sns-box{
  opacity:0;
  transform:translate3d(-22px,0,0);
  transition:opacity .65s ease,transform .76s cubic-bezier(.16,.78,.2,1);
}
body.home.js-enabled.bsm-scrollfx .home-section--sns .bsm-sns-box.is-visible{
  opacity:1;
  transform:translate3d(0,0,0);
}
body.home.bsm-scrollfx .home-section--sns .sns-btn--x{
  transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease!important;
}
body.home.bsm-scrollfx .home-section--sns .sns-btn--x:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(4,11,18,.16);
}

/* Profile reveal: slight scale, no gimmicky rotation */
body.home.js-enabled.bsm-scrollfx .home-section--profile .operator-card.reveal-on-scroll{
  opacity:0;
  transform:translate3d(0,26px,0) scale(.988);
  filter:blur(3px);
  transition:
    opacity .65s ease,
    transform .8s cubic-bezier(.16,.78,.2,1),
    filter .58s ease;
  transition-delay:var(--reveal-delay,0s);
}
body.home.js-enabled.bsm-scrollfx .home-section--profile .operator-card.reveal-on-scroll.is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  filter:blur(0);
}

/* Pagination fades in after the cards */
body.home.js-enabled.bsm-scrollfx .home-pagination.reveal-on-scroll{
  opacity:0;
  transform:translate3d(0,12px,0);
  transition:opacity .5s ease,transform .6s ease;
}
body.home.js-enabled.bsm-scrollfx .home-pagination.reveal-on-scroll.is-visible{
  opacity:1;
  transform:none;
}

/* Keep mobile motion lighter and fast */
@media (max-width:640px){
  body.home.bsm-scrollfx .bsm-site-header::after{height:1px;}
  body.home.bsm-scrollfx .bsm-hero .bsm-hero__image,
  body.home.bsm-scrollfx .bsm-hero .hero__bg-image{translate:0 0!important;}
  body.home.bsm-scrollfx .bsm-hero__content{translate:0 0!important;opacity:1!important;}
  body.home.js-enabled.bsm-scrollfx .home-section--latest .grid-3 > .card.reveal-on-scroll{
    transform:translate3d(0,24px,0) scale(.988);
    filter:none;
    transition-duration:.58s;
  }
  body.home.js-enabled.bsm-scrollfx .home-section--cats .cat-grid > .cat-card.reveal-on-scroll{
    clip-path:none;
    transform:translate3d(0,16px,0);
  }
  body.home.js-enabled.bsm-scrollfx .bsm-section-head.reveal-on-scroll,
  body.home.js-enabled.bsm-scrollfx .home-section--profile .operator-card.reveal-on-scroll,
  body.home.js-enabled.bsm-scrollfx .home-section--popular .popular-carousel.reveal-on-scroll{
    filter:none;
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion:reduce){
  body.home.bsm-scrollfx .bsm-site-header::after{display:none!important;}
  body.home.bsm-scrollfx .bsm-hero .bsm-hero__image,
  body.home.bsm-scrollfx .bsm-hero .hero__bg-image,
  body.home.bsm-scrollfx .bsm-hero__content,
  body.home.js-enabled.bsm-scrollfx .reveal-on-scroll,
  body.home.bsm-scrollfx .bsm-section-head .section-line{
    translate:none!important;
    transform:none!important;
    opacity:1!important;
    filter:none!important;
    clip-path:none!important;
    transition:none!important;
  }
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.11 minimal editorial ranking
   Rank is typography only; NEW remains a separate pill.
========================================================= */
body.home .home-section--popular .carousel-item{
  position:relative!important;
}
body.home .home-section--popular .bsm-popular-rank{
  position:absolute!important;
  left:18px!important;
  top:16px!important;
  z-index:9!important;
  display:inline-flex!important;
  align-items:flex-end!important;
  gap:3px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  pointer-events:none!important;
  text-shadow:0 2px 14px rgba(0,0,0,.55)!important;
}
body.home .home-section--popular .bsm-popular-rank::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-7px;
  width:34px;
  height:2px;
  background:rgba(255,255,255,.9);
}
body.home .home-section--popular .bsm-popular-rank__prefix{
  display:block!important;
  margin:0 0 2px!important;
  color:rgba(255,255,255,.86)!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.04em!important;
}
body.home .home-section--popular .bsm-popular-rank__number{
  display:block!important;
  margin:0!important;
  color:#fff!important;
  font-size:29px!important;
  font-weight:800!important;
  line-height:.82!important;
  letter-spacing:-.06em!important;
}

/* NEW is deliberately different: small dark pill, upper-right. */
body.home .home-section--popular .new-badge{
  top:12px!important;
  left:auto!important;
  right:12px!important;
  min-width:auto!important;
  height:auto!important;
  padding:5px 8px!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:999px!important;
  background:rgba(9,19,30,.78)!important;
  color:#fff!important;
  font-size:8px!important;
  letter-spacing:.10em!important;
  box-shadow:none!important;
}

/* No extra body spacing is needed for the typography-only rank. */
body.home .home-section--popular .bsm-card-body{
  padding-top:14px!important;
}

@media (max-width:640px){
  body.home .home-section--popular .bsm-popular-rank{
    left:14px!important;
    top:14px!important;
  }
  body.home .home-section--popular .bsm-popular-rank__prefix{font-size:8px!important;}
  body.home .home-section--popular .bsm-popular-rank__number{font-size:25px!important;}
  body.home .home-section--popular .bsm-popular-rank::after{width:30px;bottom:-6px;}
  body.home .home-section--popular .bsm-card-body{padding-top:14px!important;}
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.14 subtle fishing micro-motion
   TIGHT LINES. only — water reflection and search ripple removed.
========================================================= */

/* TIGHT LINES. — a quiet angler sign-off above copyright. */
.bsm-tight-lines{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  padding:8px 20px 30px!important;
  color:rgba(255,255,255,.78);
  opacity:0;
  transform:translate3d(0,12px,0);
  transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1);
}
.bsm-tight-lines.is-visible{
  opacity:1;
  transform:translate3d(0,0,0);
}
.bsm-tight-lines__text{
  flex:0 0 auto;
  font-size:clamp(18px,2vw,27px);
  font-weight:700;
  letter-spacing:.28em;
  line-height:1;
  white-space:nowrap;
}
.bsm-tight-lines__line{
  display:block;
  width:min(18vw,170px);
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(116,169,194,.52));
  transform:scaleX(.35);
  transform-origin:right center;
  transition:transform 1.1s cubic-bezier(.2,.7,.2,1) .12s;
}
.bsm-tight-lines__line:last-child{
  background:linear-gradient(90deg,rgba(116,169,194,.52),transparent);
  transform-origin:left center;
}
.bsm-tight-lines.is-visible .bsm-tight-lines__line{transform:scaleX(1);}

@media (max-width:640px){
  .bsm-tight-lines{gap:12px;padding:0 16px 24px!important;}
  .bsm-tight-lines__text{font-size:15px;letter-spacing:.20em;}
  .bsm-tight-lines__line{width:18vw;}
}

@media (prefers-reduced-motion:reduce){
  .bsm-tight-lines,
  .bsm-tight-lines__line{transition:none!important;transform:none!important;opacity:1!important;}
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.15 RICH MOTION
   1) Cinematic hero → point-search transition
   2) Depth-aware popular carousel
   3) Mask-reveal latest stories
========================================================= */

/* ---------- 2. Popular carousel with restrained 3D depth ---------- */
body.home.bsm-richmotion .home-section--popular .popular-carousel{
  perspective:1500px;
  perspective-origin:50% 46%;
}
body.home.bsm-richmotion .home-section--popular .carousel-viewport{
  padding:16px 10px 30px!important;
}
body.home.bsm-richmotion .home-section--popular .carousel-list{
  transform-style:preserve-3d;
  transition:transform .62s cubic-bezier(.18,.76,.22,1)!important;
}
body.home.bsm-richmotion .home-section--popular .carousel-item{
  position:relative;
  z-index:1;
  transform:translate3d(0,16px,0) scale(.94);
  opacity:.62;
  filter:saturate(.82) brightness(.94);
  transform-origin:50% 50%;
  transition:
    transform .62s cubic-bezier(.18,.76,.22,1),
    opacity .48s ease,
    filter .48s ease;
  will-change:transform,opacity;
}
body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-focus{
  z-index:4;
  transform:translate3d(0,0,34px) scale(1);
  opacity:1;
  filter:saturate(1) brightness(1);
}
body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-left{
  z-index:2;
  transform:translate3d(7px,10px,0) rotateY(2.2deg) scale(.965);
  opacity:.84;
  filter:saturate(.90) brightness(.97);
}
body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-right{
  z-index:2;
  transform:translate3d(-7px,10px,0) rotateY(-2.2deg) scale(.965);
  opacity:.84;
  filter:saturate(.90) brightness(.97);
}
body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-offstage{
  z-index:1;
  transform:translate3d(0,18px,-20px) scale(.925);
  opacity:.50;
  filter:saturate(.76) brightness(.92);
}
body.home.bsm-richmotion .home-section--popular .carousel-item .bsm-article-card{
  transition:box-shadow .48s ease,transform .3s ease!important;
}
body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-focus .bsm-article-card{
  box-shadow:0 25px 54px rgba(11,28,45,.16)!important;
}
body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-focus .bsm-popular-rank{
  transform:translate3d(0,0,0) scale(1.04);
  transition:transform .5s cubic-bezier(.18,.76,.22,1);
}
body.home.bsm-richmotion .home-section--popular .carousel-dot{
  transition:width .3s ease,background-color .3s ease,transform .3s ease;
}
body.home.bsm-richmotion .home-section--popular .carousel-dot.is-active{
  transform:scaleY(1.15);
}

/* ---------- 3. Latest stories: editorial image-mask reveal ---------- */
body.home.bsm-richmotion .home-section--latest .bsm-card-media{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate;
}
body.home.bsm-richmotion .home-section--latest .bsm-card-media::before{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:3;
  pointer-events:none;
  background:linear-gradient(90deg,#0d1724 0%,#13273a 87%,#4d82ad 100%);
  transform:scaleX(1);
  transform-origin:left center;
  transition:transform .86s cubic-bezier(.72,0,.18,1);
  transition-delay:calc(var(--reveal-delay,0s) + .10s);
}
body.home.bsm-richmotion .home-section--latest .grid-3 > .card:nth-child(even) .bsm-card-media::before{
  transform-origin:right center;
  background:linear-gradient(270deg,#0d1724 0%,#13273a 87%,#4d82ad 100%);
}
body.home.bsm-richmotion .home-section--latest .bsm-card-media img{
  transform:scale(1.075)!important;
  filter:saturate(.88) contrast(1.02);
  transition:
    transform 1.05s cubic-bezier(.18,.76,.22,1),
    filter .8s ease!important;
}
body.home.js-enabled.bsm-richmotion .home-section--latest .grid-3 > .card.reveal-on-scroll{
  opacity:0;
  transform:translate3d(0,30px,0) scale(.982);
  filter:none;
  transition:
    opacity .26s ease,
    transform .74s cubic-bezier(.18,.76,.22,1),
    box-shadow .25s ease;
  transition-delay:var(--reveal-delay,0s);
}
body.home.js-enabled.bsm-richmotion .home-section--latest .grid-3 > .card.reveal-on-scroll.is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  filter:none;
}
body.home.js-enabled.bsm-richmotion .home-section--latest .grid-3 > .card.reveal-on-scroll.is-visible .bsm-card-media::before{
  transform:scaleX(0);
}
body.home.js-enabled.bsm-richmotion .home-section--latest .grid-3 > .card.reveal-on-scroll.is-visible .bsm-card-media img{
  transform:scale(1)!important;
  filter:saturate(1) contrast(1);
}
body.home.bsm-richmotion .home-section--latest .bsm-card-body{
  opacity:0;
  transform:translate3d(0,12px,0);
  transition:
    opacity .52s ease,
    transform .68s cubic-bezier(.18,.76,.22,1);
  transition-delay:calc(var(--reveal-delay,0s) + .38s);
}
body.home.bsm-richmotion .home-section--latest .card.is-visible .bsm-card-body{
  opacity:1;
  transform:translate3d(0,0,0);
}

/* Tablet: keep depth but reduce perspective and motion. */
@media (max-width:1024px) and (min-width:641px){
  body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-focus{
    transform:translate3d(0,0,22px) scale(1);
  }
  body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-left,
  body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-right{
    transform:translate3d(0,8px,0) scale(.97);
  }
}

/* Mobile: premium reveal, no artificial 3D/parallax. */
@media (max-width:640px){
  body.home.bsm-richmotion .home-section--popular .carousel-viewport{padding:6px 0 20px!important;}
  body.home.bsm-richmotion .home-section--popular .carousel-item,
  body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-focus,
  body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-left,
  body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-right,
  body.home.bsm-richmotion .home-section--popular .carousel-item.is-depth-offstage{
    transform:none!important;
    opacity:1!important;
    filter:none!important;
  }
  body.home.bsm-richmotion .home-section--latest .bsm-card-media::before{
    transition-duration:.68s;
  }
  body.home.bsm-richmotion .home-section--latest .bsm-card-media img{
    transform:scale(1.045)!important;
  }
}

/* Accessibility: all content stays fully visible with reduced motion. */
@media (prefers-reduced-motion:reduce){
  body.home.bsm-richmotion .bsm-hero .bsm-hero__bg,
  body.home.bsm-richmotion .bsm-hero__content,
  body.home.bsm-richmotion .bsm-point-search-shell,
  body.home.bsm-richmotion .home-section--popular .carousel-item,
  body.home.bsm-richmotion .home-section--latest .bsm-card-media img,
  body.home.bsm-richmotion .home-section--latest .bsm-card-body{
    transform:none!important;
    translate:none!important;
    opacity:1!important;
    filter:none!important;
    transition:none!important;
  }
  body.home.bsm-richmotion .home-section--latest .bsm-card-media::before{
    display:none!important;
  }
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.16 refined latest reveal
   Replace the solid color mask with a clean photographic crop reveal.
========================================================= */

/* Remove the v2.0.15 dark curtain completely. */
body.home.bsm-richmotion .home-section--latest .bsm-card-media::before{
  display:none!important;
  content:none!important;
}

/* Keep the media area calm while the image itself reveals. */
body.home.bsm-richmotion .home-section--latest .bsm-card-media{
  background:#eef1f3!important;
  overflow:hidden!important;
}

/* The photograph reveals itself — no colored panel over the card. */
body.home.bsm-richmotion .home-section--latest .bsm-card-media img{
  clip-path:inset(0 100% 0 0 round 10px 10px 0 0);
  opacity:.45;
  transform:translate3d(-18px,0,0) scale(1.055)!important;
  filter:saturate(.88) contrast(1.01) blur(1.5px);
  transform-origin:50% 50%;
  transition:
    clip-path .92s cubic-bezier(.22,.78,.22,1),
    opacity .52s ease,
    transform 1.06s cubic-bezier(.18,.76,.22,1),
    filter .86s ease!important;
  transition-delay:calc(var(--reveal-delay,0s) + .05s);
  will-change:clip-path,transform,opacity;
}

/* Alternate the reveal direction for a magazine rhythm. */
body.home.bsm-richmotion .home-section--latest .grid-3 > .card:nth-child(even) .bsm-card-media img{
  clip-path:inset(0 0 0 100% round 10px 10px 0 0);
  transform:translate3d(18px,0,0) scale(1.055)!important;
}

body.home.js-enabled.bsm-richmotion .home-section--latest .grid-3 > .card.reveal-on-scroll.is-visible .bsm-card-media img{
  clip-path:inset(0 0 0 0 round 10px 10px 0 0);
  opacity:1;
  transform:translate3d(0,0,0) scale(1)!important;
  filter:saturate(1) contrast(1) blur(0);
}

/* Let the white card body follow just after the photo. */
body.home.bsm-richmotion .home-section--latest .bsm-card-body{
  opacity:0;
  transform:translate3d(0,10px,0);
  transition:
    opacity .48s ease,
    transform .62s cubic-bezier(.18,.76,.22,1);
  transition-delay:calc(var(--reveal-delay,0s) + .24s);
}
body.home.bsm-richmotion .home-section--latest .card.is-visible .bsm-card-body{
  opacity:1;
  transform:translate3d(0,0,0);
}

/* Mobile: same idea, shorter distance and quicker reveal. */
@media (max-width:640px){
  body.home.bsm-richmotion .home-section--latest .bsm-card-media img{
    transform:translate3d(-10px,0,0) scale(1.035)!important;
    filter:saturate(.92) blur(.8px);
    transition-duration:.72s,.42s,.82s,.64s!important;
  }
  body.home.bsm-richmotion .home-section--latest .grid-3 > .card:nth-child(even) .bsm-card-media img{
    transform:translate3d(10px,0,0) scale(1.035)!important;
  }
  body.home.js-enabled.bsm-richmotion .home-section--latest .grid-3 > .card.reveal-on-scroll.is-visible .bsm-card-media img{
    transform:translate3d(0,0,0) scale(1)!important;
    filter:none!important;
  }
}

@media (prefers-reduced-motion:reduce){
  body.home.bsm-richmotion .home-section--latest .bsm-card-media img{
    clip-path:none!important;
    opacity:1!important;
    transform:none!important;
    filter:none!important;
  }
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.17
   Remove scroll-linked cinematic first-view motion.
   Initial page-load hero entrance remains; popular depth and
   latest-story reveal remain unchanged.
========================================================= */
body.home.bsm-scrollfx .bsm-hero .bsm-hero__image,
body.home.bsm-scrollfx .bsm-hero .hero__bg-image{
  translate:0 0!important;
}
body.home.bsm-scrollfx .bsm-hero__content{
  translate:0 0!important;
  opacity:1;
}
body.home.bsm-richmotion .bsm-hero .bsm-hero__bg{
  transform:none!important;
  filter:none!important;
}
body.home.bsm-richmotion .bsm-hero__shade{
  opacity:1!important;
}
body.home.bsm-richmotion .bsm-point-search-shell{
  transform:none!important;
  opacity:1!important;
}

/* =========================================================
   BAY SEABASS MEDIA — v2.0.18
   1) Seamless article entry with cross-document View Transitions
   2) Active scroll choreography for section headings
========================================================= */

/* ---------- 1. Article card -> article page transition ---------- */
@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: bsm-page-out .22s ease both;
  }
  ::view-transition-new(root) {
    animation: bsm-page-in .34s ease .06s both;
  }
  ::view-transition-group(*) {
    animation-duration: .68s;
    animation-timing-function: cubic-bezier(.22,.72,.18,1);
  }
}

@keyframes bsm-page-out {
  to { opacity:.78; filter:saturate(.94); }
}
@keyframes bsm-page-in {
  from { opacity:.68; }
  to { opacity:1; }
}

/* Keep the destination hero image stable while it morphs from the card. */
body.single-post .post-thumb {
  contain: paint;
  overflow:hidden;
  border-radius:12px;
}
body.single-post .post-thumb img {
  display:block;
  width:100%;
  height:auto;
}

/* ---------- 2. Scroll-active editorial headings ---------- */
body.home.js-enabled.bsm-heading-motion .bsm-section-head {
  --bsm-heading-ease:cubic-bezier(.2,.75,.18,1);
}

body.home.js-enabled.bsm-heading-motion .bsm-section-head .section-kicker {
  opacity:.42;
  transform:translate3d(0,7px,0);
  letter-spacing:.28em;
  transition:
    opacity .38s ease,
    transform .52s var(--bsm-heading-ease),
    letter-spacing .58s var(--bsm-heading-ease);
}

body.home.js-enabled.bsm-heading-motion .bsm-section-head .section-title {
  clip-path:inset(0 100% 0 0);
  transform:translate3d(0,9px,0);
  opacity:.55;
  transition:
    clip-path .72s var(--bsm-heading-ease) .05s,
    transform .62s var(--bsm-heading-ease) .05s,
    opacity .34s ease .05s;
}

body.home.js-enabled.bsm-heading-motion .bsm-section-head .section-line {
  position:relative;
  transform:scaleX(.04);
  transform-origin:left center;
  opacity:.22;
  transition:
    transform .78s cubic-bezier(.18,.78,.2,1) .14s,
    opacity .38s ease .14s;
}

body.home.js-enabled.bsm-heading-motion .bsm-section-head .section-line::before {
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--bsm-blue);
  transform:translate(-50%,-50%) scale(.4);
  opacity:0;
  transition:transform .42s var(--bsm-heading-ease) .08s,opacity .28s ease .08s;
}

body.home.js-enabled.bsm-heading-motion .bsm-section-head.is-section-active .section-kicker {
  opacity:1;
  transform:translate3d(0,0,0);
  letter-spacing:.18em;
}
body.home.js-enabled.bsm-heading-motion .bsm-section-head.is-section-active .section-title {
  clip-path:inset(0 0 0 0);
  transform:translate3d(0,0,0);
  opacity:1;
}
body.home.js-enabled.bsm-heading-motion .bsm-section-head.is-section-active .section-line {
  transform:scaleX(1);
  opacity:.42;
}
body.home.js-enabled.bsm-heading-motion .bsm-section-head.is-section-active .section-line::before {
  transform:translate(-50%,-50%) scale(1);
  opacity:1;
}

/* Once a section has passed, keep text readable but let the accent line retreat. */
body.home.js-enabled.bsm-heading-motion .bsm-section-head.is-section-seen:not(.is-section-active) .section-kicker,
body.home.js-enabled.bsm-heading-motion .bsm-section-head.is-section-seen:not(.is-section-active) .section-title {
  opacity:1;
  transform:none;
  clip-path:inset(0 0 0 0);
  letter-spacing:inherit;
}
body.home.js-enabled.bsm-heading-motion .bsm-section-head.is-section-seen:not(.is-section-active) .section-line {
  transform:scaleX(.16);
  opacity:.20;
  transition-delay:0s;
}
body.home.js-enabled.bsm-heading-motion .bsm-section-head.is-section-seen:not(.is-section-active) .section-line::before {
  opacity:0;
  transform:translate(-50%,-50%) scale(.45);
  transition-delay:0s;
}

@media (max-width:640px) {
  body.home.js-enabled.bsm-heading-motion .bsm-section-head .section-title {
    transition-duration:.55s;
  }
  body.home.js-enabled.bsm-heading-motion .bsm-section-head .section-line {
    transition-duration:.62s;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home.js-enabled.bsm-heading-motion .bsm-section-head .section-kicker,
  body.home.js-enabled.bsm-heading-motion .bsm-section-head .section-title,
  body.home.js-enabled.bsm-heading-motion .bsm-section-head .section-line {
    opacity:1!important;
    transform:none!important;
    clip-path:none!important;
    transition:none!important;
  }
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.19
   Keep POINT SEARCH heading outside the scroll-heading animation.
   The heading-motion observer only controls headings inside
   .bsm-home-main, so the search heading must remain permanently visible.
========================================================= */
body.home.js-enabled.bsm-heading-motion .bsm-point-search-section .bsm-section-head .section-kicker,
body.home.js-enabled.bsm-heading-motion .bsm-point-search-section .bsm-section-head .section-title {
  opacity:1 !important;
  transform:none !important;
  clip-path:none !important;
  letter-spacing:inherit !important;
  transition:none !important;
}
body.home.js-enabled.bsm-heading-motion .bsm-point-search-section .bsm-section-head .section-kicker {
  letter-spacing:.18em !important;
}

/* =========================================================
   BAY SEABASS MEDIA — v2.0.20 Article Sidebar / Article Footer
========================================================= */

/* ---------- Single article layout ---------- */
@media (min-width:961px){
  body.single-post .layout{
    grid-template-columns:minmax(0,1fr) 336px!important;
    gap:34px!important;
    align-items:start!important;
  }
  body.single-post .bsm-article-sidebar{
    position:sticky;
    top:94px;
    align-self:start;
  }
  body.admin-bar.single-post .bsm-article-sidebar{top:126px;}
}

/* ---------- Sidebar editorial system ---------- */
body.single-post .bsm-article-sidebar{
  min-width:0;
}
body.single-post .bsm-side-widget{
  position:relative;
  margin:0 0 18px!important;
  padding:22px!important;
  overflow:hidden;
  border:1px solid #dfe5ea!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 14px 36px rgba(13,29,46,.065)!important;
}
body.single-post .bsm-side-widget::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:3px;
  height:54px;
  border-radius:0 0 3px 0;
  background:var(--bsm-blue);
}
body.single-post .bsm-side-widget__head{
  margin:0 0 18px;
}
body.single-post .bsm-side-widget__head--row{
  display:flex;
  align-items:flex-end;
  gap:12px;
}
body.single-post .bsm-side-widget__head--row>div{min-width:max-content;}
body.single-post .bsm-side-widget__kicker{
  display:block;
  margin:0 0 6px;
  color:#7291aa;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.18em;
}
body.single-post .bsm-side-widget__title{
  margin:0!important;
  color:var(--bsm-ink)!important;
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}
body.single-post .bsm-side-widget__rule{
  height:1px;
  flex:1;
  margin-bottom:4px;
  background:linear-gradient(90deg,#d8e0e6,rgba(216,224,230,0));
}

/* Profile */
body.single-post .bsm-side-profile{
  background:
    radial-gradient(circle at 100% 0,rgba(79,135,184,.09),transparent 42%),
    #fff!important;
}
body.single-post .bsm-side-profile__top{
  gap:14px!important;
  align-items:center!important;
}
body.single-post .bsm-side-profile__avatar{
  width:68px;
  height:68px;
  flex:0 0 68px;
  overflow:hidden;
  border-radius:50%;
  box-shadow:0 0 0 4px #f2f6f9,0 8px 20px rgba(9,28,46,.12);
}
body.single-post .bsm-side-profile__avatar img{
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:50%!important;
}
body.single-post .bsm-side-profile .author-box__name{
  margin:0 0 5px;
  color:var(--bsm-ink);
  font-size:16px;
  line-height:1.3;
  font-weight:900;
}
body.single-post .bsm-side-profile__role{
  color:#7790a4;
  font-size:9px;
  font-weight:800;
  letter-spacing:.11em;
}
body.single-post .bsm-side-profile__desc{
  position:relative;
  max-height:11.3em;
  margin-top:18px!important;
  overflow:hidden;
  color:#586575!important;
  font-size:11.5px!important;
  line-height:1.88!important;
}
body.single-post .bsm-side-profile__desc::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:2.8em;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,0),#fff 78%);
}
body.single-post .bsm-side-profile__desc p{margin:0 0 10px!important;line-height:inherit!important;}

/* Popular articles */
body.single-post .bsm-side-popular__list{
  display:grid!important;
  gap:0!important;
}
body.single-post .bsm-side-popular__item{
  position:relative;
  display:grid!important;
  grid-template-columns:24px 82px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  min-height:72px;
  padding:12px 0!important;
  border:0!important;
  border-bottom:1px solid #edf1f4!important;
  background:transparent!important;
  text-decoration:none!important;
  transition:transform .22s ease,opacity .22s ease!important;
}
body.single-post .bsm-side-popular__item:first-child{padding-top:0!important;}
body.single-post .bsm-side-popular__item:last-child{padding-bottom:0!important;border-bottom:0!important;}
body.single-post .bsm-side-popular__item:hover{transform:translateX(3px);opacity:1!important;}
body.single-post .bsm-side-popular__rank{
  align-self:start;
  padding-top:5px;
  color:#8093a3;
  font-family:Arial,sans-serif;
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.04em;
}
body.single-post .bsm-side-popular__item:first-child .bsm-side-popular__rank{color:var(--bsm-blue);}
body.single-post .bsm-side-popular__thumb{
  width:82px!important;
  height:58px!important;
  border-radius:8px;
  overflow:hidden;
  background:#eef2f5!important;
}
body.single-post .bsm-side-popular__thumb img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transition:transform .35s ease;
}
body.single-post .bsm-side-popular__item:hover .bsm-side-popular__thumb img{transform:scale(1.045);}
body.single-post .bsm-side-popular__title{
  color:#172231!important;
  font-size:11.5px!important;
  line-height:1.55!important;
  font-weight:800!important;
  -webkit-line-clamp:3!important;
}

/* Categories */
body.single-post .bsm-side-cat-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
}
body.single-post .bsm-side-cat{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:40px;
  padding:9px 10px!important;
  border:1px solid #e5eaee!important;
  border-radius:8px!important;
  background:#f9fafb!important;
  color:#263444!important;
  font-size:10.5px!important;
  font-weight:750;
  line-height:1.35;
  text-decoration:none!important;
  transition:background .2s ease,border-color .2s ease,transform .2s ease!important;
}
body.single-post .bsm-side-cat:hover{
  transform:translateY(-2px);
  border-color:#ccd9e3!important;
  background:#f1f6fa!important;
}
body.single-post .bsm-side-cat__arrow{
  color:#88a1b4;
  font-size:12px;
  transition:transform .2s ease,color .2s ease;
}
body.single-post .bsm-side-cat:hover .bsm-side-cat__arrow{transform:translateX(2px);color:var(--bsm-blue);}

/* User-added sidebar widgets / ads */
body.single-post .bsm-side-custom-widgets .widget{
  border-radius:16px!important;
  padding:20px!important;
}
body.single-post .bsm-side-custom-widgets img{max-width:100%;height:auto;border-radius:8px;}
body.single-post .bsm-side-custom-widgets iframe{max-width:100%;}

/* ---------- Article footer / read-next ---------- */
body.single-post .bsm-entry-footer{
  margin-top:62px!important;
  padding:34px 0 4px!important;
  border-top:1px solid #dfe5e9!important;
}
body.single-post .bsm-entry-footer__top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px;
}
body.single-post .bsm-entry-footer__kicker{
  display:block;
  margin:0 0 7px;
  color:#7893a8;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.19em;
}
body.single-post .bsm-entry-footer__heading{
  margin:0!important;
  color:var(--bsm-ink)!important;
  font-size:24px!important;
  line-height:1.3!important;
  font-weight:900!important;
  letter-spacing:-.015em!important;
}
body.single-post .bsm-entry-footer__back{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:38px;
  padding:0 14px!important;
  border:1px solid #dce3e8!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#455464!important;
  font-size:10px!important;
  font-weight:800!important;
  text-decoration:none!important;
  white-space:nowrap;
  transition:transform .2s ease,border-color .2s ease!important;
}
body.single-post .bsm-entry-footer__back::before{content:"←";}
body.single-post .bsm-entry-footer__back:hover{transform:translateX(-2px);border-color:#bfcdd8!important;opacity:1!important;}

body.single-post .bsm-entry-recommend__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
body.single-post .bsm-entry-recommend__card{
  display:block;
  overflow:hidden;
  border:1px solid #e1e7eb;
  border-radius:12px;
  background:#fff;
  color:inherit;
  text-decoration:none!important;
  box-shadow:0 10px 24px rgba(12,28,44,.045);
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
body.single-post .bsm-entry-recommend__card:hover{
  transform:translateY(-4px);
  border-color:#d2dce4;
  box-shadow:0 16px 32px rgba(12,28,44,.09);
}
body.single-post .bsm-entry-recommend__media{
  position:relative;
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#edf1f4;
}
body.single-post .bsm-entry-recommend__media img{
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transition:transform .45s cubic-bezier(.2,.7,.2,1);
}
body.single-post .bsm-entry-recommend__card:hover .bsm-entry-recommend__media img{transform:scale(1.045);}
body.single-post .bsm-entry-recommend__number{
  position:absolute;
  left:10px;
  top:10px;
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.07em;
  text-shadow:0 2px 10px rgba(0,0,0,.42);
}
body.single-post .bsm-entry-recommend__body{
  display:flex;
  flex-direction:column;
  min-height:122px;
  padding:13px 13px 12px;
}
body.single-post .bsm-entry-recommend__label{
  margin-bottom:7px;
  color:#7994a9;
  font-size:7.5px;
  font-weight:900;
  letter-spacing:.13em;
}
body.single-post .bsm-entry-recommend__title{
  color:#182331;
  font-size:11.5px;
  line-height:1.55;
  font-weight:850;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body.single-post .bsm-entry-recommend__arrow{
  margin-top:auto;
  padding-top:10px;
  color:#7791a5;
  font-size:8px;
  font-weight:900;
  letter-spacing:.12em;
  transition:transform .2s ease,color .2s ease;
}
body.single-post .bsm-entry-recommend__card:hover .bsm-entry-recommend__arrow{transform:translateX(3px);color:var(--bsm-blue);}

body.single-post .bsm-entry-tags{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-top:24px!important;
  padding-top:18px;
  border-top:1px solid #edf0f2;
}
body.single-post .bsm-entry-tags__label{
  padding-top:5px;
  color:#8194a4;
  font-size:8px;
  line-height:1;
  font-weight:900;
  letter-spacing:.16em;
}
body.single-post .bsm-entry-tags .meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
body.single-post .bsm-entry-tags .meta a{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border:1px solid #e1e7eb;
  border-radius:999px;
  background:#f8fafb;
  color:#526171;
  font-size:9px;
  font-weight:700;
  text-decoration:none!important;
}
body.single-post .bsm-entry-tags .meta a::before{content:"#";margin-right:2px;color:#8ba0b1;}

@media (max-width:960px){
  body.single-post .bsm-article-sidebar{position:static!important;}
  body.single-post .bsm-article-sidebar{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
  }
  body.single-post .bsm-side-widget{margin:0!important;}
  body.single-post .bsm-side-profile{grid-column:1/-1;}
  body.single-post .bsm-side-custom-widgets{grid-column:1/-1;}
}

@media (max-width:640px){
  body.single-post .bsm-article-sidebar{display:block;}
  body.single-post .bsm-side-widget{margin:0 0 14px!important;padding:18px!important;border-radius:14px!important;}
  body.single-post .bsm-side-profile__desc{max-height:9.4em;}
  body.single-post .bsm-entry-footer{margin-top:46px!important;padding-top:26px!important;}
  body.single-post .bsm-entry-footer__top{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:18px;}
  body.single-post .bsm-entry-footer__heading{font-size:21px!important;}
  body.single-post .bsm-entry-recommend__grid{grid-template-columns:1fr;gap:12px;}
  body.single-post .bsm-entry-recommend__card{display:grid;grid-template-columns:124px minmax(0,1fr);}
  body.single-post .bsm-entry-recommend__media{height:100%;aspect-ratio:auto;min-height:112px;}
  body.single-post .bsm-entry-recommend__body{min-height:112px;padding:12px;}
  body.single-post .bsm-entry-recommend__label{font-size:7px;}
  body.single-post .bsm-entry-recommend__title{font-size:11px;-webkit-line-clamp:3;}
}


/* =========================================================
   BAY SEABASS MEDIA — v2.0.21 article refinements
   - sidebar top alignment
   - Jetpack related posts unified with KEEP EXPLORING cards
   - hide empty tags via template condition
========================================================= */

/* Sidebar: align the first card with the article instead of leaving a sticky offset gap. */
@media (min-width:961px){
  body.single-post .bsm-article-sidebar{
    position:static!important;
    top:auto!important;
    margin-top:0!important;
    padding-top:0!important;
    align-self:start!important;
  }
}
body.single-post .bsm-article-sidebar > .bsm-side-widget:first-child{
  margin-top:0!important;
}

/* Jetpack related posts — same visual language as "次に読みたい記事". */
body.single-post #jp-relatedposts{
  width:100%!important;
  max-width:none!important;
  margin:58px 0 0!important;
  padding:32px 0 0!important;
  border-top:1px solid #dfe5e9!important;
  clear:both!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-headline{
  display:block!important;
  width:100%!important;
  margin:0 0 22px!important;
  padding:0!important;
  border:0!important;
  line-height:1!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-headline::before{
  content:"RELATED STORIES";
  display:block;
  margin:0 0 7px;
  color:#7893a8;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.19em;
}
body.single-post #jp-relatedposts .jp-relatedposts-headline::after{
  content:none!important;
  display:none!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-headline em{
  position:static!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:var(--bsm-ink)!important;
  font-style:normal!important;
  font-size:24px!important;
  line-height:1.3!important;
  font-weight:900!important;
  letter-spacing:-.015em!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-headline em::before{
  content:none!important;
  display:none!important;
}

body.single-post #jp-relatedposts .jp-relatedposts-items,
body.single-post #jp-relatedposts .jp-relatedposts-items-visual,
body.single-post #jp-relatedposts .jp-relatedposts-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-post{
  counter-increment:bsm-related;
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0 0 38px!important;
  float:none!important;
  overflow:hidden!important;
  border:1px solid #e1e7eb!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(12,28,44,.045)!important;
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-post:hover{
  transform:translateY(-4px)!important;
  border-color:#d2dce4!important;
  box-shadow:0 16px 32px rgba(12,28,44,.09)!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-items{counter-reset:bsm-related;}
body.single-post #jp-relatedposts .jp-relatedposts-post::before{
  content:"0" counter(bsm-related);
  position:absolute;
  z-index:3;
  top:10px;
  left:10px;
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.07em;
  text-shadow:0 2px 10px rgba(0,0,0,.42);
  pointer-events:none;
}
body.single-post #jp-relatedposts .jp-relatedposts-post::after{
  content:"READ →";
  position:absolute;
  left:13px;
  bottom:12px;
  color:#7791a5;
  font-size:8px;
  line-height:1;
  font-weight:900;
  letter-spacing:.12em;
  transition:transform .2s ease,color .2s ease;
  pointer-events:none;
}
body.single-post #jp-relatedposts .jp-relatedposts-post:hover::after{
  transform:translateX(3px);
  color:var(--bsm-blue);
}
body.single-post #jp-relatedposts .jp-relatedposts-post-a{
  color:inherit!important;
  text-decoration:none!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-post > .jp-relatedposts-post-a:first-child{
  position:relative!important;
  display:block!important;
  width:100%!important;
  aspect-ratio:16/10!important;
  overflow:hidden!important;
  background:#edf1f4!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-post-img{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  border-radius:0!important;
  transition:transform .45s cubic-bezier(.2,.7,.2,1)!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-post:hover .jp-relatedposts-post-img{
  transform:scale(1.045)!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-post-title{
  display:block!important;
  margin:0!important;
  padding:13px 13px 0!important;
  font-size:0!important;
  line-height:1!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-post-title::before{
  content:"RELATED STORY";
  display:block;
  margin:0 0 7px;
  color:#7994a9;
  font-size:7.5px;
  line-height:1;
  font-weight:900;
  letter-spacing:.13em;
}
body.single-post #jp-relatedposts .jp-relatedposts-post-title a{
  display:-webkit-box!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  color:#182331!important;
  font-size:11.5px!important;
  line-height:1.55!important;
  font-weight:850!important;
  text-decoration:none!important;
}
body.single-post #jp-relatedposts .jp-relatedposts-post-excerpt,
body.single-post #jp-relatedposts .jp-relatedposts-post-date,
body.single-post #jp-relatedposts .jp-relatedposts-post-context{
  display:none!important;
}

/* If Jetpack injects legacy inline widths/floats, force the grid to win. */
body.single-post #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{
  box-sizing:border-box!important;
  opacity:1!important;
}

@media (max-width:640px){
  body.single-post #jp-relatedposts{margin-top:46px!important;padding-top:26px!important;}
  body.single-post #jp-relatedposts .jp-relatedposts-headline em{font-size:21px!important;}
  body.single-post #jp-relatedposts .jp-relatedposts-items,
  body.single-post #jp-relatedposts .jp-relatedposts-items-visual,
  body.single-post #jp-relatedposts .jp-relatedposts-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.single-post #jp-relatedposts .jp-relatedposts-post{
    display:grid!important;
    grid-template-columns:124px minmax(0,1fr)!important;
    min-height:112px!important;
    padding:0!important;
  }
  body.single-post #jp-relatedposts .jp-relatedposts-post > .jp-relatedposts-post-a:first-child{
    grid-row:1!important;
    grid-column:1!important;
    height:100%!important;
    min-height:112px!important;
    aspect-ratio:auto!important;
  }
  body.single-post #jp-relatedposts .jp-relatedposts-post-title{
    grid-row:1!important;
    grid-column:2!important;
    align-self:stretch!important;
    padding:12px 12px 30px!important;
  }
  body.single-post #jp-relatedposts .jp-relatedposts-post::after{
    left:136px!important;
    bottom:12px!important;
  }
  body.single-post #jp-relatedposts .jp-relatedposts-post-title::before{font-size:7px!important;}
  body.single-post #jp-relatedposts .jp-relatedposts-post-title a{font-size:11px!important;}
}

/* =========================================================
   BAY SEABASS MEDIA — v2.0.22 article detail refinements
   - show the full operator profile text
   - make Jetpack related-post heading match KEEP EXPLORING heading
========================================================= */

/* Sidebar profile: do not crop/fade the biography. */
body.single-post .bsm-side-profile__desc{
  max-height:none!important;
  overflow:visible!important;
}
body.single-post .bsm-side-profile__desc::after{
  content:none!important;
  display:none!important;
  background:none!important;
}

/* Related posts heading: same clean title system as "次に読みたい記事". */
body.single-post #jp-relatedposts h3.jp-relatedposts-headline,
body.single-post #jp-relatedposts .jp-relatedposts-headline{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  margin:0 0 22px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:inherit!important;
  line-height:1!important;
}
body.single-post #jp-relatedposts h3.jp-relatedposts-headline::before,
body.single-post #jp-relatedposts .jp-relatedposts-headline::before{
  content:"RELATED STORIES"!important;
  position:static!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  margin:0 0 7px!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  color:#7893a8!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.19em!important;
  text-transform:uppercase!important;
}
body.single-post #jp-relatedposts h3.jp-relatedposts-headline::after,
body.single-post #jp-relatedposts .jp-relatedposts-headline::after{
  content:none!important;
  display:none!important;
}
body.single-post #jp-relatedposts h3.jp-relatedposts-headline em,
body.single-post #jp-relatedposts .jp-relatedposts-headline em{
  position:static!important;
  display:block!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--bsm-ink)!important;
  font-style:normal!important;
  font-size:24px!important;
  line-height:1.3!important;
  font-weight:900!important;
  letter-spacing:-.015em!important;
  text-transform:none!important;
}
body.single-post #jp-relatedposts h3.jp-relatedposts-headline em::before,
body.single-post #jp-relatedposts h3.jp-relatedposts-headline em::after,
body.single-post #jp-relatedposts .jp-relatedposts-headline em::before,
body.single-post #jp-relatedposts .jp-relatedposts-headline em::after{
  content:none!important;
  display:none!important;
}

@media (max-width:640px){
  body.single-post .bsm-side-profile__desc{max-height:none!important;}
  body.single-post #jp-relatedposts h3.jp-relatedposts-headline em,
  body.single-post #jp-relatedposts .jp-relatedposts-headline em{
    font-size:21px!important;
  }
}
