/* ---- CookieYes: a slim bar at the very bottom, out of the page's way ---- */
.cky-consent-container {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  width: 100% !important;
  max-width: none !important;
}
.cky-consent-bar {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 10px 20px !important;
  border-radius: 0 !important;
  border-top: 1px solid rgba(0,0,0,.12) !important;
  box-shadow: 0 -4px 20px -8px rgba(0,0,0,.22) !important;
}
.cky-notice {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 1240px;
  margin: 0 auto !important;
}
.cky-title { display: none !important; }
.cky-notice-group {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  flex-direction: row !important;
}
.cky-notice-des { padding: 0 !important; margin: 0 !important; flex: 1 1 auto !important; }
.cky-notice-des, .cky-notice-des p {
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}
.cky-notice-btn-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  gap: 8px !important;
}
.cky-notice-btn-wrapper .cky-btn {
  min-height: 34px !important;
  font-size: 13px !important;
  padding: 7px 16px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  width: auto !important;
  flex: 0 0 auto !important;
}
@media (max-width: 720px) {
  .cky-notice, .cky-notice-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 9px !important;
  }
  .cky-consent-bar { padding: 11px 14px !important; }
  .cky-notice-des, .cky-notice-des p { font-size: 12px !important; }
  .cky-notice-btn-wrapper .cky-btn { flex: 1 1 0 !important; }
}
@media (max-width: 559px) {
  .wp-block-cover__inner-container:has(#richterguitar-ai) {
    width: calc(100% - 16px);
  }
}
img.custom-logo {
	height: 49px;
	width: auto;
}
main#main.site-main 
{padding-top: 0px;}
figure.post-thumbnail {
	display: none;
}
/* ---- mobile header: logo back, menu as an icon, tighter hero ---- */
@media (max-width: 559px) {
  .site-logo { display: block !important; margin: 0 !important; }
  .site-logo img.custom-logo {
    height: 44px !important; width: auto !important; display: block !important;
  }
  .site-header {
    display: flex !important;
    align-items: center !important;
    padding: 12px 18px !important;
  }
  .site-header .site-title,
  .site-header .site-description { position: absolute !important; }
  .site-header .main-navigation { margin-left: auto !important; flex: 0 0 auto !important; }
  #toggle-menu.button {
    padding: 0 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    font-size: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #toggle-menu.button .dropdown-icon { font-size: 24px !important; line-height: 1 !important; }
  .wp-block-cover {
    min-height: 0 !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}
/* ——— Mobile menu: slide-in drawer from the right ——— */
@media (max-width: 559px) {
  .site-header #site-navigation .menu-primary-container {
    display: block !important;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(84vw, 320px);
    z-index: 9998;
    background: #fff;
    padding: 76px 24px 150px;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -14px 0 36px -14px rgba(0, 0, 0, .3);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s ease, visibility 0s linear .28s;
  }

  .site-header #site-navigation #toggle:checked ~ .menu-primary-container {
    transform: translateX(0);
    visibility: visible;
    transition: transform .28s ease, visibility 0s;
  }

  /* keep the hamburger/X above the panel */
  .site-header #site-navigation #toggle-menu.button {
    position: relative;
    z-index: 9999;
  }

  /* hierarchy inside the drawer */
  .site-header #site-navigation .menu-primary-container > ul > li > a { font-weight: 600; }
  .site-header #site-navigation .menu-primary-container .sub-menu .menu-item a { padding-left: 14px; }

  /* stop the page scrolling behind the open drawer */
  html:has(#toggle:checked) { overflow: hidden; }
}
@media (max-width: 559px) {
  #toggle-menu.button .dropdown-icon.open {
    font-size: 0 !important;
    width: 19px !important;
    height: 2px !important;
    background: currentColor !important;
    border-radius: 2px !important;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor !important;
  }
}
:root, body {
	--wp--preset--color--primary-hover:#0055fd;
	--wp--preset--color--primary-dark:#002060;
}
.wp-block-button__link {
		background-color: #0041C2;
		border-radius: 44px !important;
}
.wp-block-button a.wp-block-button__link:hover {
		background-color: #0055fd !important;
		color: #ffffff !important;
		border-radius: 44px !important;
}
.hover-image-swell img {
	transition: transform 300ms ease-in-out;
}
.hover-image-swell:hover img {
	transform: scale(1.03);
}
.njt-nofi-notification-bar .njt-nofi-content {
		font-weight: bold;
}
#block-7 {
		font-size: .7rem;
}
a.site-name {
	display: none;
}
/* ——— Pages with the title hidden ——— */
.page-id-6842 h1.entry-title,
.page-id-6947 h1.entry-title,
.page-id-6967 h1.entry-title,
.page-id-7006 h1.entry-title,
.page-id-7039 h1.entry-title,
.page-id-7084 h1.entry-title,
.page-id-7087 h1.entry-title,
.page-id-15094 h1.entry-title,
.page-id-19381 h1.entry-title,
.page-id-11439 h1.entry-title,
.page-id-11977 h1.entry-title,
.page-id-14289 h1.entry-title,
.page-id-14554 h1.entry-title,
.page-id-14570 h1.entry-title,
.page-id-14598 h1.entry-title,
.page-id-14860 h1.entry-title { display: none; }
@media (max-width: 559px) {
  .wp-block-cover__inner-container:has(.wp-block-gallery) {
    width: calc(100% - 16px) !important;
  }
  .wp-block-gallery.has-nested-images {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
  }
  .wp-block-gallery.has-nested-images > figure.wp-block-image {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    flex: none !important;
  }
  .wp-block-gallery.has-nested-images > figure.wp-block-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
/* ——— Landing pages: header and footer off ——— */
.page-id-11439 header, .page-id-11439 footer,
.page-id-11977 header, .page-id-11977 footer,
.page-id-14289 header, .page-id-14289 footer,
.page-id-14554 header, .page-id-14554 footer,
.page-id-14570 header, .page-id-14570 footer,
.page-id-14860 header, .page-id-14860 footer { display: none; }
/* must be !important — .site-header carries display: flex !important below 560px */
.page-id-11439 header.site-header,
.page-id-11977 header.site-header,
.page-id-14289 header.site-header,
.page-id-14554 header.site-header,
.page-id-14570 header.site-header,
.page-id-14860 header.site-header { display: none !important; }

/* ——— Landing pages: flush to the top and bottom ———
   14598 is included here but NOT above — it keeps its header and footer. */
.page-id-11439 main#main.site-main,
.page-id-11977 main#main.site-main,
.page-id-14289 main#main.site-main,
.page-id-14554 main#main.site-main,
.page-id-14570 main#main.site-main,
.page-id-14598 main#main.site-main,
.page-id-14860 main#main.site-main { padding-top: 0; padding-bottom: 0; }

.page-id-11439 div.entry-content,
.page-id-11977 div.entry-content,
.page-id-14289 div.entry-content,
.page-id-14554 div.entry-content,
.page-id-14570 div.entry-content,
.page-id-14598 div.entry-content,
.page-id-14860 div.entry-content { margin-top: 0; margin-bottom: 0; }
.byline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  color: #4a5568;
  margin-bottom: 32px;
}
.meta {
  display: flex;
  flex-wrap: wrap;
	gap: 32px;
  padding: 18px 0;
  border-top: 1px solid #d1dae8;
  border-bottom: 1px solid #d1dae8;
  margin-bottom: 36px;
}

