/* =========================================
ACOUSTIC ARCHIVE – CLEAN DARK UI (STABLE)
========================================= */

/* RESET */
* {
  box-sizing: border-box;
}

html,
body {
  background: #000 !important;
  color: #d0d0d0 !important;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

/* MAIN BACKGROUND */
body,
.site,
.site-grid,
.site-body,
.wrapper,
main,
.container-component,
.container-header,
.container-footer {
  background: #000 !important;
}

/* =========================================
TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #fff !important;
  font-weight: 700;
}

p,
li {
  color: #cfcfcf !important;
  line-height: 1.6;
}

/* LINKS */
a {
  color: #ff7a00 !important;
  text-decoration: none;
}

/* =========================================
HEADER
========================================= */

header,
.container-header {
  background: #000 !important;
  border: none !important;
  box-shadow: none !important;
}

/* =========================================
TOP MENU
========================================= */

.aa-members-strip {
  overflow: hidden;
  background: #0a0a0a;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.aa-menu {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: nowrap;
}

.aa-ms-item {
  flex: 0 0 auto;
  white-space: nowrap;
  background: #121212;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff !important;
}

/* =========================================
ARCHIVE BUTTON
========================================= */

.aa-archive-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 122, 0, 0.12);
  border: 1px solid rgba(255, 122, 0, 0.35);
  color: #ff7a00;

  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;

  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}

.aa-archive-info-btn:hover {
  background: rgba(255, 122, 0, 0.18);
  transform: translateY(-1px);
}

/* =========================================
ARCHIVE PANEL
========================================= */

.aa-archive-panel {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.aa-archive-panel.active {
  display: flex;
}

.aa-archive-panel-inner {
  width: 100%;
  max-width: 760px;
  background: #121212;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.aa-archive-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* =========================================
LATEST ITEMS
========================================= */

.aa-latest-item {
  position: relative;
  display: inline-flex;
  align-items: center;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  color: #fff !important;
  white-space: nowrap;

  transition: 0.2s ease;
}

.aa-latest-item:hover {
  background: rgba(255, 122, 0, 0.10);
  border-color: rgba(255, 122, 0, 0.35);
  transform: translateY(-1px);
}

.aa-latest-item::after {
  content: "NEW";
  position: absolute;

  top: -8px;
  right: -8px;

  font-size: 9px;
  font-weight: 700;

  background: #ff7a00;
  color: #000;

  padding: 3px 6px;
  border-radius: 999px;

  letter-spacing: 0.5px;
}

.latestnews li a::before {
  display: none !important;
}

/* =========================================
LESSON CARD
========================================= */

.aa-lesson-card {
  background: #111;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* =========================================
BACK TO TOP
========================================= */

#backToTop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(18,18,18,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  z-index: 9999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

/* =========================================
TITLE BOX
========================================= */

.title-box {
  position: relative;

  padding: 22px 20px;
  margin-bottom: 10px !important;

  border-radius: 14px;

  background: linear-gradient(
    135deg,
    rgba(255,122,0,0.10),
    rgba(0,0,0,0.6)
  );

  border: 1px solid rgba(255,122,0,0.35);

  overflow: hidden;
}

.title-box::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at top left,
    rgba(255,122,0,0.25),
    transparent 60%
  );

  opacity: 0.7;
  pointer-events: none;
}

.title-tag {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff7a00;
  margin-bottom: 6px;
  opacity: 0.9;
}

.title-box h1 {
  font-family: "Anton", sans-serif;
  font-size: 34px;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 18px rgba(255,122,0,0.25);
}

.title-sub {
  display: inline-block;
  margin-top: 6px;

  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: #ff7a00;
  background: rgba(255, 122, 0, 0.10);

  padding: 4px 10px;
  border-radius: 999px;

  border: 1px solid rgba(255, 122, 0, 0.25);
}

/* =========================================
REMOVE JOOMLA ARTICLE GAPS
========================================= */

.com-content-article__body > * {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.page-header,
.page-header h1 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* =========================================
LESSON LAYOUT
========================================= */

.lesson {
  padding-top: 10px;
}

.lesson h1 {
  margin: 0 !important;
  padding: 0 !important;
}

.lesson .title-box h1 {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1;
}

.meta {
  margin-top: 6px !important;
  margin-bottom: 10px !important;
}

/* =========================================
ACOUSTIC ARCHIVE – SONG LESSON PAGE
========================================= */

.aa-song-page {
  max-width: 980px;
  margin: 0 auto;
  color: #d7d7d7;
  line-height: 1.7;
}

/* HERO */

.aa-song-hero {
  position: relative;

  width: 100%;
  max-width: 100%;

  margin: 0 0 26px 0;

  padding: 0;

  border: 0;
  border-radius: 0;
  background: transparent;
}

.aa-song-label {
  margin: 0 0 8px;

  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: #7f7f7f;
}

.aa-song-title {
  margin: 0;

  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;

  font-weight: 700;
  letter-spacing: -1px;

  color: #ffffff !important;
}

.aa-song-artist {
  margin-top: 8px;

  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  color: #9a9a9a;
}

/* SECTIONS */

.aa-preview-section,
.aa-about-section,
.aa-member-access {
  margin-bottom: 50px;
}

.aa-section-title {
  margin: 0 0 12px;

  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;

  color: #ffffff !important;
}

.aa-preview-text,
.aa-member-text {
  margin-bottom: 18px;
  color: #b8b8b8 !important;
}

/* VIDEO */

.aa-video {
  position: relative;

  width: 82%;
  margin: 22px auto 0;

  padding-bottom: 46%;

  overflow: hidden;
}

.aa-video iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
  border-radius: 14px;

  display: block;
}

/* ABOUT */

.aa-about-section p {
  margin-bottom: 18px;

  font-size: 17px;
  color: #cfcfcf !important;
}

.aa-about-section em {
  color: #ffffff;
}

/* MEMBER ACCESS */

.aa-member-access {
  padding: 28px;

  border-radius: 18px;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}

.aa-member-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 22px;
}

