/* Formant Hall — authentic oneMusic / demo 22817 stack + content helpers */
@import url("onemusic.css");

:root {
  --accent: #12687d;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --ui: "Cormorant SC", serif;
  --body: "Edu QLD Beginner", cursive;
  --paper: #000000;
  --line: #333333;
  /* Match Bootstrap .container so page-hero / breadcrumb title and body share one content width */
  --fh-content: 1140px;
}

/* Inner page hero (breadcrumb title panel) aligns to the same content width as .container */
.breadcumb-area .bradcumbContent {
  width: min(var(--fh-content), calc(100% - 30px)) !important;
  max-width: var(--fh-content);
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
}
@media (max-width: 1199.98px) {
  .breadcumb-area .bradcumbContent { --fh-content: 960px; }
}
@media (max-width: 991.98px) {
  .breadcumb-area .bradcumbContent { --fh-content: 720px; }
}
@media (max-width: 767.98px) {
  .breadcumb-area .bradcumbContent {
    width: calc(100% - 60px) !important;
    max-width: none;
  }
}

/* Body copy / legal / essays share the same horizontal frame as .container */
.header-area .classy-nav-container > .container,
main .container,
footer.footer-area > .container,
.hero-area .container {
  max-width: var(--fh-content);
}
@media (max-width: 1199.98px) {
  .header-area .classy-nav-container > .container,
  main .container,
  footer.footer-area > .container,
  .hero-area .container { max-width: 960px; }
}
@media (max-width: 991.98px) {
  .header-area .classy-nav-container > .container,
  main .container,
  footer.footer-area > .container,
  .hero-area .container { max-width: 720px; }
}

