/*
Theme Name: BuddyX Child - River Rhythms v5
Description: Site-wide Chattanooga Music Scene visual continuity for BuddyX, BuddyBoss, Events Manager, and AWPCP.
Author: Chattanooga Music Scene
Template: buddyx
Version: 2.17.1
Update URI: false
Text Domain: river-rhythms
*/

:root {
  --rr-paper: #ead8ad;
  --rr-paper-light: #f7edd2;
  --rr-paper-panel: rgba(255, 249, 231, 0.92);
  --rr-ink: #171612;
  --rr-ink-soft: #494235;
  --rr-rust: #a9351e;
  --rr-rust-dark: #742417;
  --rr-teal: #257c70;
  --rr-teal-dark: #15564f;
  --rr-gold: #c79a48;
  --rr-line: rgba(54, 42, 25, 0.24);
  --rr-shadow: 0 8px 24px rgba(42, 30, 16, 0.14);
  --rr-radius: 5px;
  --rr-display: "Rockwell", "Roboto Slab", Georgia, serif;
  --rr-body: "Trebuchet MS", Arial, sans-serif;
}

body,
body.buddyx,
body.buddypress,
body.bp-user,
body.activity,
body.members,
body.groups {
  color: var(--rr-ink);
  font-family: var(--rr-body);
  background-color: var(--rr-paper);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.34), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(111,68,29,.10), transparent 34%),
    repeating-linear-gradient(0deg, rgba(75,52,23,.025) 0, rgba(75,52,23,.025) 1px, transparent 1px, transparent 4px);
  background-attachment: fixed;
}

a { color: var(--rr-teal-dark); }
a:hover, a:focus { color: var(--rr-rust); }

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.widget-title,
.item-title {
  color: var(--rr-ink);
  font-family: var(--rr-display);
  font-weight: 800;
  letter-spacing: .025em;
}

h1, .page-title, .entry-title {
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(255,255,255,.45);
}

/* Shared parchment surfaces */
.site-content,
.content-area,
.widget,
.entry-content,
.entry-summary,
.em-view-container,
.em.em-list,
.awpcp-main-content,
#buddypress .bp-wrap,
.bp-wrap .item-body,
.bp-wrap .item-header-wrap,
.bp-navs,
.bb-profile-grid > *,
.bb-grid > * {
  border-color: var(--rr-line);
}

.widget,
.em-view-container,
.em.em-list,
.awpcp-listing-excerpt,
.awpcp-listing-single,
#buddypress .item-body,
#buddypress .item-header-wrap,
#buddypress .bp-navs,
.bp-profile-content,
.bb-profile-grid .bp-widget,
.bb-grid .bp-widget,
.bb-card,
.bp-card-list li {
  background: var(--rr-paper-panel);
  border: 1px solid var(--rr-line);
  border-radius: var(--rr-radius);
  box-shadow: var(--rr-shadow);
}

/* Header and primary navigation */
.site-header,
#masthead,
.header-wrapper {
  background: rgba(247, 237, 210, .96);
  border-bottom: 4px solid var(--rr-teal);
  box-shadow: 0 4px 0 var(--rr-rust), 0 8px 20px rgba(36,25,13,.18);
}

/* Let the primary site header breathe across wide screens. */
body:not(.page-id-2819) .site-header-wrapper > .container {
  width: 100%;
  max-width: none;
  padding-right: clamp(1rem, 2.25vw, 2.5rem);
  padding-left: clamp(1rem, 2.25vw, 2.5rem);
}

body:not(.page-id-2819) .site-header-wrapper > .container > .site-header {
  width: 100%;
}

.site-branding .site-title,
.site-title a {
  color: var(--rr-ink);
  font-family: var(--rr-display);
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.site-description { color: var(--rr-rust-dark); font-style: italic; }

.main-navigation a,
.primary-menu a,
#primary-menu a {
  color: var(--rr-ink);
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.primary-menu .current-menu-item > a {
  color: var(--rr-rust);
}

/* Buttons and form controls */
button,
input[type="button"],
input[type="submit"],
.button,
.btn,
.wp-element-button,
.em.pixelbones a.button,
#buddypress .button,
.awpcp-submit-listing-button {
  min-height: 42px;
  border: 1px solid var(--rr-rust-dark);
  border-radius: 3px;
  color: #fff;
  background: var(--rr-rust);
  box-shadow: 0 3px 0 var(--rr-rust-dark);
  font-family: var(--rr-body);
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover,
.wp-element-button:hover,
#buddypress .button:hover {
  color: #fff;
  background: var(--rr-teal);
  border-color: var(--rr-teal-dark);
  box-shadow: 0 3px 0 var(--rr-teal-dark);
}

input[type="text"], input[type="email"], input[type="search"], input[type="url"],
input[type="password"], input[type="number"], input[type="date"], input[type="time"],
select, textarea {
  color: var(--rr-ink);
  background: rgba(255,252,239,.96);
  border: 1px solid rgba(50,38,24,.38);
  border-radius: 3px;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--rr-teal);
  box-shadow: 0 0 0 3px rgba(37,124,112,.18);
  outline: 0;
}

/* Events Manager */
.em-calendar,
.em.pixelbones .em-calendar { background: rgba(255,250,234,.94); }
.em-calendar thead,
.em.pixelbones .em-calendar thead { background: var(--rr-teal-dark); color: #fff; }
.em-calendar td { border-color: var(--rr-line); }
.em-calendar .eventful a,
.em-calendar .eventful-today a { color: var(--rr-rust); font-weight: 800; }
.em-list .em-item,
.em-location-list .em-item {
  padding: 1.25rem;
  border-bottom: 1px dashed rgba(54,42,25,.34);
}

/* Classified marketplace */
.awpcp-listing-excerpt { margin-bottom: 1.25rem; padding: 1.25rem; }
.awpcp-listing-excerpt .awpcp-listing-title a { color: var(--rr-rust-dark); }
.awpcp-menu-items { border-bottom: 3px double var(--rr-teal); }

/* BuddyBoss / member continuity */
body.buddypress #page,
body.bp-user #page,
body.activity #page,
body.members #page { background: transparent; }

#buddypress .item-header-wrap,
.bp-single-vert-nav .item-body,
.bp-wrap .item-body { padding: clamp(1rem, 2vw, 1.75rem); }

#buddypress .item-header-cover-image,
.bb-bp-settings-content,
.bb-profile-grid .bb-profile-sidebar { background-color: rgba(247,237,210,.84); }

#buddypress .bp-navs li a,
.bp-navs ul li a {
  color: var(--rr-ink-soft);
  font-weight: 800;
}

#buddypress .bp-navs li.current a,
#buddypress .bp-navs li.selected a,
.bp-navs ul li.current a,
.bp-navs ul li.selected a {
  color: var(--rr-rust-dark);
  background: rgba(169,53,30,.08);
  border-bottom-color: var(--rr-rust);
}

#buddypress .item-header-avatar img,
.avatar {
  border: 4px solid var(--rr-paper-light);
  box-shadow: 0 0 0 2px var(--rr-teal-dark), 0 6px 15px rgba(35,24,12,.22);
}

/* BuddyBoss ReadyLaunch uses a separate application shell. */
body.bb-readylaunch-template,
body.bb-readylaunch-template #page.bb-readylaunch,
body.bb-readylaunch-template #primary,
body.bb-readylaunch-template .bb-rl-content-wrapper {
  background-color: transparent !important;
}

body.bb-readylaunch-template .bb-rl-header,
body.bb-readylaunch-template .bb-rl-left-panel {
  background: rgba(247, 237, 210, .97) !important;
  border-color: var(--rr-line) !important;
}

body.bb-readylaunch-template .bb-rl-header {
  border-bottom: 4px solid var(--rr-teal) !important;
  box-shadow: 0 4px 0 var(--rr-rust), 0 8px 20px rgba(36,25,13,.14) !important;
}

body.bb-readylaunch-template .bb-rl-site-branding {
  width: auto !important;
  min-width: 0;
}

body.bb-readylaunch-template .bb-rl-site-branding .bb-rl-logo-wrap {
  display: flex !important;
  align-items: center;
  gap: .7rem;
  width: auto !important;
  text-decoration: none;
}

body.bb-readylaunch-template .rr-readylaunch-wordmark {
  display: flex;
  flex-direction: column;
  min-width: 245px;
  line-height: 1.05;
}

body.bb-readylaunch-template .rr-readylaunch-wordmark__title {
  color: var(--rr-ink);
  font-family: var(--rr-display);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 900;
  letter-spacing: .025em;
  white-space: nowrap;
}

body.bb-readylaunch-template .rr-readylaunch-wordmark__tagline {
  margin-top: .25rem;
  color: var(--rr-rust-dark);
  font-family: var(--rr-body);
  font-size: .68rem;
  font-style: italic;
  white-space: nowrap;
}

body.bb-readylaunch-template .bb-rl-left-panel {
  border-right: 1px solid rgba(54,42,25,.28) !important;
}

body.bb-readylaunch-template .bb-rl-left-panel-menu-link,
body.bb-readylaunch-template .bb-rl-main-nav a,
body.bb-readylaunch-template .bb-rl-header a {
  color: var(--rr-ink) !important;
  font-weight: 750;
}

body.bb-readylaunch-template .bb-rl-left-panel-menu-link:hover,
body.bb-readylaunch-template .bb-rl-left-panel-menu-link.current,
body.bb-readylaunch-template .bb-rl-main-nav .current a,
body.bb-readylaunch-template .bb-rl-main-nav .selected a {
  color: var(--rr-rust-dark) !important;
  background: rgba(169,53,30,.08) !important;
}

body.bb-readylaunch-template .bb-rl-profile-item-header,
body.bb-readylaunch-template .bb-rl-profile-panel,
body.bb-readylaunch-template .bb-rl-profile-widget,
body.bb-readylaunch-template .bb-rl-widget-sidebar .widget {
  background: var(--rr-paper-panel) !important;
  border: 1px solid var(--rr-line) !important;
  border-radius: var(--rr-radius) !important;
  box-shadow: var(--rr-shadow) !important;
}

body.bb-readylaunch-template .bb-rl-profile-widget-header,
body.bb-readylaunch-template .bb-rl-profile-header-content h2,
body.bb-readylaunch-template .bb-rl-profile-header-content h3 {
  color: var(--rr-ink) !important;
  font-family: var(--rr-display) !important;
}

body.bb-readylaunch-template .bb-rl-profile-widget-label,
body.bb-readylaunch-template .bb-rl-profile-header-content .activity {
  color: var(--rr-ink-soft) !important;
}

body.bb-readylaunch-template .bb-rl-button--brandFill,
body.bb-readylaunch-template .bb-rl-button--secondaryFill {
  color: #fff !important;
  background: var(--rr-rust) !important;
  border-color: var(--rr-rust-dark) !important;
}

/* Main-site navigation inside the BuddyBoss ReadyLaunch header. */
.rr-community-nav {
  display: flex;
  align-items: center;
  margin: 0 auto 0 1.5rem;
}

@media (max-width: 1250px) {
  body.bb-readylaunch-template .rr-readylaunch-wordmark__tagline { display: none; }
  body.bb-readylaunch-template .rr-readylaunch-wordmark { min-width: 190px; }
}

@media (max-width: 1100px) {
  body.bb-readylaunch-template .rr-readylaunch-wordmark { display: none; }
}

.rr-community-nav[hidden] { display: none !important; }

.rr-community-nav__toggle {
  display: none;
  min-height: 38px;
  padding: .45rem .8rem;
  font-size: .78rem;
}

.rr-community-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.55rem, 1.4vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rr-community-nav__link {
  display: block;
  padding: .6rem .1rem;
  color: var(--rr-ink) !important;
  border-bottom: 3px solid transparent;
  font-size: clamp(.72rem, .9vw, .88rem);
  font-weight: 850;
  letter-spacing: .035em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.rr-community-nav__link:hover,
.rr-community-nav__link:focus,
.rr-community-nav__link[aria-current="page"] {
  color: var(--rr-rust-dark) !important;
  border-bottom-color: var(--rr-teal);
}

@media (max-width: 1100px) {
  .rr-community-nav { position: relative; margin-left: 1rem; }
  .rr-community-nav__toggle { display: inline-flex; align-items: center; }
  .rr-community-nav__list {
    position: absolute;
    z-index: 1000;
    top: calc(100% + .55rem);
    left: 0;
    display: none;
    min-width: 210px;
    padding: .55rem;
    background: var(--rr-paper-light);
    border: 1px solid var(--rr-line);
    border-top: 4px solid var(--rr-teal);
    border-radius: var(--rr-radius);
    box-shadow: var(--rr-shadow);
  }
  .rr-community-nav.is-open .rr-community-nav__list { display: block; }
  .rr-community-nav__link { padding: .7rem .8rem; }
}

@media (max-width: 560px) {
  .rr-community-nav { margin-left: .4rem; }
  .rr-community-nav__toggle { padding: .4rem .55rem; }
}

/* Splash page: preserve the poster and replace the oversized vertical stack. */
body.page-id-2819 {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--rr-paper);
}

body.page-id-2819 article,
body.page-id-2819 .uagb-block-4b9acc75,
body.page-id-2819 .uagb-block-ad4adbe6,
body.page-id-2819 .uagb-block-2c3ad5b1 {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 32px);
  margin: 0;
  padding: 0;
}

