/* Chattanooga Music Scene: native WordPress Venues page 622.
 * This stylesheet intentionally preserves Events Manager List/Grid/Map modes.
 */
body.page-id-622.bb-readylaunch-template .rr-readylaunch-page-header {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 1370px);
  max-width: 1370px;
  margin: .6rem auto 1.2rem;
  padding: clamp(1.1rem,2.3vw,2rem) clamp(1.2rem,2.5vw,2.3rem);
  border: 1px solid rgba(239,197,123,.55);
  border-left: 7px solid #bd8a4b;
  border-bottom: 4px solid #d5a769;
  border-radius: 11px;
  background:
    radial-gradient(circle at 90% 12%,rgba(241,190,102,.23),transparent 31%),
    repeating-linear-gradient(117deg,transparent 0,transparent 42px,rgba(251,224,182,.035) 44px,transparent 46px),
    linear-gradient(108deg,#103b32 0%,#245b4c 68%,#397a67 100%);
  box-shadow: 0 15px 29px rgba(30,49,36,.14);
}
body.page-id-622.bb-readylaunch-template .rr-readylaunch-page-title {
  max-width: none;
  color: #fffaf0;
  margin: 0;
  font: 750 clamp(2.3rem,3.8vw,4rem)/1.08 Georgia,serif;
  letter-spacing: -.035em;
  text-shadow: none;
}
body.page-id-622.bb-readylaunch-template .rr-readylaunch-page-content {
  width: min(100%, 1370px);
  max-width: 1370px;
  margin-inline: auto;
}
body.page-id-622 #em-wrapper {
  width: 100%;
  max-width: 1370px;
  margin-inline: auto;
}
body.page-id-622 #em-wrapper > h6 {
  margin: .45rem 0 .4rem;
  color: #204b3e;
  font: 750 clamp(1.35rem,1.7vw,1.8rem)/1.26 Georgia,serif;
  letter-spacing: -.02em;
}
body.page-id-622 #em-wrapper > p {
  max-width: 86ch;
  margin: 0 0 1.45rem;
  color: #46483d;
  font-size: clamp(.96rem,1.1vw,1.1rem);
  line-height: 1.67;
}
/* Search and view controls remain fully owned by Events Manager. */
body.page-id-622 #em-wrapper .em-locations-search {
  box-sizing: border-box;
  width: 100%;
  margin: .65rem 0 1.5rem;
  padding: .75rem clamp(.65rem,1.4vw,1.25rem);
  border: 1px solid #d5c6a6;
  border-top: 4px solid #b9945a;
  border-radius: 9px;
  background: linear-gradient(120deg,#fffaf0,#f5ebd6);
  box-shadow: 0 8px 22px rgba(49,40,26,.08);
}
body.page-id-622 #em-wrapper .em-search-main-bar {
  gap: .5rem;
}
body.page-id-622 #em-wrapper .em-search-text input {
  box-sizing: border-box;
  min-height: 44px;
  background: #fffefa;
  border: 1px solid #baae95;
  border-radius: 6px;
  color: #194a3f;
  font-size: 1rem;
}
body.page-id-622 #em-wrapper .em-search-main-bar button {
  min-height: 40px;
  color: #1f594c;
}
body.page-id-622 #em-wrapper .em-search-main-bar button:is(:hover,:focus-visible) {
  color: #99432d;
}
body.page-id-622 #em-wrapper .em-search-submit button,
body.page-id-622 #em-wrapper button.em-search-submit,
body.page-id-622 #em-wrapper input.em-search-submit {
  min-height: 44px;
  border-radius: 5px;
  background: #205e50;
  color: #fff9ed;
  font-weight: 800;
}
body.page-id-622 #em-wrapper :is(a,button,input,select):focus-visible {
  outline: 3px solid #bb7740;
  outline-offset: 2px;
}
/* Native LIST view: a polished, readable horizontal venue card. */
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-locations-list {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: clamp(.9rem,1.5vw,1.3rem);
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
  background: transparent;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-location.em-item {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(200px,27%) minmax(0,1fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
  min-height: 220px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d9ceb8;
  border-radius: 11px;
  background: #fffbf1;
  box-shadow: 0 10px 27px rgba(52,42,26,.1);
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-image {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg,#e4dbc5,#d9e3d8);
  border-right: 4px solid #c89d5e;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-image a {
  display: block;
  width: 100%;
  height: 100%;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 270px;
  object-fit: contain !important;
  object-position: center !important;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-image.has-placeholder {
  position: relative;
  background:
    radial-gradient(circle at 18% 13%,rgba(233,188,110,.38),transparent 31%),
    repeating-linear-gradient(90deg,rgba(15,49,40,.13) 0,rgba(15,49,40,.13) 18px,transparent 18px,transparent 38px),
    linear-gradient(120deg,#194b40,#316b5b);
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-image.has-placeholder::before {
  content: "♫";
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%,-50%);
  color: #f5dfb6;
  font: 750 4.5rem/1 Georgia,serif;
  text-shadow: 0 4px 15px #122e2b;
  pointer-events: none;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-image.has-placeholder::after {
  content: "LOCAL VENUES";
  position: absolute;
  bottom: 1.05rem;
  left: 0;
  right: 0;
  text-align: center;
  font: 800 .65rem/1.3 system-ui,sans-serif;
  letter-spacing: .14em;
  color: #efdbb8;
  pointer-events: none;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-info {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(1rem,1.7vw,1.75rem);
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-title {
  margin: 0;
  font: 750 clamp(1.45rem,1.85vw,2.05rem)/1.2 Georgia,serif;
  letter-spacing: -.016em;
  text-wrap: balance;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-title a {
  color: #1b5749;
  text-decoration: none;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-title a:is(:hover,:focus-visible) {
  color: #98402d;
  text-decoration: underline;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem clamp(1rem,2.2vw,2rem);
  align-items: start;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-location-address {
  color: #525243;
  font-size: .89rem;
  line-height: 1.4;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-location-no-events {
  padding: .4rem .7rem;
  color: #695844;
  background: #f4eddf;
  border: 0;
  border-left: 3px solid #c89c5a;
  font-size: .81rem;
  border-radius: 4px;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-desc {
  max-width: 79ch;
  margin: .05rem 0 0;
  color: #45483e;
  font-size: .95rem;
  line-height: 1.64;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-actions {
  margin-top: auto;
  padding-top: .35rem;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .5rem 1.2rem;
  background: #205f4f;
  color: #fff9ea;
  border: 1px solid #174e42;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-read-more:is(:hover,:focus-visible) {
  background: #a14831;
  border-color: #913825;
}
/* Other Events Manager view modes remain managed by their own templates.
   Address formatter affects text only and is safe for dynamic results. */
body.page-id-622 #em-wrapper .cms-location-address-compact {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  line-height: 1.4;
}
body.page-id-622 #em-wrapper .cms-location-address-compact .cms-location-street {
  font-weight: 700;
  color: #244f42;
}
body.page-id-622 #em-wrapper .cms-location-address-compact .cms-location-city {
  font-size: .85rem;
  color: #6c6757;
}
@media (max-width: 800px) {
  body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-location.em-item {
    grid-template-columns: minmax(0,1fr);
  }
  body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-image {
    height: clamp(210px,41vw,285px);
    min-height: 0;
    border-right: 0;
    border-bottom: 4px solid #c89d5e;
  }
}
@media (max-width: 600px) {
  body.page-id-622.bb-readylaunch-template .rr-readylaunch-page-header {
    padding: 1.1rem;
  }
  body.page-id-622.bb-readylaunch-template .rr-readylaunch-page-title {
    font-size: 2.2rem;
  }
  body.page-id-622 #em-wrapper .em-locations-search {
    padding: .6rem;
  }
  body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-info {
    padding: 1.15rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-id-622 #em-wrapper .em-location.em-item {scroll-behavior:auto;}
}

/* Events Manager includes opinionated button/link colors. Use the page's
 * music editorial colors without affecting its native control behavior. */
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-title a {
  color: #1c584a !important;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) .em-item-title a:is(:hover,:focus-visible) {
  color: #9c462d !important;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) a.em-item-read-more.button {
  color: #fffaf0 !important;
  background: #215f4f !important;
  border: 1px solid #185044 !important;
  border-radius: 5px !important;
  text-transform: none;
  box-shadow: none !important;
}
body.page-id-622 #em-wrapper .em-view-container:is([data-view="location-list"],[data-view="list"]) a.em-item-read-more.button:is(:hover,:focus-visible) {
  background: #9c462d !important;
  border-color: #843c28 !important;
}
body.page-id-622 #em-wrapper .em-locations-search button[type="submit"],
body.page-id-622 #em-wrapper .em-locations-search .em-search-submit button,
body.page-id-622 #em-wrapper .em-locations-search button.em-search-submit {
  color: #fff9ea !important;
  background: #215f4f !important;
  border-color: #174f42 !important;
}
body.page-id-622 #em-wrapper .em-locations-search button[type="submit"]:is(:hover,:focus-visible) {
  background: #9c462d !important;
}

/* Native Events Manager GRID selection, not the separate /venues/ archive.
   Preserve the three-way List/Grid/Map controller and its AJAX results. */
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-locations-grid.em-grid {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  align-items: stretch;
  gap: clamp(1rem,1.65vw,1.65rem) !important;
  margin: 0 0 2rem;
  width: 100%;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-location.em-item {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #fffbf1;
  border: 1px solid #d7ceb7;
  border-radius: 10px;
  box-shadow: 0 10px 27px rgba(47,35,22,.10);
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-item-image {
  width: 100%;
  height: clamp(165px,18vw,225px);
  min-width: 0;
  margin: 0;
  background: linear-gradient(120deg,#e6e0d1,#dce5dc);
  border-bottom: 4px solid #c89c5c;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-item-image > a {
  width: 100%;
  height: 100%;
  display: block;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-item-image.has-placeholder {
  position: relative;
  background:
    radial-gradient(circle at 15% 10%,rgba(234,184,104,.32),transparent 30%),
    repeating-linear-gradient(90deg,rgba(4,38,33,.16) 0,rgba(4,38,33,.16) 20px,transparent 20px,transparent 40px),
    linear-gradient(115deg,#19483d,#357260);
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-item-image.has-placeholder::after {
  content: "♫";
  position: absolute;
  top: 47%;left: 50%;
  transform: translate(-50%,-50%);
  color: #f5dfb8;
  font: 750 3.5rem/1 Georgia,serif;
  text-shadow: 0 5px 15px #13332c;
  pointer-events: none;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-item-info {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: clamp(1rem,1.4vw,1.45rem);
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-item-title {
  margin: 0;
  font: 750 clamp(1.2rem,1.5vw,1.6rem)/1.22 Georgia,serif;
  letter-spacing: -.01em;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-item-title a {
  color: #1e5748 !important;
  text-decoration: none;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-item-title a:is(:hover,:focus-visible) {
  color: #9b432c !important;
  text-decoration: underline;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-item-desc {
  font-size: .91rem;
  line-height: 1.55;
  color: #4b4b40;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-item-actions {
  margin-top: auto;
  padding-top: .5rem;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] a.em-item-read-more {
  display: inline-flex;
  box-sizing: border-box;
  width: 160px;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #fff9eb !important;
  background: #215f4f !important;
  border: 1px solid #184c40 !important;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 800;
}
body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] a.em-item-read-more:is(:hover,:focus-visible) {
  background: #9b442e !important;
}
/* Keep the same three-column desktop cadence as site editorial cards. */
@media (min-width: 800px) and (max-width: 1199px) {
  body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-locations-grid.em-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width: 799px) {
  body.page-id-622 #em-wrapper .em-view-container[data-view="grid"] .em-locations-grid.em-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
}