.aa-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 170px;

  padding: 14px 24px;

  border-radius: 12px;

  text-decoration: none !important;
  font-weight: 600;

  transition: all 0.25s ease;
}

.aa-btn-primary {
  background: #ffffff;
  color: #000000 !important;
}

.aa-btn-primary:hover {
  transform: translateY(-2px);
}

.aa-btn-secondary {
  background: transparent;

  color: #ffffff !important;

  border: 1px solid rgba(255,255,255,0.18);
}

.aa-btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

/* MOBILE */

@media (max-width: 768px) {

  .aa-video {
    width: 100%;
    padding-bottom: 56.25%;
  }

  .aa-song-hero {
    max-width: 100%;
    padding: 16px 18px 14px;
  }

  .aa-song-title {
    font-size: 28px;
  }

  .aa-section-title {
    font-size: 22px;
  }

  .aa-member-access {
    padding: 22px;
  }

  .aa-btn {
    width: 100%;
  }

}
/* =========================================
ACOUSTIC ARCHIVE ORANGE BUTTONS
========================================= */

.aa-btn-primary,
.aa-btn-primary:visited {
  background: #ff7a00;
  color: #ffffff !important;
  border: 1px solid rgba(255,122,0,0.35);
}

.aa-btn-primary:hover {
  background: #ff8f26;
  transform: translateY(-2px);
}

.aa-btn-secondary,
.aa-btn-secondary:visited {
  background: rgba(255,255,255,0.03);
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.12);
}

.aa-btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.aa-song-hero {
  margin: 0 0 26px 0;
}

.aa-song-title,
.aa-song-label,
.aa-song-artist {
  text-align: left;
}
/* FINAL SONG PAGE LAYOUT */

.aa-song-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Shared content width */

.aa-song-hero,
.aa-preview-section,
.aa-about-section,
.aa-member-access {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Video */

.aa-video {
  width: 100%;
  margin: 22px 0 0;
  padding-bottom: 56.25%;
}

/* Hero alignment */

.aa-song-hero {
  padding: 0;
  border: 0;
  background: transparent;
}
.aa-song-label a {
  color: #7f7f7f !important;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.aa-song-label a:hover {
  opacity: 0.7;
}
/* SPACE AFTER VIDEO */

.aa-video {
  margin-bottom: 32px !important;
}
@media (max-width: 768px) {

  /* =========================
     TOP MENU (swipe pills)
  ========================= */

  .aa-menu {
    display: flex;
    flex-wrap: nowrap;

    justify-content: flex-start;
    gap: 10px;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

    padding: 10px 12px;

    scrollbar-width: none;
  }

  .aa-menu::-webkit-scrollbar {
    display: none;
  }

  .aa-ms-item {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* =========================
     LATEST NEWS CONTAINER
  ========================= */

  .latestnews {
    display: flex;
    flex-wrap: nowrap;

    gap: 10px;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

    padding: 10px 12px;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;
  }

  .latestnews::-webkit-scrollbar {
    display: none;
  }

  /* =========================
     LATEST ITEM (PILL FIX)
  ========================= */

  .aa-latest-item {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    white-space: nowrap;

    max-width: 92vw;   /* ✅ wide enough so NEW badge is visible */
    overflow: hidden;
    text-overflow: ellipsis;

    position: relative;

    scroll-snap-align: start;
  }

  /* =========================
     NEW BADGE FIX
  ========================= */

  .aa-latest-item::after {
    top: -6px;
    right: -6px;
    font-size: 8px;
    padding: 2px 5px;
  }
}
.aa-taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  height: 62px;

  display: flex;
  justify-content: space-around;
  align-items: center;

  background: rgba(10,10,10,0.96);
  border-top: 1px solid rgba(255,255,255,0.08);

  z-index: 99999;

  backdrop-filter: blur(12px);
}

.aa-task-item {
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: none;
  border: none;

  color: #cfcfcf;
  text-decoration: none;

  font-size: 11px;

  cursor: pointer;
}

.aa-task-item span {
  font-size: 10px;
  margin-top: 2px;
}

body {
  padding-bottom: 80px;
}

/* overlay */

.aa-archive-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.aa-archive-overlay.active {
  display: flex;
}

.aa-archive-panel {
  width: 92%;
  max-width: 900px;
  background: #111;
  border-radius: 16px;
  padding: 20px;
  position: relative;
}

.aa-archive-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.aa-archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.aa-archive-grid a {
  padding: 14px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}
/* FRONT PAGE CTA BUTTON */
.btn-primary-cta,
.btn-join {
    background: #8a6a12;
    color: #fff !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.25s ease;
}

.btn-primary-cta:hover,
.btn-join:hover {
    background: #a37b16;
    color: #fff !important;
}
/* =========================================
SONG PAGE – UNLOCK POPUP
Safe add-on: does not affect sliders/menu/taskbar
========================================= */

.aa-member-access {
  text-align: center;
  background: transparent;
  border: 0;
  padding: 10px 0 48px;
}

.aa-unlock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 15px 28px;
  border-radius: 999px;

  background: #ff7a00;
  color: #ffffff;

  border: 1px solid rgba(255,122,0,0.45);

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;
  transition: all 0.25s ease;

  box-shadow: 0 10px 30px rgba(255,122,0,0.18);
}