body.page-id-2819 .wp-block-image.alignfull {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  background: var(--rr-paper);
}

body.page-id-2819 .wp-block-image.alignfull::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 58%, rgba(22,20,16,.16) 75%, rgba(22,20,16,.48) 100%);
}

body.page-id-2819 .wp-block-image.alignfull img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

body.page-id-2819 .wp-block-navigation {
  position: absolute;
  z-index: 10;
  right: auto;
  bottom: clamp(1.25rem, 4vh, 3rem);
  left: 50%;
  width: min(calc(100% - 2rem), 880px);
  height: auto;
  min-height: 0;
  padding: .75rem clamp(.75rem, 2vw, 1.5rem);
  transform: translateX(-50%);
  color: var(--rr-paper-light) !important;
  background: rgba(22, 20, 16, .88);
  border-top: 3px solid var(--rr-teal);
  border-bottom: 3px solid var(--rr-rust);
  box-shadow: none;
}

body.page-id-2819 .wp-block-navigation__container {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-2819 .wp-block-navigation-item {
  width: 100% !important;
  margin: 0 !important;
}

body.page-id-2819 .wp-block-navigation-item__content {
  justify-content: center;
  width: 100%;
  padding: .55rem .35rem !important;
  color: var(--rr-paper-light) !important;
  border-bottom: 3px solid transparent;
  font-family: var(--rr-body);
  font-size: clamp(.78rem, 1.5vw, 1.05rem);
  font-weight: 850;
  letter-spacing: .07em;
  line-height: 1.1;
  text-decoration: none;
}

body.page-id-2819 .wp-block-navigation-item__content:hover,
body.page-id-2819 .wp-block-navigation-item__content:focus {
  color: #fff !important;
  border-bottom-color: var(--rr-teal);
}

body.page-id-2819 .bcp-floating-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 20 !important;
  top: 61% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  min-width: 150px;
  transform: translate(-50%, -50%) !important;
  color: #fff !important;
  background: var(--rr-rust) !important;
  border: 2px solid var(--rr-paper-light) !important;
  box-shadow: 0 4px 0 var(--rr-rust-dark), 0 10px 30px rgba(26,17,8,.28) !important;
}

body.page-id-2819 .bcp-floating-button:hover,
body.page-id-2819 .bcp-floating-button:focus {
  background: var(--rr-teal) !important;
  box-shadow: 0 4px 0 var(--rr-teal-dark), 0 10px 30px rgba(26,17,8,.28) !important;
}

@media (max-width: 782px) {
  body.page-id-2819 article,
  body.page-id-2819 .uagb-block-4b9acc75,
  body.page-id-2819 .uagb-block-ad4adbe6,
  body.page-id-2819 .uagb-block-2c3ad5b1 {
    min-height: 100svh;
  }
  body.page-id-2819 .wp-block-image.alignfull img {
    object-position: center top;
  }
  body.page-id-2819 .wp-block-navigation {
    right: .75rem;
    bottom: .75rem;
    left: .75rem;
    width: auto;
    padding: .5rem;
    transform: none;
  }
  body.page-id-2819 .wp-block-navigation__container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .2rem .5rem !important;
  }
  body.page-id-2819 .wp-block-navigation-item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - .25rem) !important;
  }
  body.page-id-2819 .wp-block-navigation-item__content {
    justify-content: center;
    width: 100%;
    padding: .48rem .25rem !important;
    text-align: center;
  }
  body.page-id-2819 .bcp-floating-button {
    top: 55% !important;
    bottom: auto !important;
    min-width: 130px;
  }
}

/* Footer */
.site-footer,
#colophon {
  color: var(--rr-paper-light);
  background: var(--rr-ink);
  border-top: 5px solid var(--rr-rust);
}
.site-footer a, #colophon a { color: #87c5b9; }

/* Keep dense interfaces readable on smaller screens. */
@media (max-width: 782px) {
  .site-header, #masthead { border-bottom-width: 3px; }
  .site-title { font-size: clamp(1.5rem, 8vw, 2.3rem); }
  .widget, .em-view-container, .awpcp-listing-excerpt,
  #buddypress .item-body, #buddypress .item-header-wrap { box-shadow: 0 4px 14px rgba(42,30,16,.12); }
  .em-calendar { font-size: .82rem; }
  button, .button, .btn, input[type="submit"] { width: auto; max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Respect the popup's hidden state after Welcome opens. */
body.page-id-2819 .bcp-floating-button.bcp-opener-hidden {
  display: none !important;
}


/* Welcome attention arrows. */
body.page-id-2819 .bcp-floating-button::before,
body.page-id-2819 .bcp-floating-button::after {
  position: absolute;
  top: 50%;
  color: var(--rr-paper-light);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 5px var(--rr-gold)) drop-shadow(0 2px 1px var(--rr-rust-dark));
  animation: rrWelcomeArrowFlash 1.1s ease-in-out infinite;
}
body.page-id-2819 .bcp-floating-button::before { left: -2.35rem; content: "\27A4"; }
body.page-id-2819 .bcp-floating-button::after { right: -2.35rem; content: "\25C0"; animation-delay: .55s; }
@keyframes rrWelcomeArrowFlash {
  0%, 100% { opacity: .28; transform: translateY(-50%) scale(.9); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  body.page-id-2819 .bcp-floating-button::before,
  body.page-id-2819 .bcp-floating-button::after { opacity: .9; animation: none !important; transform: translateY(-50%); }
}


/* Responsive Marketplace content cards. */
.scc-card { display:grid; grid-template-columns:minmax(120px,180px) minmax(0,1fr); width:100%; max-width:760px; margin:1rem 0; overflow:hidden; color:var(--rr-ink); background:var(--rr-paper-light); border:1px solid var(--rr-line); border-left:5px solid var(--rr-teal); border-radius:var(--rr-radius); box-shadow:0 5px 16px rgba(42,30,16,.13); }
.scc-thumb { min-height:130px; background:rgba(37,124,112,.09); }
.scc-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.scc-body { display:flex; flex-direction:column; gap:.55rem; padding:1rem 1.15rem; }
.scc-title { color:var(--rr-rust-dark); font-family:var(--rr-display); font-size:1.12rem; font-weight:800; line-height:1.25; }
.scc-desc { color:var(--rr-ink-soft); line-height:1.5; }
.scc-link { align-self:flex-start; margin-top:auto; color:var(--rr-teal-dark); font-weight:800; text-decoration:underline; text-underline-offset:.18em; }
.scc-link:hover,.scc-link:focus { color:var(--rr-rust-dark); }
.scc-link--fallback { overflow-wrap:anywhere; }
@media (max-width:600px) { .scc-card { grid-template-columns:1fr; } .scc-thumb { max-height:220px; } }


/* Marketplace widescreen system — River Rhythms 2.5.0 */
body:has(#classiwrapper) > #page > .container {
    width: min(calc(100% - 2rem), 1280px);
    max-width: 1280px;
}

body:has(#classiwrapper) .site-wrapper {
    display: block;
}

body:has(#classiwrapper) #primary {
    float: none;
    width: 100%;
    max-width: none;
}

body:has(#classiwrapper) #secondary {
    display: none;
}

body:has(#classiwrapper) .entry-content {
    padding: clamp(1rem, 2.4vw, 2rem);
    background: var(--rr-paper-panel);
    border: 1px solid var(--rr-line);
    border-top: 5px solid var(--rr-teal);
    box-shadow: var(--rr-shadow);
}

body:has(#classiwrapper) .entry-content > h6 {
    margin: 0 0 1rem;
    color: var(--rr-rust-dark);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1;
    text-transform: uppercase;
}

#classiwrapper .uiwelcome {
    max-width: 82ch;
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem;
    color: var(--rr-ink-soft);
    background: rgba(199,154,72,.10);
    border-left: 5px solid var(--rr-gold);
    font-size: .98rem;
    line-height: 1.55;
}

#classiwrapper .awpcp-classifieds-search-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    align-items: stretch;
    gap: .65rem;
    margin: 0 0 .85rem;
    padding: .9rem;
    background: rgba(37,124,112,.08);
    border: 1px solid var(--rr-line);
}