.prose-wide {
  max-width: none !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: #fff;
}
.album-thumb img,
.single-album img,
.thumbnail img,
.featured-artist-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fresh on the desk: fewer cards per row */
.fh-fresh-grid > [class*="col-"] {
  margin-bottom: 1.75rem;
}
@media (min-width: 992px) {
  .fh-fresh-grid .single-album-area .album-thumb img {
    min-height: 220px;
  }
}
.oneMusic-buy-now-area .container-fluid {
  max-width: var(--fh-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
@media (max-width: 1199.98px) {
  .oneMusic-buy-now-area .container-fluid { max-width: 960px; }
}
@media (max-width: 991.98px) {
  .oneMusic-buy-now-area .container-fluid { max-width: 720px; }
}

/* Brand wordmark beside logo */
.nav-brand.fh-word {
  max-width: none !important;
  flex: 0 0 auto;
  font-family: "Cormorant SC", serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-brand.fh-word img { max-height: 36px; width: auto; border-radius: 4px; }

/* Mobile header + full-screen menu (do not rely only on .breakpoint-on) */
@media (max-width: 991px) {
  html,
  body {
    overflow-x: hidden;
  }
  .header-area {
    z-index: 10060 !important;
  }
  .header-area .oneMusic-main-menu,
  .header-area .sticky-wrapper,
  .header-area .sticky-wrapper.is-sticky,
  .header-area .is-sticky .oneMusic-main-menu {
    overflow: visible !important;
  }
  .header-area .classy-navbar {
    padding: 0 4px !important;
    height: 70px !important;
  }
  .header-area .nav-brand.fh-word {
    font-size: 15px !important;
    max-width: calc(100% - 56px) !important;
    margin-right: 0 !important;
  }
  .header-area .nav-brand.fh-word img {
    max-height: 28px !important;
  }

  /* Always show hamburger on small screens (covered by panel when open) */
  .header-area .classy-navbar-toggler {
    display: block !important;
    margin-left: auto !important;
    z-index: 1 !important;
    position: relative;
  }
  .header-area .classy-navbar-toggler .navbarToggler span {
    background-color: #fff !important;
  }
  /* Hide hamburger X while the panel close icon is visible */
  .header-area .classy-navbar:has(.classy-menu.menu-on) .classy-navbar-toggler {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Full-screen off-canvas panel */
  .header-area .classy-navbar .classy-menu,
  .header-area .breakpoint-on .classy-navbar .classy-menu,
  .header-area .breakpoint-off .classy-navbar .classy-menu {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 1.25rem 2rem !important;
    background: #000 !important;
    box-shadow: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 10065 !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s ease !important;
    visibility: hidden;
    pointer-events: none;
  }
  .header-area .classy-navbar .classy-menu.menu-on,
  .header-area .breakpoint-on .classy-navbar .classy-menu.menu-on,
  .header-area .breakpoint-off .classy-navbar .classy-menu.menu-on {
    transform: translateX(0) !important;
    visibility: visible;
    pointer-events: auto;
  }

  /* Single close control inside the panel */
  .header-area .classycloseIcon {
    display: block !important;
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 10066 !important;
  }
  .header-area .classycloseIcon .cross-wrap span {
    background: #fff !important;
  }

  .header-area .classynav {
    display: block !important;
    width: 100% !important;
    padding-top: 72px !important;
    flex-direction: column !important;
  }
  .header-area .classynav > ul {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header-area .classynav ul li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
  }
  .header-area .classynav ul li a,
  .header-area .classynav > ul > li > a,
  .header-area .oneMusic-main-menu .classy-navbar .classynav ul li a {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
    height: auto !important;
    min-height: 52px !important;
    line-height: 1.3 !important;
    padding: 16px 4px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: left !important;
  }
  .header-area .classynav ul li a:hover,
  .header-area .classynav ul li a:focus {
    color: #7ec8d8 !important;
    background: transparent !important;
  }

  .header-area .login-register-cart-button,
  .header-area .oneMusic-main-menu .login-register-cart-button {
    display: block !important;
    width: 100% !important;
    margin: 1.5rem 0 0 !important;
    float: none !important;
  }
  .header-area .login-register-btn {
    margin: 0 !important;
  }
  .header-area .login-register-btn a,
  .header-area .oneMusic-main-menu .login-register-cart-button .login-register-btn a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    padding: 14px 18px !important;
    height: auto !important;
    line-height: 1.3 !important;
    font-size: 16px !important;
    color: #fff !important;
    box-sizing: border-box !important;
  }
  .header-area .login-register-btn a:hover,
  .header-area .login-register-btn a:focus {
    background: #12687d !important;
    border-color: #12687d !important;
    color: #fff !important;
  }

  body.fh-nav-lock {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none;
  }
}

/* Keep primary nav on one line; fix hover / dropdown */
@media (min-width: 992px) {
  .header-area .oneMusic-main-menu .classy-navbar {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }
  .header-area .oneMusic-main-menu .classynav > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    white-space: nowrap;
  }
  .header-area .oneMusic-main-menu .classy-navbar .classynav ul li a {
    padding: 0 10px !important;
    font-size: 14px !important;
    letter-spacing: 0.02em;
    background: transparent !important;
    border-bottom: none !important;
  }
  .header-area .oneMusic-main-menu .classy-navbar .classynav ul li a:hover,
  .header-area .oneMusic-main-menu .classy-navbar .classynav ul li a:focus {
    color: #12687d !important;
    background: transparent !important;
  }
  /* Keep any future dropdown anchored to its li, never the full header */
  .header-area .oneMusic-main-menu .classynav ul li.has-down,
  .header-area .oneMusic-main-menu .classynav ul li.cn-dropdown-item {
    position: relative !important;
  }
  .header-area .oneMusic-main-menu .classy-navbar .classynav ul li ul.dropdown {
    left: auto !important;
    right: 0 !important;
    background: #000 !important;
    border: 1px solid rgba(255,255,255,0.12);
    min-width: 160px;
    padding: 8px 0;
  }
  .header-area .oneMusic-main-menu .login-register-cart-button {
    margin-left: 8px;
    flex: 0 0 auto;
  }
  .header-area .oneMusic-main-menu .login-register-cart-button .login-register-btn {
    margin-right: 0 !important;
  }
  .header-area .oneMusic-main-menu .login-register-cart-button .login-register-btn a {
    font-size: 14px !important;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.45);
  }
  .header-area .oneMusic-main-menu .login-register-cart-button .login-register-btn a:hover {
    background: #12687d !important;
    border-color: #12687d !important;
    color: #fff !important;
  }
}
.cart-btn { display: none !important; }

/* Full-card album links */
a.single-album-area,
a.single-album {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.single-album-area:hover,
a.single-album:hover {
  color: inherit;
}
a.single-album-area .album-info h5,
a.single-album .album-info h5 {
  transition: color 0.35s ease;
}
a.single-album-area:hover .album-info h5,
a.single-album:hover .album-info h5 {
  color: #12687d;
}

/* Hall / journal card grids */
.hall-feature-strip {
  background: #111;
  border: 1px solid #333;
  padding: 28px 24px;
  height: 100%;
}
.hall-feature-strip h4 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  margin-bottom: 12px;
}
.hall-feature-strip p { margin-bottom: 0; color: rgba(255,255,255,0.75); }
.hall-note-grid .single-album-area { margin-bottom: 30px; }
.bg-wash { background: #0a0a0a !important; }

/* About / desk pages: left-aligned headings inside split layouts */
.section-heading.style-2.text-left {
  text-align: left !important;
  margin-bottom: 2rem;
}
.about-visual {
  min-height: 380px;
  background-position: center;
  background-size: cover;
}
@media (max-width: 991.98px) {
  .about-visual { min-height: 260px; }
}

/* Sticky header hover stay readable */
.header-area .is-sticky .oneMusic-main-menu .classy-navbar .classynav ul li a:hover,
.header-area .is-sticky .oneMusic-main-menu .classy-navbar .classynav ul li a:focus {
  color: #12687d !important;
}

/* Owl album anchors */
.albums-slideshow a.single-album {
  display: block;
}
.albums-slideshow a.single-album:hover {
  background-color: #12687d;
}

/* Essay / long-form reading on dark template */
.fh-essay-area { color: #fff; }
.fh-essay-area .essay-answer {
  border-left: 3px solid #12687d;
  padding-left: 1rem;
  margin: 0 0 2rem;
  font-family: "Edu QLD Beginner", cursive;
  font-size: 18px;
  line-height: 1.9;
  color: #fff;
}
.fh-essay-area .essay-review {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(18,104,125,0.45);
  background: rgba(18,104,125,0.12);
  font-family: "Edu QLD Beginner", cursive;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}
.fh-essay-area .essay-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
  font-family: "Cormorant SC", serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.fh-essay-area .essay-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.fh-essay-area .essay-body p {
  color: #fff;
  max-width: none !important;
  width: 100%;
}
.fh-essay-area .term-box,
.fh-essay-area .source-box {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #111;
  border-top: 3px solid #12687d;
}
.fh-essay-area .term-box h3,
.fh-essay-area .source-box h3 {
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fff;
}
.fh-essay-area .term-box dt { color: #fff; margin-top: 0.75rem; font-family: "Cormorant SC", serif; }
.fh-essay-area .term-box dd { color: rgba(255,255,255,0.75); margin: 0.25rem 0 0; font-family: "Edu QLD Beginner", cursive; }
.fh-essay-area .source-box ol { list-style: decimal; padding-left: 1.25rem; }
.fh-essay-area .source-box li { color: rgba(255,255,255,0.75); margin-bottom: 0.5rem; font-family: "Edu QLD Beginner", cursive; }
.fh-essay-area .source-box a { color: #7ec8d8; font-weight: 700; }

.layout-split .split-aside {
  background: #111;
  border-left: 4px solid #12687d;
  padding: 1.75rem;
  height: 100%;
}
.layout-rail .rail-mark {
  font-size: 4rem;
  line-height: 1;
  color: #12687d;
  opacity: 0.45;
  font-family: "Cormorant SC", serif;
}
.layout-stack .stack-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #333;
}
.layout-stack .stack-item .idx {
  font-family: "Cormorant SC", serif;
  font-size: 2rem;
  color: #12687d;
}
.layout-mosaic .mosaic-tile {
  background: #111;
  padding: 1.75rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid #333;
  transition: background 0.5s ease, border-color 0.5s ease;
}
.layout-mosaic .mosaic-tile:hover {
  background: #12687d;
  border-color: #12687d;
}
.layout-mosaic .mosaic-tile h3 { color: #fff; text-transform: uppercase; font-size: 1.1rem; }
.layout-mosaic .mosaic-tile p { color: rgba(255,255,255,0.8); margin: 0; }

.journal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.journal-filters button {
  font-family: "Cormorant SC", serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 0.55rem 1rem;
  min-height: 44px;
}
.journal-filters button.is-on,
.journal-filters button:hover {
  background: #12687d;
  border-color: #12687d;
}
.journal-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid #333;
}
.journal-row .code { color: #12687d; font-family: "Cormorant SC", serif; font-size: 1.1rem; }
.journal-row h3 { font-size: 1.15rem; margin: 0; }
.journal-row .hall { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
@media (max-width: 575.98px) {
  .journal-row { grid-template-columns: 1fr; gap: 0.35rem; }
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100000;
  background: #12687d; color: #fff; padding: 0.65rem 1rem;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.stat-row .stat { border-top: 3px solid #12687d; padding-top: 0.85rem; }
.stat-row b { display: block; font-family: "Cormorant SC", serif; font-size: 2rem; color: #fff; }
.stat-row span { font-family: "Edu QLD Beginner", cursive; color: rgba(255,255,255,0.65); }

.form-ok { display: none; color: #9fe0c8; margin-top: 1rem; }
.form-ok.is-show { display: block; }

/* Alias leftover helper class to template button */
.fh-btn {
  background-color: #fff;
  transition-duration: 500ms;
  display: inline-block;
  min-width: 212px;
  height: 49px;
  color: #000 !important;
  border: 1px solid #000;
  border-radius: 0;
  padding: 0 30px;
  font-size: 16px;
  line-height: 47px;
  font-weight: 700;
  text-align: center;
  text-transform: capitalize;
}
.fh-btn:hover,
.fh-btn:focus {
  background-color: #12687d;
  color: #fff !important;
}