.meta-item {
  font-size: 13px;
}
.meta-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a5568;
  margin-bottom: 4px;
}

.meta-value {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-weight: 500;
  color: #0a1a2e;
}
/* ——— Table of contents (quiet helper nav) ——— */
.toc {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 28px;
  font-size: 13px;
}

.toc-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a5568;
}

.toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
}
.toc a { color: #0041c2; }
.toc a {
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.toc a:hover { border-bottom-color: #0041c2; }

.toc-sep {
  color: #a8b8d4;
  font-weight: 700;
}
/* ——— Chord diagrams strip ——— */
.chord-section-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4a5568;
  margin: 0 0 12px;
}
.chord-section-label.bridge { margin-top: 20px; }

.chord-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid #d1dae8;
  border-radius: 4px;
  margin-bottom: 28px;
}

.chord-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.songsheet {
  background: #ffffff;
  border: 1px solid #d1dae8;
  border-radius: 4px;
  padding: 28px 24px;
  margin-bottom: 32px;
  overflow-x: auto;
  box-shadow: 0 1px 0 rgba(42, 37, 32, 0.04), 0 8px 24px -16px rgba(42, 37, 32, 0.15);
}
.songsheet pre {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 15px;
  line-height: 1.75;
  color: #0a1a2e;
  white-space: pre;
  font-weight: 400;
	letter-spacing: -0.01em;
}
/* The chord lines — colored and bold */
.songsheet pre .chord {
  color: #0041c2;
  font-weight: 600;
  letter-spacing: 0;
}
.section-label {
  display: inline-block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a5568;
  background: #f5f7fb;
  padding: 4px 10px;
  border: 1px solid #d1dae8;
  border-radius: 2px;
  margin: 18px 0 6px;
}
.section-label:first-child { margin-top: 0; }
/* ——— Mobile ——— */
@media (max-width: 600px) {
  /* .page matches BOTH <body> and <article> — this was applying twice,
     inserting 40px of side padding that nothing could pull back out of. */
  article.page { padding: 40px 0 60px; }

  /* single source of truth for the mobile text gutter */
  .site-main { padding-left: 20px; padding-right: 20px; }

  .meta { gap: 18px; }

  /* Songsheet bleeds edge-to-edge on mobile and drops the card treatment.
     Uses a viewport breakout rather than -20px margins: the theme's
     `.entry-content > *` rule sets margin: auto and outranks a plain
     `.songsheet` selector, so the old negative margins never took effect. */
  .songsheet {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 8px 14px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .songsheet pre {
    font-size: clamp(9px, 2.8vw, 13px);
    line-height: 1.6;
    letter-spacing: -0.03em;
  }

  .chord-strip { gap: 10px; padding: 14px; }
}
@media (max-width: 600px) {
  .entry-content > .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}
.tips ol { padding-left: 0; list-style: none; counter-reset: tips; }
.tips li { counter-increment: tips; position: relative; padding-left: 44px; margin-bottom: 14px; }
.tips li::before {
  content: counter(tips);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px;
  border: 1.5px solid #002951;
  border-radius: 50%;
  text-align: center; line-height: 25px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-weight: 700; font-size: 13px; color: #002951;
}
/* Print niceties */
@media print {
  body { background: white; }
  .page { padding: 20px; }
  .songsheet { box-shadow: none; border: 1px solid #ccc; }
}
.note-box {
  background: linear-gradient(180deg, rgba(0, 65, 194, 0.06), rgba(0, 65, 194, 0.02));
  border-left: 3px solid #0041c2;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.note-box strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #002951;
  display: block;
  margin-bottom: 6px;
}