#classiwrapper .awpcp-classifieds-search-bar form {
    display: contents;
}

#classiwrapper .awpcp-classifieds-search-bar--query-field input {
    width: 100%;
    min-height: 44px;
    margin: 0;
}

#classiwrapper .awpcp-classifieds-search-bar--submit-button input {
    height: 44px;
    margin: 0;
}

#classiwrapper .awpcp-classifieds-search-bar--advanced-search-link {
    display: flex;
    align-items: center;
}

#classiwrapper .awpcp-classifieds-search-bar--advanced-search-link a {
    padding: .65rem .75rem;
    font-weight: 800;
    white-space: nowrap;
}

#classiwrapper .awpcp-classifieds-menu {
    display: flex;
    gap: .65rem;
    margin: 0 0 1rem;
    padding: 0 0 1rem;
    border-bottom: 3px double var(--rr-teal);
    list-style: none;
}

#classiwrapper .awpcp-classifieds-menu--menu-item {
    margin: 0;
}

#classiwrapper .awpcp-category-switcher {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.25rem;
    padding: .8rem 1rem;
    background: rgba(255,252,239,.78);
    border: 1px solid var(--rr-line);
}

#classiwrapper .awpcp-category-dropdown-container {
    flex: 1;
    max-width: 520px;
}

#classiwrapper .awpcp-listings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    clear: both;
}

#classiwrapper .awpcp-listings > .fixfloat {
    display: none;
}

#classiwrapper .awpcp-listing-excerpt {
    display: grid !important;
    grid-template-columns: 155px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    min-height: 230px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--rr-paper-light);
    border: 1px solid var(--rr-line);
    border-top: 4px solid var(--rr-rust);
    border-radius: var(--rr-radius);
    box-shadow: 0 6px 18px rgba(42,30,16,.13);
}

#classiwrapper .awpcp-listing-excerpt-thumbnail {
    grid-row: 1 / 3;
    width: 155px;
    min-height: 230px;
    margin: 0;
    background: rgba(37,124,112,.09);
}

#classiwrapper .awpcp-listing-primary-image-listing-link,
#classiwrapper .awpcp-listing-primary-image-thumbnail {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

#classiwrapper .awpcp-listing-primary-image-thumbnail {
    min-height: 230px;
    object-fit: cover;
}

#classiwrapper .awpcp-listing-excerpt-inner {
    min-width: 0;
    padding: 1rem 1rem .65rem;
}

#classiwrapper .awpcp-listing-title {
    margin: 0 0 .65rem;
    font-size: 1.08rem;
    line-height: 1.3;
}

#classiwrapper .awpcp-listing-title a {
    color: var(--rr-rust-dark);
    text-decoration: none;
}

#classiwrapper .awpcp-listing-excerpt-content {
    color: var(--rr-ink-soft);
    line-height: 1.5;
}

#classiwrapper .awpcp-listing-excerpt-extra {
    align-self: end;
    padding: .65rem 1rem .85rem;
    color: var(--rr-ink);
    background: rgba(199,154,72,.10);
    border-top: 1px dashed var(--rr-line);
    font-size: .86rem;
    line-height: 1.55;
}

#classiwrapper .awpcp-pagination-form {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rr-line);
}

@media (max-width: 900px) {
    #classiwrapper .awpcp-listings {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body:has(#classiwrapper) > #page > .container {
        width: calc(100% - 1rem);
    }

    body:has(#classiwrapper) .entry-content {
        padding: 1rem;
    }

    #classiwrapper .awpcp-classifieds-search-bar {
        grid-template-columns: 1fr;
    }

    #classiwrapper .awpcp-classifieds-search-bar form {
        display: grid;
        gap: .65rem;
    }

    #classiwrapper .awpcp-classifieds-menu {
        display: grid;
        grid-template-columns: 1fr;
    }

    #classiwrapper .awpc-classifieds-menu--menu-item-link,
    #classiwrapper .awpcp-classifieds-menu--menu-item-link {
        width: 100%;
        text-align: center;
    }

    #classiwrapper .awpcp-category-switcher {
        display: block;
    }

    #classiwrapper .awpcp-category-dropdown-container {
        margin-top: .5rem;
    }

    #classiwrapper .awpcp-listing-excerpt {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    #classiwrapper .awpcp-listing-excerpt-thumbnail {
        grid-row: auto;
        width: 100%;
        min-height: 210px;
        max-height: 260px;
    }

    #classiwrapper .awpcp-listing-primary-image-thumbnail {
        min-height: 210px;
        max-height: 260px;
    }
}


/* Marketplace action panel: balanced search and listing controls. */
#classiwrapper .awpcp-classifieds-search-bar {
  max-width: 1040px;
  margin: 1.5rem auto 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: rgba(247, 237, 210, .82);
  border: 1px solid var(--rr-line);
  border-top: 4px solid var(--rr-teal);
  border-radius: var(--rr-radius) var(--rr-radius) 0 0;
  box-shadow: 0 8px 20px rgba(42, 30, 16, .12);
}

#classiwrapper .awpcp-classifieds-search-bar form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, auto) minmax(190px, auto);
  align-items: stretch;
  gap: .75rem;
  margin: 0;
}

#classiwrapper .awpcp-classifieds-search-bar--query-field,
#classiwrapper .awpcp-classifieds-search-bar--submit-button,
#classiwrapper .awpcp-classifieds-search-bar--advanced-search-link {
  width: auto;
  margin: 0;
}

#classiwrapper #awpcp-search-query-field,
#classiwrapper .awpcp-classifieds-search-bar input[type="submit"],
#classiwrapper .awpcp-classifieds-search-bar--advanced-search-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
}

#classiwrapper #awpcp-search-query-field {
  padding: .7rem .9rem;
  font-size: 1rem;
}

#classiwrapper .awpcp-classifieds-search-bar input[type="submit"] {
  margin: 0;
  padding: .65rem 1rem;
}

#classiwrapper .awpcp-classifieds-search-bar--advanced-search-link a {
  padding: .65rem 1rem;
  color: var(--rr-teal-dark);
  background: rgba(255, 252, 239, .9);
  border: 2px solid var(--rr-teal);
  border-radius: 3px;
  font-weight: 800;
  letter-spacing: .025em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

#classiwrapper .awpcp-classifieds-search-bar--advanced-search-link a:hover,
#classiwrapper .awpcp-classifieds-search-bar--advanced-search-link a:focus {
  color: #fff;
  background: var(--rr-teal);
}

#classiwrapper .awpcp-classifieds-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  max-width: 1040px;
  margin: 0 auto 1.75rem;
  padding: 0 clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.35rem);
  background: rgba(247, 237, 210, .82);
  border: 1px solid var(--rr-line);
  border-top: 0;
  border-radius: 0 0 var(--rr-radius) var(--rr-radius);
  box-shadow: 0 8px 20px rgba(42, 30, 16, .12);
}

#classiwrapper .awpcp-classifieds-menu--menu-item {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

#classiwrapper .awpcp-classifieds-menu--menu-item-link.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: .65rem .8rem;
  box-sizing: border-box;
  text-align: center;
}

#classiwrapper .awpcp-classifieds-menu--post-listing-menu-item .button {
  color: #fff;
  background: var(--rr-rust);
  border-color: var(--rr-rust-dark);
  box-shadow: 0 3px 0 var(--rr-rust-dark);
}

#classiwrapper .awpcp-classifieds-menu--browse-listings-menu-item .button,
#classiwrapper .awpcp-classifieds-menu--search-listings-menu-item .button {
  color: #fff;
  background: var(--rr-teal-dark);
  border-color: #0d403b;
  box-shadow: 0 3px 0 #0d403b;
}

#classiwrapper .awpcp-classifieds-menu .button:hover,
#classiwrapper .awpcp-classifieds-menu .button:focus {
  color: #fff;
  background: var(--rr-gold);
  border-color: #8f692c;
  box-shadow: 0 3px 0 #8f692c;
}

@media (max-width: 780px) {
  #classiwrapper .awpcp-classifieds-search-bar form,
  #classiwrapper .awpcp-classifieds-menu {
    grid-template-columns: 1fr;
  }

  #classiwrapper .awpcp-classifieds-search-bar {
    margin-top: 1rem;
  }

  #classiwrapper .awpcp-classifieds-menu {
    gap: .65rem;
  }
}