.aa-unlock-btn:hover {
  background: #ff8f26;
  transform: translateY(-2px);
}

.aa-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;
}

.aa-popup.is-open {
  display: flex;
}

.aa-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(8px);
}

.aa-popup-box {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 560px;

  background: #111;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;

  padding: 32px;

  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}

.aa-popup-box h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.aa-popup-box p {
  margin: 0 0 22px;
  color: #cfcfcf !important;
}

.aa-popup-features {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.aa-popup-features div {
  padding: 12px 14px;
  border-radius: 12px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);

  color: #ffffff;
}

.aa-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;

  background: none;
  border: none;

  color: #ffffff;
  font-size: 30px;
  line-height: 1;

  cursor: pointer;
}

.aa-popup .aa-member-buttons {
  justify-content: center;
}

@media (max-width: 768px) {
  .aa-popup-box {
    padding: 28px 22px;
  }

  .aa-popup-box h2 {
    font-size: 24px;
  }

  .aa-unlock-btn {
    width: 100%;
  }
}
/* =========================================
ARCHIVE ACCESS UTILITY BUTTON
========================================= */

.aa-archive-access-trigger {
  display: flex;
  justify-content: center;

  margin: 8px 0 18px;
}

.aa-archive-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 999px;

  color: #bdbdbd;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;

  cursor: pointer;
  transition: all 0.2s ease;
}

.aa-archive-info-btn:hover {
  background: rgba(255,122,0,0.08);
  border-color: rgba(255,122,0,0.22);

  color: #ffffff;

  transform: translateY(-1px);
}

.aa-info-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #ff7a00;

  box-shadow: 0 0 12px rgba(255,122,0,0.6);
}
.aa-founding-note {
  margin: 10px 0 20px;

  color: #ff9a2f;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;

  opacity: 0.92;
}
/* =========================================
ARCHIVE ACCESS POPUP CARDS
========================================= */

.aa-archive-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
  align-items: stretch;
}

.aa-archive-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
}

.aa-archive-card .aa-btn {
  width: 100%;
  margin-top: auto;
}
/* Archive Access button position inside song hero */
.aa-song-content .aa-archive-access-trigger {
  justify-content: flex-start !important;
  margin: 18px 0 0 !important;
}

.aa-song-content .aa-archive-info-btn {
  margin-left: 0 !important;
}
/* =========================================
SMALL SONG PAGE ARCHIVE ACCESS
========================================= */

.aa-song-content .aa-archive-access-trigger {
  display: flex;
  justify-content: flex-start;
  margin: 14px 0 0;
}

.aa-song-content .aa-archive-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 6px 12px;

  border-radius: 999px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);

  color: #bdbdbd;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;

  transition: all 0.2s ease;

  cursor: pointer;
}

.aa-song-content .aa-archive-info-btn:hover {
  background: rgba(255,122,0,0.08);
  border-color: rgba(255,122,0,0.20);

  color: #ffffff;
}

.aa-song-content .aa-info-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #ff7a00;
}

/* =========================================
ARCHIVE POPUP CARDS
========================================= */

.aa-archive-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
  align-items: stretch;
}

.aa-archive-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 24px;
  border-radius: 18px;

  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
}

.aa-archive-card-featured {
  background: linear-gradient(
    135deg,
    rgba(255,122,0,0.10),
    rgba(255,255,255,0.025)
  );

  border-color: rgba(255,122,0,0.25);
}

.aa-card-label {
  margin-bottom: 10px;

  color: #ff9a2f;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.aa-archive-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  color: #ffffff !important;
}

.aa-archive-card p {
  margin-bottom: 14px;
  font-size: 15px;
}

.aa-founding-note {
  margin: 12px 0 16px;

  color: #ff9a2f;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.aa-archive-card .aa-btn {
  width: 100%;
  margin-top: auto;
}

@media (max-width: 768px) {

  .aa-archive-card-grid {
    grid-template-columns: 1fr;
  }

  .aa-archive-card {
    padding: 20px;
  }

  .aa-archive-card h3 {
    font-size: 22px;
  }

}
/* =========================================
MINIMAL ARCHIVE ACCESS LINK
========================================= */

.aa-song-content .aa-archive-access-trigger {
  margin-bottom: 14px;
}

