
/* Banana Matsuri v2: consistent magazine cards */
body .bm2-main{background:#101013;color:#f7f3eb;padding:28px 0 46px}
body .bm2-container{max-width:1240px;margin:0 auto;padding:0 20px}
body .bm2-hero{background:linear-gradient(115deg,#35200e,#151316 72%);border:1px solid #a66d25;border-left:6px solid #ffb934;border-radius:16px;padding:24px;margin:0 0 20px}
body .bm2-hero h1{color:#ffce57!important;font-size:32px;font-weight:900;margin:0 0 8px}
body .bm2-hero p{color:#fff!important;margin:0;font-size:15px}
body .bm2-panel{background:#1b191b!important;border:1px solid #71552f!important;border-radius:16px!important;padding:22px!important;margin:0 0 24px!important;box-shadow:0 12px 28px #0005}
body .bm2-panel h2{font-size:24px!important;font-weight:800!important;line-height:1.4!important;color:#ffce57!important;margin:0 0 17px!important}
body .bm2-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
body .bm2-card{min-width:0!important;margin:0!important;padding:12px!important;background:#2a2524!important;border:1px solid #68513a!important;border-radius:12px!important;box-sizing:border-box!important;box-shadow:none!important;overflow:hidden!important}
body .bm2-card>a{display:block!important;color:#fff!important;text-decoration:none!important}
body .bm2-card .bm2-cover{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:210px!important;background:#171417!important;border-radius:8px!important;overflow:hidden!important}
body .bm2-card .bm2-cover img{width:100%!important;height:100%!important;object-fit:contain!important;max-width:100%!important;display:block!important}
body .bm2-card .bm2-card-title{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:1.55!important;max-height:4.65em!important;margin:9px 0 0!important;overflow-wrap:anywhere!important}
body .bm2-card .bm2-rank{display:inline-block;color:#ffce57;font-size:13px;font-weight:800;margin:8px 0 0}
body .bm2-search{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto!important;gap:12px!important;align-items:end!important}
body .bm2-search label{display:block!important;color:#fff!important;font-size:13px!important;font-weight:700!important}
body .bm2-search input,body .bm2-search select{display:block!important;width:100%!important;min-height:46px!important;margin-top:7px!important;padding:9px 12px!important;border-radius:8px!important;box-sizing:border-box!important;background:#fff!important;color:#171717!important}
body .bm2-search button{min-height:46px!important;padding:8px 20px!important;background:#ffc34d!important;color:#24180a!important;font-weight:800!important;border:0!important;border-radius:8px!important;cursor:pointer}
body .bm2-genres{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;margin:12px 0!important}
body .bm2-genres a{display:block!important;background:#302824!important;color:#fff!important;padding:10px 12px!important;border-radius:9px!important;text-decoration:none!important;overflow-wrap:anywhere}
body .bm2-more summary{cursor:pointer;color:#ffce57;font-weight:700}
body .bm2-tags{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}
body .bm2-tags a{background:#3b2c20!important;color:#fff!important;border-radius:20px!important;padding:5px 12px!important;text-decoration:none}
body .bm2-pages{max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;margin:22px 0 0!important;-webkit-overflow-scrolling:touch}
body .bm2-pages .navigation.pagination{display:block!important;width:max-content!important;max-width:none!important;margin:0!important}
body .bm2-pages .nav-links{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:8px!important;width:max-content!important;max-width:none!important;align-items:center!important}
body .bm2-pages .page-numbers{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;min-width:44px!important;min-height:44px!important;padding:8px 12px!important;border:1px solid #795b31!important;border-radius:8px!important;background:#292322!important;color:#fff!important;white-space:nowrap!important}
body .bm2-pages .page-numbers.current,body .bm2-pages .page-numbers.next{background:#ffc34d!important;color:#21170a!important;font-weight:800!important}
body .bm2-single h1{color:#fff!important;font-size:clamp(23px,3vw,34px)!important;line-height:1.45!important}
body .bm2-single .bm2-meta{color:#c6b9a8;font-size:13px;margin-bottom:20px}
body .bm2-single-cover{text-align:center;background:#141214;border-radius:12px;padding:14px;margin-bottom:20px}
body .bm2-single-cover img{max-width:100%!important;height:auto!important;object-fit:contain!important}
body .bm2-body,body .bm2-body p{color:#f4f1eb!important;line-height:1.9}
body .bm2-body iframe,body .bm2-body video{max-width:100%!important}
body .bm2-post-nav{display:flex;justify-content:space-between;gap:10px;margin-top:20px}
body .bm2-footer-widgets{background:#151315;border-top:1px solid #71552f;padding:30px 20px}
body .bm2-footer-inner{max-width:1240px;margin:auto;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
body .bm2-footer-col{min-width:0!important;width:auto!important}
body .bm2-footer-col .bm2-widget{background:#252022;border:1px solid #6a5134;border-radius:10px;padding:12px;margin:0 0 12px;overflow:hidden}
body .bm2-footer-col img{max-width:100%!important;height:auto!important}
body .bm2-footer-col h3{color:#ffce57!important;font-size:18px!important}
@media(max-width:767px){
 body .bm2-container{padding:0 12px}
 body .bm2-panel{padding:14px!important}
 body .bm2-panel h2{font-size:20px!important}
 body .bm2-grid,body .bm2-genres{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body .bm2-card{padding:8px!important}
 body .bm2-card .bm2-cover{height:145px!important}
 body .bm2-card .bm2-card-title{font-size:12px!important}
 body .bm2-search{grid-template-columns:1fr!important}
 body .bm2-footer-inner{grid-template-columns:1fr!important}
}

/* Manga site: introductory copy is not a duplicate site title. */
body .bm2-hero{padding:18px 24px}
body .bm2-hero p{font-weight:700;font-size:16px}

/* v10.3: description sits outside potentially clipped logo containers */
body #bm2-floating-header-description{box-sizing:border-box!important;z-index:999!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:15px!important;font-weight:700!important;line-height:1.65!important;white-space:normal!important;overflow:visible!important;pointer-events:none!important;text-shadow:0 1px 3px #000!important;max-width:calc(100vw - 110px)!important}
@media(max-width:767px){body #bm2-floating-header-description{display:none!important}}

/* v10.4: use the existing header icon/description pair; no floating elements */
@media(min-width:992px){
 body header.bs-headtwo .navbar-header.d-none.d-lg-block{flex:0 1 730px!important;min-width:0!important;width:auto!important;max-width:730px!important;margin-right:16px!important}
 body header.bs-headtwo .navbar-header.d-none.d-lg-block .site-branding-text{display:block!important;overflow:visible!important;max-width:100%!important}
 body header.bs-headtwo .navbar-header.d-none.d-lg-block .banana-site-intro{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:16px!important;max-width:100%!important;width:100%!important;overflow:visible!important;margin:6px 0 0!important}
 body header.bs-headtwo .navbar-header.d-none.d-lg-block .banana-site-icon{display:block!important;flex:0 0 72px!important;width:72px!important;height:72px!important;object-fit:cover!important}
 body header.bs-headtwo .navbar-header.d-none.d-lg-block .banana-site-intro .site-description{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;float:none!important;flex:1 1 auto!important;width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;overflow:visible!important;white-space:normal!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:1.55!important;text-align:left!important;margin:0!important;padding:0!important}
 body header.bs-headtwo .navbar-wp>.container{display:flex!important;align-items:center!important;flex-wrap:nowrap!important}
 body header.bs-headtwo #navbar-wp{flex:1 1 auto!important;min-width:0!important}
}
@media(min-width:992px) and (max-width:1250px){
 body header.bs-headtwo .navbar-header.d-none.d-lg-block{flex-basis:55%!important}
 body header.bs-headtwo .navbar-header.d-none.d-lg-block .banana-site-intro .site-description{font-size:12px!important}
}

/* v10.5: keep the introduction on a single desktop line */
@media(min-width:992px){
 body header.bs-headtwo .navbar-header.d-none.d-lg-block{flex:1 1 auto!important;width:auto!important;max-width:none!important;margin-right:12px!important}
 body header.bs-headtwo .navbar-header.d-none.d-lg-block .banana-site-intro{display:flex!important;flex-wrap:nowrap!important;gap:10px!important;width:100%!important;max-width:none!important}
 body header.bs-headtwo .navbar-header.d-none.d-lg-block .banana-site-icon{flex:0 0 64px!important;width:64px!important;height:64px!important}
 body header.bs-headtwo .navbar-header.d-none.d-lg-block .banana-site-intro .site-description{white-space:nowrap!important;overflow:visible!important;max-width:none!important;flex:0 0 auto!important;font-size:clamp(10px,0.85vw,13px)!important;line-height:1.4!important;letter-spacing:-.035em!important}
 body header.bs-headtwo #navbar-wp{flex:0 0 auto!important}
}
@media(min-width:992px) and (max-width:1199px){
 body header.bs-headtwo .navbar-header.d-none.d-lg-block .banana-site-intro .site-description{font-size:10px!important;letter-spacing:-.06em!important}
 body header.bs-headtwo .navbar-header.d-none.d-lg-block .banana-site-icon{flex-basis:52px!important;width:52px!important;height:52px!important}
}


/* v2.0.6: Improve readability of the description on individual work pages.
   Restrict changes to post content; keep cards, headers and embedded media intact. */
body .bm2-single .bm2-body {
  box-sizing: border-box;
  background: #252126 !important;
  border: 1px solid #5b4b35;
  border-radius: 12px;
  padding: 22px 24px;
  color: #f7f4eb !important;
  -webkit-text-fill-color: #f7f4eb !important;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: .015em;
  overflow-wrap: anywhere;
}
/* A lot of imported work descriptions contain inline dark font colors.
   Override those without changing backgrounds/icons throughout the site. */
body .bm2-single .bm2-body :is(p, div, section, article, ul, ol, li, span, font, b, strong, em, i, small, blockquote, figcaption, dl, dt, dd, table, tr, td, th) {
  color: #f7f4eb !important;
  -webkit-text-fill-color: #f7f4eb !important;
  opacity: 1;
}
body .bm2-single .bm2-body :is(p, li, td, th) {
  font-size: inherit;
  line-height: 1.95;
}
body .bm2-single .bm2-body :is(h1, h2, h3, h4, h5, h6) {
  color: #ffd477 !important;
  -webkit-text-fill-color: #ffd477 !important;
  line-height: 1.55;
}
body .bm2-single .bm2-body a:not(.wp-block-button__link):not(.button):not(.btn) {
  color: #ffdb87 !important;
  -webkit-text-fill-color: #ffdb87 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body .bm2-single .bm2-body :is(p, span, font, div, section, article, blockquote)[style*="background"] {
  background-color: #252126 !important;
}
body .bm2-single .bm2-body :is(table, td, th) {
  background-color: #252126 !important;
  border-color: #6a5842 !important;
}
/* v2.0.7: Fix the pale quotation panel visible in work descriptions.
   The Blogfull parent theme colors all blockquotes with --border-color
   (#e2e8f0). The v2.0.6 light text therefore became unreadable. */
body .bm2-single .bm2-body blockquote,
body .bm2-single .bm2-body .wp-block-quote,
body .bm2-single .bm2-body .wp-block-pullquote,
body .bm2-single .bm2-body .wp-block-pullquote blockquote {
  box-sizing: border-box;
  background: #262126 !important;
  background-image: none !important;
  color: #f7f4eb !important;
  -webkit-text-fill-color: #f7f4eb !important;
  border: 1px solid #765c36 !important;
  border-left: 4px solid #ffc34d !important;
  border-radius: 12px !important;
  padding: 18px 22px !important;
  margin: 14px 0 22px !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
body .bm2-single .bm2-body blockquote::before,
body .bm2-single .bm2-body .wp-block-quote::before,
body .bm2-single .bm2-body .wp-block-pullquote::before {
  color: #ffce57 !important;
  -webkit-text-fill-color: #ffce57 !important;
  opacity: 1 !important;
}
body .bm2-single .bm2-body :is(blockquote, .wp-block-quote, .wp-block-pullquote) :is(p, span, strong, em, b, i, font, li, div) {
  color: #f7f4eb !important;
  -webkit-text-fill-color: #f7f4eb !important;
  background-color: transparent !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
body .bm2-single .bm2-body :is(blockquote, .wp-block-quote, .wp-block-pullquote) :is(cite, .wp-block-quote__citation, .wp-block-pullquote__citation) {
  color: #ffd477 !important;
  -webkit-text-fill-color: #ffd477 !important;
  background-color: transparent !important;
  opacity: 1 !important;
}
body .bm2-single .bm2-body :is(blockquote, .wp-block-quote, .wp-block-pullquote) a {
  color: #ffda80 !important;
  -webkit-text-fill-color: #ffda80 !important;
}

body .bm2-single .bm2-body :is(blockquote, .wp-block-pullquote).has-background,
body .bm2-single .bm2-body :is(blockquote, .wp-block-pullquote)[style*="background"] {
  background: #262126 !important;
  background-image: none !important;
}
body .bm2-single .bm2-body :is(img, iframe, video, embed) {
  max-width: 100%;
}
@media (max-width: 767px) {
  body .bm2-single .bm2-body {
    padding: 16px 14px;
    font-size: 16px !important;
    line-height: 1.9;
    letter-spacing: .01em;
  }
}