/* The Scene: widescreen editorial gateway. */
.page-id-2 #secondary{display:none}
.page-id-2 #primary,.page-id-2 .content-area{width:100%;max-width:none;flex:1 1 100%}
.page-id-2 .site-wrapper{display:block}
.page-id-2 .entry-content{max-width:1180px;margin:0 auto}
.page-id-2 .entry-content>.wp-block-group{margin-block:clamp(1.5rem,4vw,3.5rem)}
.page-id-2 .scene-hero{position:relative;overflow:hidden;padding:clamp(2rem,6vw,5.25rem);color:var(--rr-paper-light);background:linear-gradient(115deg,rgba(20,22,18,.97),rgba(21,86,79,.9)),repeating-linear-gradient(-8deg,transparent 0 18px,rgba(255,255,255,.04) 18px 20px);border:1px solid rgba(15,55,50,.75);border-top:8px solid var(--rr-rust);box-shadow:var(--rr-shadow)}
.page-id-2 .scene-hero:after{content:"LIVE • LOCAL • CHATTANOOGA";position:absolute;right:-3.25rem;bottom:1.15rem;color:rgba(247,237,210,.13);font-family:var(--rr-display);font-size:clamp(2rem,5vw,4.8rem);font-weight:900;letter-spacing:.05em;transform:rotate(-5deg);white-space:nowrap;pointer-events:none}
.page-id-2 .scene-kicker{margin:0 0 .65rem;color:var(--rr-gold);font-size:.82rem;font-weight:900;letter-spacing:.2em}
.page-id-2 .scene-hero-title{max-width:760px;margin:0;color:#fff8e7;font-size:clamp(2.4rem,6vw,5rem);line-height:.95;text-shadow:3px 3px 0 rgba(112,30,16,.8);text-transform:uppercase}
.page-id-2 .scene-intro{position:relative;z-index:1;max-width:770px;margin:1.35rem 0 1.75rem;color:#f7edd2;font-size:clamp(1rem,1.7vw,1.25rem);line-height:1.7}
.page-id-2 .scene-hero-actions,.page-id-2 .scene-join-actions{position:relative;z-index:2;gap:.8rem}
.page-id-2 .scene-hero .is-style-outline .wp-block-button__link,.page-id-2 .scene-join .is-style-outline .wp-block-button__link{color:var(--rr-paper-light);background:transparent;border:2px solid var(--rr-gold);box-shadow:none}
.page-id-2 .scene-pathways>h2,.page-id-2 .scene-reel>h2,.page-id-2 .scene-current h2,.page-id-2 .scene-join h2{margin-top:0;color:var(--rr-rust-dark);font-size:clamp(1.65rem,3vw,2.5rem);text-transform:uppercase}
.page-id-2 .scene-pathway-grid{align-items:stretch;gap:1rem}
.page-id-2 .scene-pathway-grid>.wp-block-column{display:flex}
.page-id-2 .scene-pathway-card{display:flex;flex-direction:column;width:100%;min-height:245px;padding:1.35rem;background:var(--rr-paper-panel);border:1px solid var(--rr-line);border-top:6px solid var(--rr-teal);box-shadow:0 6px 16px rgba(42,30,16,.12)}
.page-id-2 .scene-pathway-card h3{margin:0 0 .7rem;color:var(--rr-ink);font-size:1.25rem;text-transform:uppercase}
.page-id-2 .scene-pathway-card p{line-height:1.55}
.page-id-2 .scene-card-link{margin-top:auto;padding-top:.75rem}
.page-id-2 .scene-card-link a{color:var(--rr-rust-dark);font-weight:900;text-decoration:none;text-transform:uppercase}
.page-id-2 .scene-reel{padding:clamp(1.25rem,3vw,2.25rem);background:rgba(247,237,210,.72);border:1px solid var(--rr-line);border-left:7px solid var(--rr-gold);box-shadow:var(--rr-shadow)}
.page-id-2 .scene-video{overflow:hidden;margin:1.25rem 0 0;background:#0d0d0b;border:6px solid var(--rr-ink);box-shadow:0 0 0 2px var(--rr-gold),0 12px 25px rgba(25,17,8,.28)}
.page-id-2 .scene-video video{display:block;width:100%;max-height:560px;object-fit:cover}
.page-id-2 .scene-current>.wp-block-columns{align-items:stretch;gap:1.25rem}
.page-id-2 .scene-feed{padding:clamp(1.25rem,3vw,2rem);background:var(--rr-paper-panel);border:1px solid var(--rr-line);border-top:6px solid var(--rr-rust);box-shadow:var(--rr-shadow)}
.page-id-2 .scene-latest-posts{margin:0;padding:0;list-style:none}
.page-id-2 .scene-latest-posts li{display:grid;grid-template-columns:96px 1fr;gap:1rem;align-items:center;margin:0;padding:.85rem 0;border-bottom:1px dashed rgba(54,42,25,.3)}
.page-id-2 .scene-latest-posts .wp-block-latest-posts__featured-image{grid-row:1/span 2;margin:0}
.page-id-2 .scene-latest-posts img{width:96px;height:78px;object-fit:cover}
.page-id-2 .scene-latest-posts a{color:var(--rr-ink);font-family:var(--rr-display);font-weight:800}
.page-id-2 .scene-join{padding:clamp(1.5rem,4vw,3rem);color:var(--rr-paper-light);background:linear-gradient(125deg,rgba(116,36,23,.97),rgba(45,28,20,.97));border:1px solid var(--rr-rust-dark);border-bottom:8px solid var(--rr-teal);box-shadow:var(--rr-shadow)}
.page-id-2 .scene-join h2{color:#fff8e7}
.page-id-2 .scene-join p{max-width:760px;color:#f7edd2;font-size:1.08rem}
@media(max-width:900px){.page-id-2 .scene-pathway-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.page-id-2 .entry-content>.wp-block-group{margin-block:1.25rem}.page-id-2 .scene-hero{padding:2rem 1.25rem}.page-id-2 .scene-hero:after{display:none}.page-id-2 .scene-pathway-grid{grid-template-columns:1fr}.page-id-2 .scene-pathway-card{min-height:0}.page-id-2 .scene-hero-actions .wp-block-button,.page-id-2 .scene-join-actions .wp-block-button{width:100%}.page-id-2 .scene-hero-actions .wp-block-button__link,.page-id-2 .scene-join-actions .wp-block-button__link{width:100%}}


/* Scene compatibility with BuddyX content-grid and heading defaults. */
body.page-id-2 .site-wrapper{grid-template-columns:minmax(0,1fr)!important}
body.page-id-2 #primary{grid-column:1/-1!important;width:100%!important}
body.page-id-2 .scene-hero-title{color:#fff8e7!important}
body.page-id-2 .scene-hero .wp-block-button__link{color:#fff!important}


/* Let Scene card and feed grids use the complete editorial canvas. */
body.page-id-2 .scene-pathways>.wp-block-columns,
body.page-id-2 .scene-current>.wp-block-columns{max-width:none!important}
body.page-id-2 .scene-pathway-card h3{overflow-wrap:normal;word-break:normal;hyphens:none}


/* Poster fidelity layer — River Rhythms 2.7.0
 * The restored Chattanooga poster is the visual source of truth.
 * Keep this after plugin-specific rules so the shared print treatment wins.
 */
body:not(.page-id-2819) {
  background-color: #dfc993;
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(255, 250, 226, .55) 0 8%, transparent 29%),
    radial-gradient(ellipse at 88% 78%, rgba(89, 54, 23, .13) 0 5%, transparent 31%),
    repeating-linear-gradient(2deg, rgba(74, 45, 18, .032) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(91deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 7px);
}

body:not(.page-id-2819) .site-content,
body:not(.page-id-2819) .site-sub-header {
  background-color: rgba(244, 229, 190, .54);
  background-image:
    repeating-linear-gradient(0deg, rgba(82, 50, 20, .025) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 17% 35%, rgba(255,255,255,.3), transparent 24%);
}

body:not(.page-id-2819) .site-header,
body:not(.page-id-2819) #masthead,
body.bb-readylaunch-template .bb-rl-header,
body.bb-readylaunch-template .bb-rl-left-panel {
  background-color: rgba(244, 231, 195, .98) !important;
  background-image:
    repeating-linear-gradient(1deg, rgba(72, 44, 18, .025) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.35), transparent 28%) !important;
}

body:not(.page-id-2819) .site-header,
body:not(.page-id-2819) #masthead {
  box-shadow:
    inset 0 0 42px rgba(113, 71, 29, .07),
    0 4px 0 var(--rr-rust),
    0 9px 24px rgba(36, 25, 13, .2);
}

body:not(.page-id-2819) .site-title a,
body.bb-readylaunch-template .rr-readylaunch-wordmark__title {
  text-shadow: 1px 1px 0 rgba(255,255,255,.55), 1px 0 0 rgba(26,20,13,.18);
}

body:not(.page-id-2819) .main-navigation a,
body:not(.page-id-2819) .primary-menu a,
body:not(.page-id-2819) #primary-menu a,
.rr-community-nav__link {
  text-shadow: .4px .4px 0 rgba(20, 15, 10, .22);
}

body:not(.page-id-2819) .site-sub-header {
  border-bottom: 1px solid rgba(80, 47, 18, .18);
  box-shadow: inset 0 -10px 24px rgba(106, 68, 25, .04);
}

body:not(.page-id-2819) .site-sub-header .page-title,
body:not(.page-id-2819) .site-sub-header h1 {
  position: relative;
  display: inline-block;
  padding: .15em .55em .2em;
  color: var(--rr-paper-light);
  background: var(--rr-ink);
  box-shadow: -.32em .18em 0 rgba(169,53,30,.92);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.05;
  text-shadow: 2px 2px 0 rgba(169,53,30,.6);
}

body:not(.page-id-2819) .entry-content > h2,
body:not(.page-id-2819) .entry-content > h3,
body:not(.page-id-2819) .widget-title,
body:not(.page-id-2819) .em-view-container h2,
body:not(.page-id-2819) #classiwrapper h2,
body:not(.page-id-2819) #classiwrapper h3,
body.bb-readylaunch-template .bb-rl-profile-widget-header {
  position: relative;
  padding-bottom: .42rem;
}

body:not(.page-id-2819) .entry-content > h2::after,
body:not(.page-id-2819) .widget-title::after,
body:not(.page-id-2819) .em-view-container h2::after,
body:not(.page-id-2819) #classiwrapper h2::after {
  display: block;
  width: min(185px, 45%);
  height: 5px;
  margin-top: .36rem;
  content: "";
  background: linear-gradient(90deg, var(--rr-rust) 0 58%, var(--rr-teal) 58% 88%, var(--rr-gold) 88%);
  transform: rotate(-.35deg);
}

body:not(.page-id-2819) .widget,
body:not(.page-id-2819) .em-view-container,
body:not(.page-id-2819) .em.em-list,
body:not(.page-id-2819) .awpcp-listing-excerpt,
body:not(.page-id-2819) .awpcp-listing-single,
body:not(.page-id-2819) #buddypress .item-body,
body:not(.page-id-2819) #buddypress .item-header-wrap,
body:not(.page-id-2819) #buddypress .bp-navs,
body:not(.page-id-2819) .bb-card,
body.bb-readylaunch-template .bb-rl-profile-item-header,
body.bb-readylaunch-template .bb-rl-profile-panel,
body.bb-readylaunch-template .bb-rl-profile-widget,
body.bb-readylaunch-template .bb-rl-widget-sidebar .widget {
  background-color: rgba(250, 240, 211, .94) !important;
  background-image:
    repeating-linear-gradient(0deg, rgba(77, 49, 22, .022) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 92% 8%, rgba(134, 80, 31, .07), transparent 30%) !important;
  border-color: rgba(55, 39, 20, .38) !important;
  border-radius: 2px !important;
  box-shadow: 3px 4px 0 rgba(72, 48, 23, .16), 0 10px 22px rgba(42, 30, 16, .11) !important;
}

body:not(.page-id-2819) button,
body:not(.page-id-2819) input[type="button"],
body:not(.page-id-2819) input[type="submit"],
body:not(.page-id-2819) .button,
body:not(.page-id-2819) .btn,
body:not(.page-id-2819) .wp-element-button,
body.bb-readylaunch-template .bb-rl-button--brandFill,
body.bb-readylaunch-template .bb-rl-button--secondaryFill {
  background-image:
    repeating-linear-gradient(-8deg, rgba(255,255,255,.035) 0 2px, transparent 2px 6px),
    linear-gradient(rgba(255,255,255,.035), rgba(0,0,0,.055));
  border-width: 2px;
  border-radius: 2px;
  text-shadow: 1px 1px 0 rgba(40, 18, 10, .45);
  transform: translateY(0);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

body:not(.page-id-2819) button:hover,
body:not(.page-id-2819) input[type="button"]:hover,
body:not(.page-id-2819) input[type="submit"]:hover,
body:not(.page-id-2819) .button:hover,
body:not(.page-id-2819) .btn:hover,
body:not(.page-id-2819) .wp-element-button:hover {
  transform: translateY(-1px) rotate(-.15deg);
}

body:not(.page-id-2819) input[type="text"],
body:not(.page-id-2819) input[type="email"],
body:not(.page-id-2819) input[type="search"],
body:not(.page-id-2819) input[type="url"],
body:not(.page-id-2819) input[type="password"],
body:not(.page-id-2819) input[type="number"],
body:not(.page-id-2819) input[type="date"],
body:not(.page-id-2819) input[type="time"],
body:not(.page-id-2819) select,
body:not(.page-id-2819) textarea {
  background-color: rgba(255, 249, 228, .96);
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(77,49,22,.018) 3px 4px);
  border-width: 1px 1px 2px;
  border-color: rgba(54,38,20,.48);
  border-radius: 1px;
}

#classiwrapper .awpcp-classifieds-search-bar,
#classiwrapper .awpcp-classifieds-menu,
#classiwrapper .awpcp-category-switcher {
  background-color: rgba(240, 222, 177, .86);
  background-image: repeating-linear-gradient(1deg, rgba(74,45,18,.028) 0 1px, transparent 1px 5px);
}

#classiwrapper .awpcp-listing-excerpt {
  border-top-width: 6px;
  box-shadow: 4px 5px 0 rgba(77,48,20,.16), 0 10px 20px rgba(42,30,16,.1) !important;
}

#classiwrapper .awpcp-listing-title a,
.em-item-title a,
.em-event-title a {
  text-decoration-color: rgba(169,53,30,.3);
  text-decoration-thickness: 2px;
  text-underline-offset: .16em;
}

.em-calendar,
.em.pixelbones .em-calendar {
  border: 2px solid rgba(42,30,16,.72);
  box-shadow: 4px 5px 0 rgba(77,48,20,.16);
}

.em-calendar thead,
.em.pixelbones .em-calendar thead {
  background-image: repeating-linear-gradient(-8deg, rgba(255,255,255,.04) 0 2px, transparent 2px 7px);
  text-shadow: 1px 1px 0 rgba(0,0,0,.35);
}

body.bb-readylaunch-template .bb-rl-left-panel-menu-link.current,
body.bb-readylaunch-template .bb-rl-main-nav .current a,
body.bb-readylaunch-template .bb-rl-main-nav .selected a,
#buddypress .bp-navs li.current a,
#buddypress .bp-navs li.selected a {
  box-shadow: inset 5px 0 0 var(--rr-rust);
}

@media (max-width: 782px) {
  body:not(.page-id-2819) .site-sub-header .page-title,
  body:not(.page-id-2819) .site-sub-header h1 {
    box-shadow: -.2em .14em 0 rgba(169,53,30,.92);
  }

  body:not(.page-id-2819) .widget,
  body:not(.page-id-2819) .em-view-container,
  body:not(.page-id-2819) .awpcp-listing-excerpt,
  body:not(.page-id-2819) #buddypress .item-body,
  body:not(.page-id-2819) #buddypress .item-header-wrap {
    box-shadow: 2px 3px 0 rgba(72,48,23,.14), 0 6px 14px rgba(42,30,16,.1) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.page-id-2819) button,
  body:not(.page-id-2819) .button,
  body:not(.page-id-2819) .btn,
  body:not(.page-id-2819) .wp-element-button {
    transform: none !important;
  }
}