.aa-archive-info-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 0;
  margin: 0;

  background: none;
  border: 0;

  color: #8f8f8f;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;

  cursor: pointer;

  transition: opacity 0.2s ease;
}

.aa-archive-info-link:hover {
  opacity: 0.7;
}

.aa-info-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;
  background: #ff7a00;
}
.aa-song-content .aa-archive-access-trigger {
  margin: 0 0 14px !important;
  padding: 0 !important;
  justify-content: flex-start !important;
}

.aa-song-content .aa-archive-info-link {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;

  color: #8f8f8f !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;

  cursor: pointer;
}
/* =========================================
ARCHIVE PAGE – PREMIUM SONG LIST
Requires Page Class: aa-archive-page
========================================= */

.aa-archive-page .com-content-category-blog__links {
  max-width: 880px;
  margin: 34px auto 80px;
  padding: 0 22px;
}

.aa-archive-page .com-content-category-blog__links ol,
.aa-archive-page .com-content-category-blog__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: archive-song;
}

.aa-archive-page .com-content-category-blog__links li {
  counter-increment: archive-song;
  margin: 0 0 12px;
}

.aa-archive-page .com-content-category-blog__links a {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 58px;
  padding: 15px 18px 15px 58px;

  border-radius: 14px;

  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);

  color: #ffffff !important;

  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;

  text-decoration: none !important;

  transition: all 0.22s ease;
}

.aa-archive-page .com-content-category-blog__links a::before {
  content: counter(archive-song);

  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);

  width: 26px;
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255,122,0,0.12);
  border: 1px solid rgba(255,122,0,0.28);

  color: #ff9a2f;

  font-size: 12px;
  font-weight: 800;
}

.aa-archive-page .com-content-category-blog__links a:hover {
  background: rgba(255,122,0,0.08);
  border-color: rgba(255,122,0,0.30);
  transform: translateY(-1px);
}

/* Small "song row" feel on mobile */
@media (max-width: 768px) {

  .aa-archive-page .com-content-category-blog__links {
    margin-top: 24px;
    padding: 0 16px;
  }

  .aa-archive-page .com-content-category-blog__links a {
    min-height: 56px;
    padding: 14px 14px 14px 52px;
    font-size: 15px;
  }

  .aa-archive-page .com-content-category-blog__links a::before {
    left: 15px;
  }

}
/* =========================================
ARCHIVE PAGE – PREMIUM SONG LIST
Uses actual Joomla classes from source
========================================= */

.view-category .items-more {
  max-width: 880px;
  margin: 34px auto 90px;
  padding: 0 22px;
}

.view-category .com-content-blog__links {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: archive-song;
}

.view-category .com-content-blog__link {
  counter-increment: archive-song;
  margin: 0 0 12px;
}

.view-category .com-content-blog__link a {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 58px;
  padding: 15px 18px 15px 58px;

  border-radius: 14px;

  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);

  color: #ffffff !important;

  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;

  text-decoration: none !important;

  transition: all 0.22s ease;
}

.view-category .com-content-blog__link a::before {
  content: counter(archive-song);

  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);

  width: 26px;
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255,122,0,0.12);
  border: 1px solid rgba(255,122,0,0.28);

  color: #ff9a2f;

  font-size: 12px;
  font-weight: 800;
}

.view-category .com-content-blog__link a:hover {
  background: rgba(255,122,0,0.08);
  border-color: rgba(255,122,0,0.30);
  transform: translateY(-1px);
}

@media (max-width: 768px) {

  .view-category .items-more {
    margin-top: 24px;
    padding: 0 16px;
  }

  .view-category .com-content-blog__link a {
    min-height: 56px;
    padding: 14px 14px 14px 52px;
    font-size: 15px;
  }

  .view-category .com-content-blog__link a::before {
    left: 15px;
  }

}
/* =========================================
ARCHIVE PAGE – NEW BADGES FOR FIRST 4 SONGS
========================================= */

.view-category .com-content-blog__link:nth-child(-n+4) a::after {
  content: "NEW";

  margin-left: auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 4px 7px;
  border-radius: 999px;

  background: #ff7a00;
  color: #ffffff;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;

  line-height: 1;
}
.aa-song-content {
  padding-top: 8px;
}

.aa-song-title {
  margin-top: 8px !important;
  margin-bottom: 10px !important;
}

.aa-song-artist {
  margin-bottom: 18px !important;
}
/* =========================================
HEADER WIDTH ALIGNMENT
========================================= */

.container-header {
  max-width: 1280px;
  margin: 0 auto !important;

  padding-left: 24px;
  padding-right: 24px;
}

/* optional slight mobile tightening */
@media (max-width: 768px) {

  .container-header {
    padding-left: 16px;
    padding-right: 16px;
  }

}
/* Keep lesson video aligned with text width */
.aa-song-page {
  max-width: 980px;
}