/* Phone composition — River Rhythms 2.7.1
 * These rules deliberately do not alter the desktop presentation.
 */
@media (max-width: 782px) {
  /* Let the splash poster, Welcome control, and navigation occupy one
     continuous mobile composition instead of three distant viewport layers. */
  body.page-id-2819,
  body.page-id-2819 article,
  body.page-id-2819 .uagb-block-4b9acc75,
  body.page-id-2819 .uagb-block-ad4adbe6,
  body.page-id-2819 .uagb-block-2c3ad5b1 {
    min-height: calc((100vw / 1.499) + 230px);
  }

  body.page-id-2819 .wp-block-image.alignfull {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: calc(100vw / 1.499);
  }

  body.page-id-2819 .wp-block-image.alignfull::after {
    background: linear-gradient(to bottom, transparent 76%, rgba(22,20,16,.14) 100%);
  }

  body.page-id-2819 .wp-block-image.alignfull img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body.page-id-2819 .bcp-floating-button {
    top: calc((100vw / 1.499) + 58px) !important;
    min-width: 138px;
  }

  body.page-id-2819 .wp-block-navigation {
    top: calc((100vw / 1.499) + 126px);
    right: .5rem;
    bottom: auto;
    left: .5rem;
    width: auto;
    margin: 0;
    padding: .45rem;
    transform: none;
  }

  body.page-id-2819 .wp-block-navigation__responsive-container-open {
    justify-content: center;
    width: 100%;
    min-height: 42px;
    color: var(--rr-paper-light);
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open {
    padding: 1rem;
    color: var(--rr-paper-light);
    background: rgba(22,20,16,.98);
    border-top: 4px solid var(--rr-teal);
    border-bottom: 4px solid var(--rr-rust);
  }

  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    grid-template-columns: 1fr;
  }

  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child {
    grid-column: auto;
    width: 100% !important;
  }

  /* Compact but readable standard-site branding. */
  body:not(.page-id-2819) .site-header-wrapper > .container {
    padding-right: .65rem;
    padding-left: .65rem;
  }

  body:not(.page-id-2819) .site-branding {
    min-width: 0;
  }

  body:not(.page-id-2819) .site-title,
  body:not(.page-id-2819) .site-title a {
    font-size: clamp(1.35rem, 7.4vw, 1.85rem);
    line-height: 1.02;
  }

  body:not(.page-id-2819) .site-description {
    margin-top: .28rem;
    font-size: .82rem;
    line-height: 1.25;
  }

  body:not(.page-id-2819) .site-sub-header .container,
  body:not(.page-id-2819) .site-sub-header .site-sub-header-inner {
    display: block;
  }

  body:not(.page-id-2819) .site-sub-header .page-title,
  body:not(.page-id-2819) .site-sub-header h1 {
    max-width: 100%;
    margin: 0 0 .7rem;
    padding: .18em .45em .22em;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    overflow-wrap: anywhere;
  }

  body:not(.page-id-2819) .site-sub-header .breadcrumb,
  body:not(.page-id-2819) .site-sub-header .breadcrumbs,
  body:not(.page-id-2819) .site-sub-header .breadcrumb-trail {
    font-size: .76rem;
    line-height: 1.3;
  }

  /* Recover usable width from nested Marketplace desktop panels. */
  body:has(#classiwrapper) > #page > .container {
    width: calc(100% - .5rem);
  }

  body:has(#classiwrapper) .entry-content {
    padding: .65rem;
  }

  body:has(#classiwrapper) .entry-content > h6 {
    font-size: clamp(1.55rem, 8vw, 2rem);
    line-height: 1.05;
  }

  #classiwrapper .uiwelcome {
    padding: .8rem;
    font-size: .92rem;
  }

  #classiwrapper .awpcp-classifieds-search-bar {
    margin-top: .75rem;
    padding: .65rem;
  }

  #classiwrapper .awpcp-classifieds-menu {
    gap: .55rem;
    padding-right: .65rem;
    padding-bottom: .75rem;
    padding-left: .65rem;
  }

  #classiwrapper .awpcp-category-switcher {
    padding: .7rem;
  }

  #classiwrapper .awpcp-listings {
    gap: .9rem;
  }

  #classiwrapper .awpcp-listing-excerpt {
    min-height: 0;
  }

  #classiwrapper .awpcp-listing-excerpt-inner {
    padding: .85rem .85rem .55rem;
  }

  #classiwrapper .awpcp-listing-excerpt-extra {
    padding: .6rem .85rem .75rem;
  }

  /* Events Manager remains scroll-free at the phone breakpoint. */
  .em-calendar,
  .em.pixelbones .em-calendar {
    width: 100%;
    max-width: 100%;
    font-size: .74rem;
  }

  .em-calendar th,
  .em-calendar td {
    min-width: 0;
    padding-right: .2rem;
    padding-left: .2rem;
  }

  /* ReadyLaunch keeps its native application controls while using the
     compact child-theme navigation trigger on phones. */
  body.bb-readylaunch-template .rr-community-nav {
    margin-left: .25rem;
  }

  body.bb-readylaunch-template .rr-community-nav__toggle {
    min-height: 36px;
    padding: .35rem .5rem;
    font-size: .7rem;
  }

  body.bb-readylaunch-template .bb-rl-profile-item-header,
  body.bb-readylaunch-template .bb-rl-profile-panel,
  body.bb-readylaunch-template .bb-rl-profile-widget {
    margin-right: .35rem;
    margin-left: .35rem;
  }
}

@media (max-width: 390px) {
  body.page-id-2819 .bcp-floating-button::before { left: -1.75rem; }
  body.page-id-2819 .bcp-floating-button::after { right: -1.75rem; }

  body:not(.page-id-2819) .site-header-wrapper > .container {
    padding-right: .4rem;
    padding-left: .4rem;
  }
}


/* Narrow phone header correction — River Rhythms 2.7.2 */
@media (max-width: 560px) {
  body:not(.page-id-2819) #masthead.site-header,
  body:not(.page-id-2819) .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  body:not(.page-id-2819) #masthead .site-branding,
  body:not(.page-id-2819) .site-header .site-branding {
    display: flex;
    flex: 1 1 100%;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: .45rem .35rem .35rem;
  }

  body:not(.page-id-2819) .site-logo-wrapper,
  body:not(.page-id-2819) .site-logo-wrapper .custom-logo-link,
  body:not(.page-id-2819) .site-logo-wrapper .custom-logo {
    flex: 0 0 42px;
    width: 42px;
    max-width: 42px;
    height: 42px;
  }

  body:not(.page-id-2819) .site-branding-inner {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: .55rem;
  }

  body:not(.page-id-2819) .site-title,
  body:not(.page-id-2819) .site-title a {
    margin: 0;
    font-size: clamp(1.25rem, 7vw, 1.65rem);
    line-height: 1;
  }

  body:not(.page-id-2819) .site-description {
    margin: .22rem 0 0;
    font-size: .75rem;
    line-height: 1.15;
  }

  body:not(.page-id-2819) #site-navigation.main-navigation,
  body:not(.page-id-2819) .site-header .main-navigation {
    display: flex;
    flex: 1 1 100%;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    padding: .2rem .35rem .35rem;
    border-top: 1px dashed rgba(54,42,25,.28);
  }

  body:not(.page-id-2819) .buddyx-mobile-icon,
  body:not(.page-id-2819) .menu-icons-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    gap: .15rem;
  }

  body:not(.page-id-2819) .buddyx-mobile-icon {
    margin-left: auto;
  }

  body:not(.page-id-2819) .main-navigation .menu-toggle {
    margin-left: .25rem;
  }
}


/* Unified mobile navigation — River Rhythms 2.8.0 */
@media (max-width: 782px) {
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li > .dropdown,
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li > .sub-menu { display: none !important; }
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li { width: 100%; margin: 0; border-bottom: 1px dashed rgba(247, 237, 210, .28); }
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li > a { display: block; width: 100%; padding: .9rem 1rem; color: var(--rr-paper-light); font-family: var(--rr-display); font-size: 1rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  body:not(.page-id-2819):not(.bb-readylaunch-template) #menu-toggle::after { content: " Menu"; margin-left: .35rem; font-family: var(--rr-display); font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
  body.bb-readylaunch-template .rr-community-nav { display: none !important; }
  body.bb-readylaunch-template .rr-mobile-site-nav { display: block; margin: .75rem 1rem 1rem; padding: .8rem; background: rgba(247, 237, 210, .94); border: 1px solid var(--rr-line); border-top: 4px solid var(--rr-rust); }
  body.bb-readylaunch-template .rr-mobile-nav-heading { margin: 0 0 .55rem; color: var(--rr-rust-dark); font-family: var(--rr-display); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
  body.bb-readylaunch-template .rr-mobile-site-nav .rr-community-nav__list { position: static; display: grid !important; width: 100%; min-width: 0; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; grid-template-columns: 1fr; }
  body.bb-readylaunch-template .rr-mobile-site-nav .rr-community-nav__link { display: block; padding: .72rem .6rem; color: var(--rr-ink); border-bottom: 1px dashed rgba(54, 42, 25, .25); }
  body.bb-readylaunch-template .rr-mobile-site-nav li:last-child .rr-community-nav__link { border-bottom: 0; }
  body.bb-readylaunch-template .rr-mobile-community-heading { margin: .9rem 1rem .35rem; }
}


/* Mobile navigation duplicate cleanup — River Rhythms 2.8.1 */
@media (max-width: 782px) {
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li.bp-menu { display: none !important; }
  body.bb-readylaunch-template .bb-rl-left-panel .bb-rl-left-panel-menu-list li:has(> a[href*="messages"]),
  body.bb-readylaunch-template .bb-rl-left-panel .bb-rl-left-panel-menu-list li:has(> a[href*="notifications"]) { display: none !important; }
}


/* Mobile drawer contrast — River Rhythms 2.8.2 */
@media (max-width: 782px) {
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu { color: var(--rr-paper-light) !important; background: var(--rr-ink) !important; border-left: 4px solid var(--rr-teal); box-shadow: -10px 0 28px rgba(20, 14, 8, .34); }
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu .mobile-menu-heading { color: var(--rr-paper-light) !important; background: var(--rr-rust-dark); border-bottom: 3px solid var(--rr-gold); }
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu .menu-title,
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu .menu-close,
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu .buddyx-mobile-user,
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu .buddyx-mobile-user a,
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu .mobile-user-profile-menu a { color: var(--rr-paper-light) !important; }
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li > a:hover,
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li > a:focus,
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li.current-menu-item > a { color: #fff !important; background: var(--rr-teal-dark) !important; box-shadow: inset 5px 0 0 var(--rr-gold); }
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu hr { border-color: rgba(247, 237, 210, .32) !important; }
}


/* True phone-width Events Manager calendar — River Rhythms 2.8.3 */
@media (max-width: 560px) {
  .em.em-calendar { width: 100% !important; max-width: 100% !important; overflow: visible !important; }
  .em.em-calendar .em-cal-nav { width: 100% !important; grid-template-columns: minmax(0, 1fr) auto !important; gap: .35rem !important; }
  .em.em-calendar .em-cal-nav .month,
  .em.em-calendar .em-cal-nav .month form { min-width: 0 !important; width: 100% !important; }
  .em.em-calendar .em-month-picker { width: 100% !important; min-width: 0 !important; }
  .em.em-calendar .em-cal-week-days.size-large { display: none !important; }
  .em.em-calendar .em-cal-week-days.size-small,
  .em.em-calendar .em-cal-week-days.size-medium { display: grid !important; width: 100% !important; grid-template-columns: repeat(7, minmax(0, 1fr)) !important; }
  .em.em-calendar .em-cal-body { width: 100% !important; min-width: 0 !important; grid-template-columns: repeat(7, minmax(0, 1fr)) !important; grid-auto-rows: minmax(42px, auto) !important; }
  .em.em-calendar .em-cal-body > .em-cal-day { min-width: 0 !important; width: auto !important; min-height: 42px !important; padding: .2rem !important; aspect-ratio: auto !important; }
  .em.em-calendar .em-cal-day-date { font-size: .76rem !important; line-height: 1 !important; }
  .em.em-calendar .em-cal-event { max-width: 100% !important; overflow: hidden !important; font-size: 0 !important; }
  .em.em-calendar .em-cal-event::after { content: "•"; display: block; color: var(--rr-rust); font-size: 1rem; line-height: .75; text-align: center; }
}


/* Compact weekday header — River Rhythms 2.8.4 */
@media (max-width: 560px) {
  .em.em-calendar .em-cal-week-days.size-large { display: grid !important; width: 100% !important; grid-template-columns: repeat(7, minmax(0, 1fr)) !important; }
  .em.em-calendar .em-cal-week-days.size-large .em-cal-day { font-size: 0 !important; text-align: center !important; }
  .em.em-calendar .em-cal-week-days.size-large .em-cal-day::before { font-size: .72rem; font-weight: 900; }
  .em.em-calendar .em-cal-week-days.size-large .em-cal-day:nth-child(1)::before { content: "S"; }
  .em.em-calendar .em-cal-week-days.size-large .em-cal-day:nth-child(2)::before { content: "M"; }
  .em.em-calendar .em-cal-week-days.size-large .em-cal-day:nth-child(3)::before { content: "T"; }
  .em.em-calendar .em-cal-week-days.size-large .em-cal-day:nth-child(4)::before { content: "W"; }
  .em.em-calendar .em-cal-week-days.size-large .em-cal-day:nth-child(5)::before { content: "T"; }
  .em.em-calendar .em-cal-week-days.size-large .em-cal-day:nth-child(6)::before { content: "F"; }
  .em.em-calendar .em-cal-week-days.size-large .em-cal-day:nth-child(7)::before { content: "S"; }
}


/* Functional mobile menu dropdowns — River Rhythms 2.8.5 */
@media (max-width: 782px) {
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li.menu-item--toggled-on > .sub-menu { display: block !important; position: static !important; width: 100% !important; margin: 0 0 .45rem !important; padding: .35rem .45rem .5rem .85rem !important; background: rgba(247, 237, 210, .08) !important; border: 0 !important; border-left: 3px solid var(--rr-teal) !important; box-shadow: none !important; }
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li > .dropdown-toggle { display: block !important; top: .42rem !important; right: .55rem !important; color: var(--rr-paper-light) !important; background: var(--rr-rust-dark) !important; border: 1px solid var(--rr-gold) !important; }
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li.menu-item--toggled-on > .dropdown-toggle { color: var(--rr-ink) !important; background: var(--rr-gold) !important; }
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu .sub-menu li,
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu .sub-menu a { width: 100% !important; }
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu .sub-menu a { display: block !important; padding: .6rem .7rem !important; color: var(--rr-paper-light) !important; font-size: .86rem !important; font-weight: 700 !important; }
}


/* BuddyX verified mobile submenu open state — River Rhythms 2.8.6 */
@media (max-width: 782px) {
  body:not(.page-id-2819):not(.bb-readylaunch-template) .buddyx-mobile-menu #primary-menu > li.menu-item--toggled-on > ul.sub-menu.toggle-show { display: block !important; visibility: visible !important; opacity: 1 !important; }
}


/* Functional splash mobile overlay — River Rhythms 2.8.7 */
@media (max-width: 782px) {
  body.page-id-2819 .wp-block-navigation__responsive-container-open::after { content: "MENU"; margin-left: .55rem; color: var(--rr-paper-light); font-family: var(--rr-display); font-size: .82rem; font-weight: 900; letter-spacing: .1em; }
  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open { position: fixed !important; z-index: 100000 !important; inset: 0 !important; width: 100vw !important; height: 100dvh !important; min-height: 100vh !important; padding: 0 !important; color: var(--rr-paper-light) !important; background: var(--rr-ink) !important; border-top: 6px solid var(--rr-teal) !important; border-bottom: 6px solid var(--rr-rust) !important; }
  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { display: flex !important; width: 100% !important; height: 100% !important; align-items: center !important; justify-content: center !important; }
  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { display: flex !important; width: 100% !important; height: auto !important; padding: 4.5rem 1.25rem 2rem !important; align-items: stretch !important; justify-content: center !important; }
  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { display: grid !important; width: min(100%, 300px) !important; margin: 0 auto !important; padding: .7rem !important; grid-template-columns: 1fr !important; gap: .35rem !important; }
  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100% !important; }
  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block !important; width: 100% !important; padding: .72rem .8rem !important; color: var(--rr-paper-light) !important; background: rgba(247, 237, 210, .06) !important; border-left: 4px solid var(--rr-teal) !important; text-align: center !important; }
  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus { color: #fff !important; background: var(--rr-rust-dark) !important; border-left-color: var(--rr-gold) !important; }
  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { position: fixed !important; top: max(1rem, env(safe-area-inset-top)) !important; right: 1rem !important; color: var(--rr-paper-light) !important; background: var(--rr-rust-dark) !important; border: 1px solid var(--rr-gold) !important; }
}


/* Reset inherited splash-menu positioning — River Rhythms 2.8.8 */
@media (max-width: 782px) {
  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { position: fixed !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; }
  body.page-id-2819 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { position: static !important; inset: auto !important; transform: none !important; }
}


/* Welcome belongs to the splash composition — River Rhythms 2.8.9 */
@media (max-width: 782px) {
  body.page-id-2819 .bcp-floating-button { position: absolute !important; z-index: 20 !important; }
  body.page-id-2819:has(.wp-block-navigation__responsive-container.is-menu-open) .bcp-floating-button { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
}


/* Mobile Welcome entrance — River Rhythms 2.9.0
 * Desktop poster splash remains unchanged.
 */
@media (max-width: 782px) {
  body.page-id-2819 {
    min-height: 100dvh !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 50% 42%, rgba(199, 154, 72, .20), transparent 34%),
      repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px),
      linear-gradient(155deg, #201c15 0%, #11100d 56%, #25180f 100%) !important;
  }

  body.page-id-2819 article,
  body.page-id-2819 .entry-content,
  body.page-id-2819 .wp-site-blocks {
    width: 100% !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.page-id-2819 article::before {
    content: "CHATTANOOGA MUSIC SCENE";
    position: fixed;
    z-index: 12;
    top: calc(23% + env(safe-area-inset-top));
    left: 50%;
    width: min(88vw, 24rem);
    color: var(--rr-paper-light);
    font-family: var(--rr-display);
    font-size: clamp(1.65rem, 8.5vw, 2.55rem);
    font-weight: 900;
    line-height: .98;
    letter-spacing: .055em;
    text-align: center;
    text-shadow: 3px 3px 0 var(--rr-rust-dark);
    transform: translateX(-50%) rotate(-1deg);
  }

  body.page-id-2819 article::after {
    content: "Tap Welcome to turn on the scene";
    position: fixed;
    z-index: 12;
    top: calc(65% + env(safe-area-inset-top));
    left: 50%;
    width: min(86vw, 22rem);
    color: var(--rr-gold);
    font-family: var(--rr-body);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
    transform: translateX(-50%);
  }

  body.page-id-2819 .wp-block-image.alignfull,
  body.page-id-2819 .wp-block-navigation {
    display: none !important;
  }

  body.page-id-2819 .bcp-floating-button {
    position: fixed !important;
    z-index: 20 !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    min-width: 168px !important;
    min-height: 58px !important;
    padding: .85rem 1.35rem !important;
    color: var(--rr-paper-light) !important;
    background: var(--rr-rust-dark) !important;
    border: 2px solid var(--rr-gold) !important;
    border-radius: 999px !important;
    box-shadow: 0 0 0 5px rgba(199,154,72,.12), 0 12px 30px rgba(0,0,0,.4) !important;
    font-family: var(--rr-display) !important;
    font-size: 1.05rem !important;
    font-weight: 900 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    transform: translate(-50%, -50%) !important;
  }

  body.page-id-2819 .bcp-popup video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 84dvh !important;
    object-fit: contain !important;
  }

  body.page-id-2819:has(.bcp-popup.is-open) article::before,
  body.page-id-2819:has(.bcp-popup.is-open) article::after {
    opacity: 0;
    visibility: hidden;
  }
}


/* Full-width phone splash video — River Rhythms 2.9.1 */
@media (max-width: 782px) {
  body.page-id-2819 #bcp-popup-3273 .bcp-dialog {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    transform: none !important;
    background: transparent !important;
  }

  body.page-id-2819 #bcp-popup-3273 .bcp-inner,
  body.page-id-2819 #bcp-popup-3273 .bcp-content,
  body.page-id-2819 #bcp-popup-3273 .wp-block-video {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.page-id-2819 #bcp-popup-3273 video {
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
  }

  body.page-id-2819 #bcp-popup-3273 .bcp-close {
    position: fixed !important;
    z-index: 3 !important;
    top: max(.65rem, env(safe-area-inset-top)) !important;
    right: max(.65rem, env(safe-area-inset-right)) !important;
  }
}