.aa-video {
  max-width: 820px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.aa-song-hero {
  margin-bottom: 28px;
}

.aa-song-content {
  padding-top: 18px;
}
/* =========================================
ARTICLE PAGE CENTERING
========================================= */

.com-content-article,
.item-page {
  max-width: 980px;
  margin: 0 auto !important;

  padding-left: 24px;
  padding-right: 24px;
}

/* Images inside articles */
.com-content-article img,
.item-page img {
  display: block;
  margin-left: auto;
  margin-right: auto;

  max-width: 100%;
  height: auto;

  border-radius: 18px;
}

/* Better article spacing */
.com-content-article p,
.item-page p {
  line-height: 1.8;
}
/* =========================================
MEMBERSHIP / JOIN FORM CLEANUP
========================================= */

.view-register .container-component {
  max-width: 920px;
  margin: 0 auto !important;
  padding: 34px 24px 100px;
}

#osm-signup-page {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 34px;
}

#osm-signup-page .osm-page-title {
  font-size: 30px;
  margin-bottom: 10px;
  color: #ffffff !important;
}

#osm-signup-page .osm-message {
  margin-bottom: 26px;
  color: #cfcfcf;
}

#osm-signup-page .form-row,
#osm-signup-page .form-group {
  margin-bottom: 18px;
}

#osm-signup-page label {
  color: #d8d8d8 !important;
  font-weight: 600;
  font-size: 14px;
}

#osm-signup-page input[type="text"],
#osm-signup-page input[type="password"],
#osm-signup-page select,
#osm-signup-page .form-control,
#osm-signup-page .form-select {
  background: #111 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 10px !important;
  min-height: 46px;
}

#osm-signup-page input:focus,
#osm-signup-page select:focus {
  border-color: rgba(255,122,0,0.55) !important;
  box-shadow: 0 0 0 3px rgba(255,122,0,0.12) !important;
}

#osm-signup-page .osm-heading {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #ffffff !important;
  font-size: 24px;
}

#osm-signup-page .input-group-text {
  background: #1a1a1a !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.14) !important;
}

#osm-payment-method-list label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 20px;
  color: #ffffff !important;
}

#btn-submit,
#osm-signup-page .btn-primary {
  background: #ff7a00 !important;
  border: 1px solid rgba(255,122,0,0.45) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-weight: 700;
  margin-top: 18px;
}

#btn-submit:hover,
#osm-signup-page .btn-primary:hover {
  background: #ff8f26 !important;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .view-register .container-component {
    padding: 24px 16px 90px;
  }

  #osm-signup-page {
    padding: 24px 18px;
  }

  #osm-signup-page .osm-page-title {
    font-size: 24px;
  }
}
/* =========================================
LOGIN PAGE CLEANUP
Targets Joomla login module only
========================================= */

body.view-article .mod-login {
  max-width: 520px;
  margin: 36px auto 100px;
  padding: 34px;

  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;

  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}

body.view-article .mod-login::before {
  content: "Member Login";
  display: block;

  margin-bottom: 22px;

  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.mod-login .form-group {
  margin-bottom: 16px;
}

.mod-login input[type="text"],
.mod-login input[type="password"],
.mod-login .form-control {
  min-height: 48px;

  background: #111 !important;
  color: #ffffff !important;

  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 10px !important;
}

.mod-login input:focus {
  border-color: rgba(255,122,0,0.55) !important;
  box-shadow: 0 0 0 3px rgba(255,122,0,0.12) !important;
}

.mod-login .input-group-text,
.mod-login .input-password-toggle {
  background: #1a1a1a !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.14) !important;
  border-radius: 10px !important;
}

.mod-login .form-check-label {
  color: #cfcfcf !important;
}

.mod-login .plg_system_webauthn_login_button {
  background: rgba(255,255,255,0.04) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 999px !important;
  padding: 13px 20px !important;
}

.mod-login .btn-primary {
  background: #ff7a00 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,122,0,0.45) !important;
  border-radius: 999px !important;
  padding: 14px 24px !important;
  font-weight: 700;
}

.mod-login .btn-primary:hover {
  background: #ff8f26 !important;
  transform: translateY(-1px);
}

.mod-login__options {
  margin-top: 22px;
  text-align: center;
}

.mod-login__options li {
  margin-bottom: 6px;
}

.mod-login__options a {
  color: #ff7a00 !important;
  font-size: 14px;
}
/* =========================================
FAQ PAGE CARDS
========================================= */

.aa-faq-page {
  max-width: 880px;
  margin: 36px auto 100px;
  padding: 0 24px;
}

.aa-faq-page > h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 34px;
}

.aa-faq-page h3 {
  margin: 34px 0 14px;
  padding: 22px 24px 0;

  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;

  font-size: 24px;
  color: #ffffff !important;
}

.aa-faq-page h3 + p {
  margin-top: 0;
}

.aa-faq-page h3 ~ p,
.aa-faq-page h3 ~ ul {
  max-width: none;
}