/* Shared phone page foundation — River Rhythms 2.9.2 */
@media (max-width: 560px) {
  body:not(.page-id-2819):not(.bb-readylaunch-template) #masthead.site-header {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 62px !important;
    padding: .3rem .4rem !important;
    gap: .25rem !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) #masthead .site-branding {
    display: flex !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) #masthead .site-logo-wrapper,
  body:not(.page-id-2819):not(.bb-readylaunch-template) #masthead .site-logo-wrapper .custom-logo-link,
  body:not(.page-id-2819):not(.bb-readylaunch-template) #masthead .site-logo-wrapper .custom-logo {
    flex: 0 0 36px !important;
    width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) #masthead .site-branding-inner {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-left: .38rem !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) #masthead .site-title,
  body:not(.page-id-2819):not(.bb-readylaunch-template) #masthead .site-title a {
    margin: 0 !important;
    font-size: clamp(.88rem, 4.7vw, 1.08rem) !important;
    line-height: 1.02 !important;
    overflow-wrap: normal !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) #masthead .site-description {
    display: none !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) #site-navigation.main-navigation {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    max-width: 48% !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 0 !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) #site-navigation .buddypress-icons-wrapper,
  body:not(.page-id-2819):not(.bb-readylaunch-template) #site-navigation .menu-icons-wrapper {
    gap: .05rem !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) #site-navigation .search-icon,
  body:not(.page-id-2819):not(.bb-readylaunch-template) #site-navigation .bp-icon-wrap,
  body:not(.page-id-2819):not(.bb-readylaunch-template) #site-navigation .menu-toggle {
    min-width: 32px !important;
    min-height: 38px !important;
    padding: .45rem !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) #page > .container {
    width: calc(100% - .5rem) !important;
    max-width: none !important;
    padding-right: .35rem !important;
    padding-left: .35rem !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) .site-wrapper {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) #primary {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body:not(.page-id-2819):not(.bb-readylaunch-template) #secondary,
  body:not(.page-id-2819):not(.bb-readylaunch-template) .widget-area:not(.footer-widget-area) {
    display: none !important;
  }
}


/* Marketplace and Venue phone flow — River Rhythms 2.9.3 */
@media (max-width: 560px) {
  #classiwrapper .awpcp-classifieds-search-bar form {
    display: grid !important;
    align-items: stretch !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .45rem !important;
  }

  #classiwrapper .awpcp-classifieds-search-bar--query-field {
    min-width: 0 !important;
  }

  #classiwrapper .awpcp-classifieds-search-bar--query-field input {
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
  }

  #classiwrapper .awpcp-classifieds-search-bar--submit-button {
    width: auto !important;
  }

  #classiwrapper .awpcp-classifieds-search-bar--submit-button input {
    width: auto !important;
    min-width: 0 !important;
    height: 46px !important;
    padding: .6rem .72rem !important;
    font-size: .72rem !important;
    white-space: nowrap !important;
  }

  #classiwrapper .awpcp-classifieds-search-bar--advanced-search-link {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  #classiwrapper .awpcp-classifieds-search-bar--advanced-search-link a {
    min-height: 42px !important;
    padding: .55rem .7rem !important;
  }

  #classiwrapper .awpcp-classifieds-menu {
    display: grid !important;
    width: 100% !important;
    padding: .55rem .65rem .75rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .45rem !important;
  }

  #classiwrapper .awpcp-classifieds-menu--menu-item {
    width: 100% !important;
    margin: 0 !important;
  }

  #classiwrapper .awpcp-classifieds-menu--post-listing-menu-item {
    grid-column: 1 / -1 !important;
  }

  #classiwrapper .awpcp-classifieds-menu--menu-item-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 48px !important;
    height: 100% !important;
    padding: .55rem .45rem !important;
    font-size: .72rem !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  .em.em-view-container .em-location.em-item {
    margin-bottom: .8rem !important;
  }

  .em.em-view-container .em-location.em-item .em-item-image.has-placeholder {
    display: none !important;
  }

  .em.em-view-container .em-location.em-item .em-item-image:not(.has-placeholder) {
    width: 100% !important;
    height: 145px !important;
    min-height: 0 !important;
  }

  .em.em-view-container .em-location.em-item .em-item-image:not(.has-placeholder) img {
    width: 100% !important;
    height: 145px !important;
    object-fit: cover !important;
  }

  .em.em-view-container .em-location.em-item .em-item-info {
    width: 100% !important;
    padding: .75rem !important;
  }

  .em.em-view-container .em-location.em-item .em-item-title {
    margin: 0 0 .5rem !important;
    font-size: 1.12rem !important;
    line-height: 1.1 !important;
  }

  .em.em-view-container .em-location.em-item .em-item-meta {
    margin-bottom: .5rem !important;
    gap: .3rem !important;
  }

  .em.em-view-container .em-location.em-item .em-item-desc {
    display: -webkit-box !important;
    margin: .45rem 0 !important;
    overflow: hidden !important;
    font-size: .86rem !important;
    line-height: 1.35 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .em.em-view-container .em-location.em-item .em-item-actions {
    margin-top: .55rem !important;
  }

  .em.em-view-container .em-location.em-item .em-item-read-more {
    min-height: 42px !important;
    padding: .55rem .8rem !important;
  }
}


/* Verified phone flow corrections — River Rhythms 2.9.4 */
@media (max-width: 560px) {
  #classiwrapper .awpcp-classifieds-search-bar form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #classiwrapper .awpcp-classifieds-search-bar--query-field {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  #classiwrapper .awpcp-classifieds-search-bar--submit-button,
  #classiwrapper .awpcp-classifieds-search-bar--advanced-search-link {
    grid-column: auto !important;
    width: 100% !important;
  }

  #classiwrapper .awpcp-classifieds-search-bar--submit-button input,
  #classiwrapper .awpcp-classifieds-search-bar--advanced-search-link a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
    height: 100% !important;
    padding: .5rem .35rem !important;
    font-size: .68rem !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .em.em-view-container .em-location.em-item {
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  .em.em-view-container .em-location.em-item .em-item-info {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  .em.em-view-container .em-location.em-item .em-item-desc {
    width: 100% !important;
    max-width: none !important;
  }
}

/* BuddyBoss mobile web shell — River Rhythms 2.10.0 */
@media (max-width:782px){
 body.bb-readylaunch-template{padding-bottom:calc(66px + env(safe-area-inset-bottom))!important}
 body.bb-readylaunch-template .bb-rl-header{min-height:58px!important;background:rgba(239,224,190,.98)!important;border-bottom:3px solid var(--rr-teal)!important;box-shadow:0 3px 12px rgba(31,24,16,.16)!important}
 body.bb-readylaunch-template .bb-rl-header-container{width:100%!important;max-width:none!important;min-height:58px!important;padding-inline:max(.75rem,env(safe-area-inset-left)) max(.75rem,env(safe-area-inset-right))!important}
 body.bb-readylaunch-template .bb-rl-left-panel-mobile,body.bb-readylaunch-template .header-aside a,body.bb-readylaunch-template .header-aside button{min-width:42px!important;min-height:42px!important}
 body.bb-readylaunch-template .bb-rl-site-branding img{width:38px!important;height:38px!important;object-fit:contain!important}
 body.bb-readylaunch-template .rr-community-nav{position:fixed!important;z-index:99990!important;inset:auto 0 0!important;display:block!important;width:100%!important;height:calc(64px + env(safe-area-inset-bottom))!important;margin:0!important;padding:0 0 env(safe-area-inset-bottom)!important;background:rgba(24,45,43,.985)!important;border-top:3px solid var(--rr-gold)!important;box-shadow:0 -5px 18px rgba(20,14,8,.24)!important}
 body.bb-readylaunch-template .rr-community-nav__toggle{display:none!important}
 body.bb-readylaunch-template .rr-community-nav__list{display:grid!important;width:100%!important;height:61px!important;margin:0!important;padding:0 max(.2rem,env(safe-area-inset-right)) 0 max(.2rem,env(safe-area-inset-left))!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;list-style:none!important}
 body.bb-readylaunch-template .rr-community-nav__list li{width:100%!important;min-width:0!important;margin:0!important}
 body.bb-readylaunch-template .rr-community-nav__link{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;height:61px!important;min-width:0!important;padding:.24rem .08rem .18rem!important;color:var(--rr-paper-light)!important;border:0!important;border-radius:0!important;font-family:var(--rr-body)!important;font-size:clamp(.55rem,2.5vw,.68rem)!important;font-weight:800!important;line-height:1!important;letter-spacing:0!important;text-align:center!important;text-transform:none!important;white-space:nowrap!important}
 body.bb-readylaunch-template .rr-community-nav__link::before{display:block;margin-bottom:.2rem;color:var(--rr-gold);font-size:1.08rem;line-height:1}
 body.bb-readylaunch-template .rr-community-nav__list li:nth-child(1) .rr-community-nav__link::before{content:"♪"}
 body.bb-readylaunch-template .rr-community-nav__list li:nth-child(2) .rr-community-nav__link::before{content:"◫"}
 body.bb-readylaunch-template .rr-community-nav__list li:nth-child(3) .rr-community-nav__link::before{content:"♬"}
 body.bb-readylaunch-template .rr-community-nav__list li:nth-child(4) .rr-community-nav__link::before{content:"⌂"}
 body.bb-readylaunch-template .rr-community-nav__list li:nth-child(5) .rr-community-nav__link::before{content:"◆"}
 body.bb-readylaunch-template .rr-community-nav__link:hover,body.bb-readylaunch-template .rr-community-nav__link:focus,body.bb-readylaunch-template .rr-community-nav__link[aria-current="page"]{color:#fff!important;background:var(--rr-rust-dark)!important;outline:none!important}
 body.bb-readylaunch-template #primary,body.bb-readylaunch-template #primary>.bb-rl-container{width:100%!important;max-width:none!important}
 body.bb-readylaunch-template .bb-readylaunch-mobile-menu__wrap{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}
 body.bb-readylaunch-template .bb-rl-main-nav a,body.bb-readylaunch-template .bb-readylaunch-mobile-menu__wrap a,body.bb-readylaunch-template button,body.bb-readylaunch-template .button{min-height:42px}
}
@media (max-width:360px){body.bb-readylaunch-template .rr-community-nav__link{font-size:.52rem!important}}

/* Anchor the mobile app bar inside its fixed shell — River Rhythms 2.10.1 */
@media (max-width:782px){
 body.bb-readylaunch-template .rr-community-nav>#rr-community-nav-list{position:static!important;inset:auto!important;transform:none!important}
}

/* Keep bottom-bar targets inside the phone viewport — River Rhythms 2.10.2 */
@media (max-width:782px){
 body.bb-readylaunch-template .rr-community-nav__link{height:57px!important}
}



/* Native ReadyLaunch phone composition — River Rhythms 2.16.0. */
@media (max-width: 782px) {
	body.bb-readylaunch-template {
		padding-bottom: 72px;
	}

	body.bb-readylaunch-template .bb-rl-header {
		padding: 8px 10px;
	}

	body.bb-readylaunch-template .bb-rl-header-container {
		min-height: 52px;
	}

	body.bb-readylaunch-template .bb-readylaunch .site-main > .bb-rl-container {
		width: 100%;
		padding-inline: 8px;
	}

	body.bb-readylaunch-template .rr-readylaunch-page-content {
		padding: 12px 0 80px;
	}

	body.bb-readylaunch-template .rr-readylaunch-page-header {
		margin-bottom: 16px;
		padding-bottom: 10px;
	}

	body.bb-readylaunch-template .rr-readylaunch-page-title {
		font-size: clamp(1.85rem, 9vw, 2.15rem);
		line-height: 1.05;
		overflow-wrap: normal;
		word-break: normal;
		hyphens: none;
	}

	body.page-id-12 .rr-readylaunch-page-header {
		display: none;
	}

	body.page-id-2 .scene-hero {
		padding: 24px 18px;
	}

	body.page-id-2 .scene-hero-title {
		font-size: clamp(1.62rem, 8.6vw, 1.9rem);
		line-height: 1.02;
		letter-spacing: .015em;
		overflow-wrap: normal;
		word-break: normal;
		hyphens: none;
	}

	body.page-id-12 .rr-readylaunch-entry-content h1,
	body.page-id-12 .rr-readylaunch-entry-content h2 {
		font-size: clamp(1.65rem, 8.5vw, 2rem);
		line-height: 1.05;
		overflow-wrap: normal;
		word-break: normal;
		hyphens: none;
	}

	body.bb-readylaunch-template #classiwrapper,
	body.bb-readylaunch-template .em.pixelbones {
		width: 100%;
		max-width: 100%;
	}

	body.bb-readylaunch-template #classiwrapper button,
	body.bb-readylaunch-template #classiwrapper input[type="submit"],
	body.bb-readylaunch-template .rr-readylaunch-entry-content .wp-element-button {
		min-height: 44px;
	}

	body.bb-readylaunch-template .rr-community-nav {
		height: 62px;
		border-top-width: 3px;
		box-shadow: 0 -5px 18px rgba(24, 18, 11, .18);
	}

	body.bb-readylaunch-template .rr-community-nav__list,
	body.bb-readylaunch-template .rr-community-nav__list > li,
	body.bb-readylaunch-template .rr-community-nav__link {
		min-height: 59px;
	}

	body.bb-readylaunch-template .rr-community-nav__link {
		padding-block: 8px 6px;
		font-size: .64rem;
		line-height: 1.1;
	}
}


@media (max-width: 782px) {
	body.bb-readylaunch-template.bb-mobile-menu-open .rr-community-nav {
		display: none !important;
	}
}


/* Keep BuddyBoss community and account navigation visible inside its phone drawer. */
@media (max-width: 782px) {
  body.bb-readylaunch-template .bb-readylaunch-mobile-menu__wrap .bb-rl-left-panel {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border-right: 0 !important;
  }
}


/* Events Manager owns event and venue management at every screen width. */
.rr-em-page-entry:not([hidden]) {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 1rem;
}

.rr-em-page-entry__link {
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

@media (max-width: 782px) {
  .rr-em-page-entry:not([hidden]) {
    justify-content: stretch;
  }

  .rr-em-page-entry__link {
    width: 100%;
  }
}