/* simple card feel by styling paragraph blocks after headings */
.aa-faq-page h3 + p,
.aa-faq-page h3 + p + p,
.aa-faq-page h3 + p + p + p,
.aa-faq-page h3 + p + p + p + p,
.aa-faq-page h3 + p + p + p + p + p {
  padding-left: 24px;
  padding-right: 24px;
  background: rgba(255,255,255,0.025);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.aa-faq-page h3 + p {
  padding-top: 8px;
}

.aa-faq-page p {
  margin-bottom: 14px;
  color: #cfcfcf !important;
  font-size: 16px;
  line-height: 1.75;
}

.aa-faq-page .aa-song-preview {
  margin: 0 0 24px;
  padding: 18px 28px 24px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;

  background: rgba(255,255,255,0.025);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 0 0 18px 18px;
}

.aa-faq-page .aa-song-preview li {
  color: #ffffff !important;
  font-size: 14px;
}

/* orange accent */
.aa-faq-page h3::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: #ff7a00;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .aa-faq-page {
    padding: 0 16px;
  }

  .aa-faq-page > h2 {
    font-size: 28px;
    text-align: left;
  }

  .aa-faq-page h3 {
    font-size: 21px;
    padding: 20px 20px 0;
  }

  .aa-faq-page .aa-song-preview {
    grid-template-columns: 1fr;
  }
}
/* =========================================
MEMBER LESSON VIDEO CARDS
========================================= */

.aa-song-page > .aa-song-page {
  max-width: 820px;
  margin: 56px auto 100px;
  padding: 0;
}

.aa-song-page > .aa-song-page .aa-lesson-card {
  margin-bottom: 34px;
  padding: 24px;

  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;

  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}

.aa-lesson-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;

  margin-bottom: 18px;
}

.aa-lesson-kicker {
  margin-bottom: 5px;

  color: #ff9a2f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.aa-lesson-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.aa-lesson-head span {
  color: #bdbdbd;
  font-size: 13px;
  white-space: nowrap;
}

.aa-lesson-card .aa-video {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding-bottom: 56.25%;
}

.aa-meta-under {
  margin-top: 14px;

  color: #bdbdbd;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 768px) {

  .aa-song-page > .aa-song-page {
    margin-top: 42px;
  }

  .aa-song-page > .aa-song-page .aa-lesson-card {
    padding: 18px;
    margin-bottom: 26px;
  }

  .aa-lesson-head h2 {
    font-size: 24px;
  }

}
/* MEMBER LESSON VIDEO CARDS */

.aa-member-lessons {
  max-width: 820px;
  margin: 56px auto 100px;
  padding: 0 24px;
}

.aa-member-lessons .aa-lesson-card {
  margin-bottom: 34px !important;
  padding: 24px !important;

  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;

  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}

.aa-member-lessons .aa-video {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding-bottom: 56.25%;
}

.aa-lesson-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.aa-lesson-kicker {
  margin-bottom: 5px;
  color: #ff9a2f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.aa-lesson-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.aa-lesson-head span {
  color: #bdbdbd;
  font-size: 13px;
  white-space: nowrap;
}

.aa-meta-under {
  margin-top: 14px;
  color: #bdbdbd;
  font-size: 13px;
}

@media (max-width: 768px) {
  .aa-member-lessons {
    padding: 0 16px;
    margin-top: 42px;
  }

  .aa-member-lessons .aa-lesson-card {
    padding: 18px !important;
    margin-bottom: 26px !important;
  }
}
/* Match public preview video width with member lesson cards */
.aa-song-page > .aa-video {
  max-width: 820px;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Match public preview video with member lesson card width */
.com-content-article__body > .aa-song-page > .aa-video {
  max-width: 820px !important;
  width: calc(100% - 48px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.aa-preview-video {
  max-width: 820px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Public lesson preview video width */
.aa-song-page .aa-preview-video {
  width: 820px !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* =========================================
PUBLIC LESSON CARD
========================================= */

.aa-public-lesson-card {
  max-width: 880px;
  margin: 36px auto 56px;
  padding: 30px;

  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;

  box-shadow: 0 22px 70px rgba(0,0,0,0.28);
}

.aa-public-lesson-card .aa-song-hero {
  max-width: 100%;
  margin-bottom: 26px;
}

.aa-public-lesson-card .aa-video {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 34px !important;
  padding-bottom: 56.25%;
}

.aa-public-lesson-card .aa-about-section {
  max-width: 100%;
  margin: 0 0 34px;
}

.aa-public-lesson-card .aa-member-access {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .aa-public-lesson-card {
    margin: 24px auto 42px;
    padding: 20px;
  }
}
/* Remove separate hero background inside public lesson card */
.aa-public-lesson-card .aa-song-hero {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.aa-public-lesson-card .aa-song-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.aa-public-lesson-card .aa-song-content {
  padding-top: 0 !important;
}

.aa-public-lesson-card {
  padding-top: 22px !important;
}
/* =========================================
PUBLIC LESSON PAGE POLISH
========================================= */

/* About section divider */
.aa-about-section {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
}

/* Premium CTA button feel */
.aa-member-access .aa-btn,
.aa-member-access .aa-btn-join,
.aa-member-access a[class*="btn"] {
  min-width: 260px;
  letter-spacing: 0.3px;
  font-weight: 700;
}

/* Reduce excess bottom spacing */
.aa-public-lesson-card {
  padding-bottom: 24px !important;

  transition:
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

/* Subtle hover effect */
.aa-public-lesson-card:hover {
  border-color: rgba(255,140,0,0.18);
  box-shadow: 0 28px 90px rgba(0,0,0,0.34);
}

/* Optional song info row */
.aa-song-subinfo {
  margin-top: 8px;

  color: #8d8d8d;
  font-size: 13px;
  letter-spacing: 0.4px;
  line-height: 1.5;
}

/* Slightly improve text readability */
.aa-about-section p {
  color: #d6d6d6 !important;
  line-height: 1.8;
}

/* Better spacing for title area */
.aa-public-lesson-card .aa-song-title {
  margin-bottom: 10px;
}

.aa-public-lesson-card .aa-song-artist {
  margin-bottom: 10px;
}

/* Mobile polish */
@media (max-width: 768px) {

  .aa-public-lesson-card {
    padding-bottom: 18px !important;
  }

  .aa-member-access .aa-btn,
  .aa-member-access .aa-btn-join,
  .aa-member-access a[class*="btn"] {
    width: 100%;
    min-width: 0;
  }

}
/* =========================================
MATCH MEMBER CARDS TO PUBLIC CARD WIDTH
========================================= */

.aa-member-lessons {
  max-width: 1540px !important;
  margin: 0 auto 80px !important;
  padding: 0 10px !important;
}

.aa-member-lessons .aa-lesson-card {
  width: 100% !important;
  max-width: 100% !important;

  margin-left: auto !important;
  margin-right: auto !important;
}

/* keep video perfectly aligned */
.aa-member-lessons .aa-video {
  width: 100% !important;
  max-width: 100% !important;
}
.aa-member-lessons {
  margin-top: 34px !important;
}
/* =========================================
SAMPLE LESSON SECTION
========================================= */

.aa-sample-lesson-card {
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 24px;

  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}

.aa-locked-lessons {
  position: relative;

  margin-top: 20px;
  margin-bottom: 42px;
  padding: 34px 24px 24px;

  overflow: hidden;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
}

.aa-locked-grid {
  display: grid;
  gap: 18px;

  filter: blur(2px);
  opacity: 0.45;
  pointer-events: none;
}

.aa-locked-card {
  padding: 22px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
}

.aa-locked-kicker {
  margin-bottom: 6px;

  color: #ff9a2f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.aa-locked-card h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.aa-locked-card span {
  color: #bdbdbd;
  font-size: 13px;
}

.aa-locked-overlay {
  position: absolute;
  inset: 0;

  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.15),
      rgba(0,0,0,0.55)
    );
}

.aa-locked-text {
  max-width: 420px;
  padding: 20px;
}

.aa-locked-title {
  margin-bottom: 10px;

  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.aa-locked-sub {
  color: #d0d0d0;
  font-size: 15px;
  line-height: 1.6;
}
/* =========================================
TOP MENU JOIN EMPHASIS
========================================= */

.aa-join-link {
  color: #ff9a2f !important;
  font-weight: 700 !important;

  transition:
    color .2s ease,
    opacity .2s ease;
}

.aa-join-link:hover {
  color: #ffb15e !important;
}
/* =========================================
ARCHIVE POPUP – SIMPLE MOBILE VERSION
========================================= */

@media (max-width: 768px) {

  #aaArchivePanel .aa-archive-panel-inner > h2,
  #aaArchivePanel .aa-archive-panel-inner > p,
  #aaArchivePanel .aa-access-divider {
    display: none !important;
  }

  #aaArchivePanel.active {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 16px 12px 80px !important;
    overflow-y: auto !important;
  }

  #aaArchivePanel .aa-archive-panel-inner {
    width: 100% !important;
    max-width: 390px !important;
    margin: 0 auto !important;
    padding: 46px 14px 18px !important;
    border-radius: 18px !important;
  }

  #aaArchivePanel .aa-archive-card-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 0 !important;
  }

  #aaArchivePanel .aa-archive-card {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }

  #aaArchivePanel .aa-card-label {
    font-size: 10px !important;
    letter-spacing: 1.4px !important;
    margin-bottom: 8px !important;
  }

  #aaArchivePanel .aa-archive-card h3 {
    font-size: 22px !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
  }

  #aaArchivePanel .aa-archive-card p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
  }

  #aaArchivePanel .aa-founding-note {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin: 10px 0 14px !important;
  }

  #aaArchivePanel .aa-btn {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 13px 14px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  #aaArchivePanel .aa-archive-close {
    top: 10px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 28px !important;
  }

}
/* =========================================
ARCHIVE POPUP – FINAL MOBILE FIX
========================================= */

@media (max-width: 768px) {

  #aaArchivePanel {
    position: fixed !important;
    inset: 0 !important;

    display: none;

    align-items: center !important;
    justify-content: center !important;

    padding: 18px !important;

    overflow-y: auto !important;

    z-index: 999999 !important;
  }

  #aaArchivePanel.active {
    display: flex !important;
  }

  #aaArchivePanel .aa-archive-panel-inner {
    position: relative !important;

    width: 100% !important;
    max-width: 360px !important;

    margin: auto !important;

    padding: 24px 18px !important;

    border-radius: 22px !important;

    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;

    overflow: hidden !important;
  }

  #aaArchivePanel .aa-archive-card-grid {
    display: flex !important;
    flex-direction: column !important;

    gap: 16px !important;
  }

  #aaArchivePanel .aa-archive-card {
    width: 100% !important;

    padding: 20px 18px !important;

    margin: 0 !important;
  }

  #aaArchivePanel .aa-btn {
    width: 100% !important;

    display: flex !important;
    justify-content: center !important;

    text-align: center !important;
  }

  #aaArchivePanel .aa-archive-close {
    position: absolute !important;

    top: 12px !important;
    right: 14px !important;

    z-index: 20 !important;
  }

}
/* Hide original Cassiopeia logo */

.container-header .navbar-brand{
    display:none !important;
}

/* Remove empty header space */

.container-header{
    min-height:0 !important;
    padding:0 !important;
}
.container-banner.full-width{
  margin-bottom:0 !important;
  padding-bottom:0 !important;
  min-height:0 !important;
}
/* =========================================
FREE LESSON SIGNUP
========================================= */

.aa-free-lesson-signup{
  margin: 36px 0;
  padding: 30px;

  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}

.aa-free-lesson-kicker{
  color:#ff9a2f;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  margin-bottom:8px;
}

.aa-free-lesson-signup h2{
  margin:0 0 16px;
  font-size:clamp(32px,4vw,42px);
  line-height:1.1;
}

.aa-free-lesson-form{
  margin-top:28px;
  max-width:520px;
}

.aa-free-lesson-form label{
  display:block;
  margin-bottom:18px;
}

.aa-free-lesson-form .acym__users__creation__fields__title{
  display:block;
  margin-bottom:8px;

  color:#d8d8d8;
  font-size:14px;
  font-weight:600;
}

.aa-free-lesson-form input[type="text"],
.aa-free-lesson-form input[type="email"]{
  width:100%;
  height:52px;

  background:#111 !important;
  color:#fff !important;

  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;

  padding:0 14px;
}

.aa-free-lesson-form input:focus{
  border-color:rgba(255,122,0,.45);
  outline:none;
}

.aa-free-lesson-form .subbutton{
  width:100%;

  background:#ff7a00 !important;
  color:#fff !important;

  border:none;
  border-radius:12px;

  padding:16px 20px;

  font-size:17px;
  font-weight:700;

  cursor:pointer;
}

.aa-free-lesson-form .subbutton:hover{
  background:#ff8f26 !important;
}
.aa-free-lesson-form .onefield label {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.aa-free-lesson-form input[type="text"],
.aa-free-lesson-form input[type="email"] {
  width: 100% !important;
  max-width: 520px !important;
  height: 52px !important;
  padding: 0 15px !important;
  background: #111 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 10px !important;
}

.aa-free-lesson-form .acysubbuttons {
  margin-top: 14px !important;
}

.aa-free-lesson-form .subbutton {
  width: 100% !important;
  max-width: 520px !important;
  background: #ff7a00 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

.aa-free-lesson-form .subbutton:hover {
  background: #ff8f26 !important;
}
/* =========================================
FREE LESSON SIGNUP POLISH
========================================= */

.aa-free-lesson-signup{
  margin-top: 48px;
  border-color: rgba(255,122,0,0.15);
}

@media (max-width: 768px){

  .aa-free-lesson-signup h2{
    font-size: 26px !important;
    line-height: 1.15;
  }

}
@media (max-width: 768px) {
  .aa-public-lesson-card {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 28px 22px !important;
  }

  .aa-public-lesson-card iframe,
  .aa-public-lesson-card video,
  .aa-public-lesson-card .vimeo-embed,
  .aa-public-lesson-card .aa-video-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 768px) {
  .aa-song-page {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width: 768px) {

  .site-grid,
  .container-component,
  .com-content-article,
  .com-content-article__body,
  .aa-song-page {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .aa-public-lesson-card {
    width: calc(100vw - 28px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 28px 22px !important;
    box-sizing: border-box !important;
  }

  .aa-video,
  .aa-preview-video {
    width: 100% !important;
    max-width: 100% !important;
  }

  .aa-video iframe {
    width: 100% !important;
  }
}
@media (max-width: 700px) {

  .aa-sticky-header {
    flex-direction: column;
    gap: 8px;
    padding: 8px 10px;
  }

  .aa-header-logo {
    display: block !important;
  }

  .aa-header-logo img {
    display: none !important;
  }

  .aa-header-logo::after {
    content: "AcousticArchive";
    display: block;
    color: #caa46a;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
  }

  .aa-header-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
}
@media (max-width: 700px) {

  .aa-sticky-header .aa-header-logo {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    margin-bottom: 4px !important;
  }

  .aa-sticky-header .aa-header-logo img {
    display: none !important;
  }

  .aa-sticky-header .aa-header-logo::after {
    content: "AcousticArchive";
    display: block !important;
    color: #caa46a !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }

  .aa-sticky-header {
    flex-direction: column !important;
  }
}
/* Reduce top gap on Sample lesson page */
.aa-song-page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.aa-public-lesson-card {
  margin-top: -12px !important;
}

/* Move Join page card upward */
#osm_form,
.osm-form,
.osm-container,
#osm-container {
  margin-top: -12px !important;
}

/* Keep content inside card normal */
#osm_form > *,
.osm-form > *,
.osm-container > *,
#osm-container > * {
  margin-top: initial;
}