@import url('https://fonts.googleapis.com/css2?family=Alkatra&display=swap');

body {
  background-color: #e2e5eb;
  color: #123746;
}

.search-results-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.search-results-content {
  flex: 1 0 auto;
  padding-bottom: 3rem;
}

.search-results-page footer {
  margin-top: 0 !important;
}

.header_top {
	
	font-family: 'Alkatra', cursive;
}

.ultimate_bg_nav {
    background-color: #9aaac9;
}

.ultimate_button {
  background-color: #b8c1d3;
  color: #022261;
  font-weight:bold;
}

.ultimate_button:hover {
  background-color: #2b59b5;
  color: #fbfbfb;
  font-weight:bold;
}

.ultimate_button_selected {
  background-color: #2b59b5;
  color: #fbfbfb;
  font-weight: bold;
}


.create_song_box {width:600px;}
.edit_container {width:600px;}
.author_container {width:600px;}
.deletesong_box {width:600px;}
.index_header {width:600px;}
.p5 {padding: 100px 0 100px 0; background-color:#2b59b5;}
.ptop {padding: 80px 0 0 0;}

/* Remove underline from all links */
a {
    text-decoration: none;
	color:#2b59b5;
	font-weight:bold;
}

/* Add an underline on hover for better accessibility */
a:hover {
    text-decoration: none;
	color:#2a4477;
	font-weight:bold;
}


@media (max-width: 767px) {
    .table .author-name,
    .table .song-title {
        width: 10%;
        padding-left: 0.1rem;
        padding-right: 0.1rem;
    }
	
	.ptop {padding: 0px 0 0 0;}
}

/* Category page */
.category-page {
  background: #f2f3f6;
  color: #18294c;
}

.category-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 54px;
  background:
    radial-gradient(circle at 88% 15%, rgba(134, 154, 193, 0.24), transparent 28%),
    linear-gradient(135deg, #081b41 0%, #0c2a66 58%, #0b378e 100%);
  color: #fff;
}

.category-hero::after {
  position: absolute;
  right: -70px;
  bottom: -155px;
  width: 340px;
  height: 340px;
  border: 48px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
}

.category-back {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 30px;
  color: #dbdfe8;
  font-size: 0.92rem;
  font-weight: 750;
}

.category-back:hover {
  color: #fff;
}

.category-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
}

.category-hero .home-kicker {
  color: #94a6c9;
}

.category-hero h1 {
  max-width: 820px;
  margin: 5px 0 13px;
  color: #fff;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.category-intro {
  max-width: 700px;
  margin: 0;
  color: #e3e6eb;
  font-size: 1.08rem;
  line-height: 1.7;
}

.category-count {
  display: grid;
  flex: 0 0 auto;
  min-width: 120px;
  padding: 17px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.category-count strong {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.category-count span {
  margin-top: 5px;
  color: #cad2e2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-library {
  min-height: 420px;
  padding: 48px 0 70px;
}

.category-section-heading {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.category-section-heading h2 {
  margin: 3px 0 0;
  color: #022261;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 900;
}

.category-section-heading > span {
  color: #697388;
  font-size: 0.88rem;
  font-weight: 650;
}

.category-table-shell {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(43, 89, 181, 0.19);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(2, 34, 97, 0.09);
}

.category-song-table {
  margin: 0;
}

.category-song-table thead th {
  padding: 15px 20px;
  background: #123746;
  border: 0;
  color: #f2f4f7;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-song-table tbody td {
  padding: 17px 20px;
  border-color: rgba(43, 89, 181, 0.13);
  color: #55617a;
  vertical-align: middle;
}

.category-song-table tbody tr:hover {
  background: rgba(43, 89, 181, 0.07);
}

.category-song-table .song-title a {
  color: #022261;
  font-size: 1.02rem;
  font-weight: 800;
}

.category-song-table .author-name a {
  color: #2e4a83;
  font-weight: 650;
}

.category-song-table .song-date {
  color: #737c8f;
  font-size: 0.9rem;
  white-space: nowrap;
}

.category-song-table .song-open {
  width: 68px;
  text-align: right;
}

.category-song-table .song-open a {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: #e4e7ec;
  border-radius: 50%;
  color: #062c77;
  font-size: 1.1rem;
  font-weight: 900;
}

.category-song-table tr:hover .song-open a {
  background: #2b59b5;
  color: #fff;
  transform: translateX(2px);
}

.category-empty {
  max-width: 680px;
  margin: 20px auto 0;
  padding: 48px 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(43, 89, 181, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(2, 34, 97, 0.08);
  text-align: center;
}

.category-empty-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  place-items: center;
  background: #e4e7ec;
  border-radius: 50%;
  color: #0b3588;
  font-size: 1.7rem;
}

.category-empty h2 {
  color: #022261;
  font-weight: 900;
}

.category-empty p {
  max-width: 500px;
  margin: 0 auto 22px;
  color: #646e83;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .category-hero {
    padding: 30px 0 38px;
  }

  .category-back {
    margin-bottom: 24px;
  }

  .category-hero-content,
  .category-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-hero-content {
    gap: 24px;
  }

  .category-count {
    display: flex;
    gap: 7px;
    align-items: baseline;
    min-width: 0;
    padding: 12px 17px;
  }

  .category-count strong {
    font-size: 1.45rem;
  }

  .category-library {
    padding: 34px 0 50px;
  }

  .category-section-heading {
    gap: 7px;
  }

  .category-song-table,
  .category-song-table thead,
  .category-song-table tbody,
  .category-song-table tr,
  .category-song-table td {
    display: block;
    width: 100%;
  }

  .category-song-table thead {
    display: none;
  }

  .category-song-table tbody tr {
    position: relative;
    padding: 15px 54px 15px 17px;
    border-bottom: 1px solid rgba(43, 89, 181, 0.14);
  }

  .category-song-table tbody tr:last-child {
    border-bottom: 0;
  }

  .category-song-table tbody td {
    padding: 2px 0;
    border: 0;
  }

  .category-song-table .author-name {
    font-size: 0.9rem;
  }

  .category-song-table .song-open {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 34px;
    transform: translateY(-50%);
  }

  .category-empty {
    padding: 38px 20px;
  }
}

/* Author page */
.author-page {
  background: #f2f3f6;
  color: #18294c;
}

.author-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 58px;
  background:
    radial-gradient(circle at 88% 18%, rgba(134, 154, 193, 0.23), transparent 28%),
    linear-gradient(135deg, #081b41 0%, #0c2a66 58%, #0b378e 100%);
  color: #fff;
}

.author-hero::after {
  position: absolute;
  right: -100px;
  bottom: -190px;
  width: 420px;
  height: 420px;
  border: 55px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  content: "";
}

.author-back {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 30px;
  color: #dbdfe8;
  font-size: 0.92rem;
  font-weight: 750;
}

.author-back:hover {
  color: #fff;
}

.author-profile {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.author-portrait-wrap {
  width: 210px;
  height: 210px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 24px 55px rgba(0, 22, 35, 0.28);
}

.author-portrait {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.author-hero .home-kicker {
  color: #94a6c9;
}

.author-profile h1 {
  margin: 4px 0 14px;
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.author-biography {
  display: -webkit-box;
  max-width: 820px;
  margin: 0;
  overflow: hidden;
  color: #e3e6eb;
  font-size: 1.02rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.author-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.author-stats span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 6px;
  color: #d5dbe7;
  font-size: 0.86rem;
  font-weight: 700;
}

.author-stats strong {
  color: #fff;
}

.author-library {
  min-height: 420px;
  padding: 48px 0 70px;
}

.author-section-heading {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.author-section-heading h2 {
  margin: 3px 0 0;
  color: #022261;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 900;
}

.author-section-heading > span {
  color: #697388;
  font-size: 0.88rem;
  font-weight: 650;
}

.author-song-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: author-song;
  list-style: none;
}

.author-song-grid li {
  min-width: 0;
  counter-increment: author-song;
}

.author-song-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 34px;
  gap: 13px;
  align-items: center;
  min-height: 82px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(43, 89, 181, 0.18);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(2, 34, 97, 0.055);
}

.author-song-card:hover {
  background: #fff;
  border-color: rgba(43, 89, 181, 0.42);
  box-shadow: 0 14px 30px rgba(2, 34, 97, 0.1);
  transform: translateY(-2px);
}

.author-song-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: #e7e9ee;
  border-radius: 50%;
  color: #385183;
  font-size: 0.78rem;
  font-weight: 850;
}

.author-song-number::before {
  content: counter(author-song, decimal-leading-zero);
}

.author-song-details {
  display: grid;
  min-width: 0;
}

.author-song-details strong {
  overflow: hidden;
  color: #022261;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.author-song-details small {
  margin-top: 3px;
  color: #747e91;
  font-size: 0.8rem;
  font-weight: 600;
}

.author-song-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: #e4e7ec;
  border-radius: 50%;
  color: #0b3588;
  font-size: 1rem;
}

.author-song-card:hover .author-song-arrow {
  background: #2b59b5;
  color: #fff;
  transform: translateX(2px);
}

.author-empty {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(43, 89, 181, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(2, 34, 97, 0.08);
  text-align: center;
}

.author-empty-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  place-items: center;
  background: #e4e7ec;
  border-radius: 50%;
  color: #0b3588;
  font-size: 1.7rem;
}

.author-empty h2 {
  color: #022261;
  font-weight: 900;
}

.author-empty p {
  max-width: 520px;
  margin: 0 auto 22px;
  color: #646e83;
  line-height: 1.65;
}

.author-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.author-request-link {
  color: #0b3588;
}

@media (max-width: 767px) {
  .author-hero {
    padding: 30px 0 40px;
  }

  .author-back {
    margin-bottom: 25px;
  }

  .author-profile {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .author-portrait-wrap {
    width: 150px;
    height: 150px;
  }

  .author-biography {
    font-size: 0.97rem;
    -webkit-line-clamp: 7;
  }

  .author-library {
    padding: 34px 0 50px;
  }

  .author-section-heading {
    gap: 7px;
    align-items: flex-start;
    flex-direction: column;
  }

  .author-song-grid {
    grid-template-columns: 1fr;
  }

  .author-song-card {
    grid-template-columns: 34px minmax(0, 1fr) 32px;
    gap: 10px;
    min-height: 76px;
    padding: 12px;
  }

  .author-empty {
    padding: 38px 20px;
  }
}

.home-page {
  background:
    linear-gradient(180deg, #e2e5eb 0%, #f3f4f7 42%, #e2e5eb 100%);
  min-height: 100vh;
}

.home-page .navbar {
  box-shadow: 0 12px 28px rgba(2, 34, 97, 0.08);
}

.home-page .navbar-brand {
  color: #022261;
  font-weight: 800;
}

.home-page .logo-img {
  max-height: 38px;
  width: auto;
  margin-right: 8px;
}

.home-page .btn-outline-success {
  border-color: #2b59b5;
  color: #022261;
  font-weight: 700;
}

.home-page .btn-outline-success:hover {
  background-color: #2b59b5;
  border-color: #2b59b5;
  color: #fff;
}

.home-hero {
  padding: 56px 0 42px;
  background:
    linear-gradient(135deg, rgba(43, 89, 181, 0.28), rgba(255, 255, 255, 0.72) 50%, rgba(154, 170, 201, 0.38));
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  gap: 34px;
  align-items: center;
}

.home-brand-mark {
  width: min(430px, 88%);
  height: auto;
  margin-bottom: 18px;
}

.home-kicker {
  margin: 0 0 10px;
  color: #2a4477;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #022261;
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.home-lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: #273a60;
  font-size: 1.08rem;
  line-height: 1.7;
}

.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 720px;
  margin: 26px 0 0;
}

.home-search .form-control {
  min-height: 54px;
  border: 2px solid rgba(43, 89, 181, 0.24);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(2, 34, 97, 0.08);
  color: #123746;
  font-weight: 650;
}

.home-search .form-control:focus {
  border-color: #2b59b5;
  box-shadow: 0 0 0 0.2rem rgba(43, 89, 181, 0.18);
}

.home-search .btn {
  min-width: 128px;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
}

.home-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 38px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(43, 89, 181, 0.24);
  border-radius: 8px;
  color: #2a4477;
  font-size: 0.92rem;
}

.home-stats strong {
  color: #022261;
  font-size: 1.1rem;
}

.home-stage {
  background: #07142e;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 22px 56px rgba(2, 34, 97, 0.28);
  color: #f9fafc;
  overflow: hidden;
}

.home-stage-top,
.home-stage-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.home-stage-top {
  background: linear-gradient(90deg, #123746, #2b59b5);
}

.home-stage-label {
  display: block;
  color: #d5dceb;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-stage h2 {
  margin: 4px 0 0;
  font-size: 1.32rem;
  font-weight: 850;
  letter-spacing: 0;
}

.home-stage p {
  margin: 4px 0 0;
  color: #e2e5eb;
}

.home-key-pill {
  flex: 0 0 auto;
  min-width: 76px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  color: #022261;
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
}

.home-toolrow {
  display: grid;
  grid-template-columns: 42px minmax(72px, 1fr) 42px repeat(4, minmax(54px, auto));
  gap: 8px;
  padding: 12px;
  background: #0c1d3e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-tool,
.home-transpose-readout {
  min-height: 40px;
  border-radius: 6px;
}

.home-tool {
  border: 1px solid rgba(154, 170, 201, 0.35);
  background: #b8c1d3;
  color: #022261;
  font-weight: 850;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.home-tool:hover,
.home-tool.is-active {
  background: #2b59b5;
  color: #fff;
  transform: translateY(-1px);
}

.home-tool.wide {
  padding: 0 12px;
}

.home-transpose-readout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e5eb;
  font-weight: 750;
}

.home-lyric-window {
  height: 344px;
  padding: 22px;
  overflow: auto;
  background: #02090d;
  color: #f8f9fa;
  font-family: Consolas, "Courier New", monospace;
  font-size: 16px;
  line-height: 1.85;
  white-space: pre-wrap;
  scrollbar-color: #2b59b5 #091631;
}

.home-lyric-window.is-light {
  background: #fbfeff;
  color: #123746;
}

.home-chord {
  color: #65e924;
  font-weight: 900;
}

.home-lyric-window.is-light .home-chord {
  color: #e71000;
}

.home-stage-bottom {
  background: #091631;
  color: #cbd4e5;
  font-size: 0.94rem;
}

.home-stage-bottom a {
  color: #ffffff;
}

.home-milestone {
  padding: 34px 0 4px;
}

.home-milestone-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(154, 170, 201, 0.28), transparent 28%),
    linear-gradient(120deg, #123746, #0a2c70 58%, #2b59b5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(2, 34, 97, 0.18);
  color: #fafbfc;
}

.home-milestone-card::before,
.home-milestone-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.home-milestone-card::before {
  top: -108px;
  left: 30%;
}

.home-milestone-card::after {
  right: 15%;
  bottom: -124px;
}

.home-milestone-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  width: 62px;
  height: 62px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

.home-milestone-icon span {
  width: 7px;
  background: #acbde0;
  border-radius: 6px 6px 2px 2px;
}

.home-milestone-icon span:nth-child(1) { height: 15px; }
.home-milestone-icon span:nth-child(2) { height: 28px; background: #fff; }
.home-milestone-icon span:nth-child(3) { height: 21px; }

.home-milestone-copy {
  position: relative;
  z-index: 1;
}

.home-milestone-label {
  margin: 0 0 6px;
  color: #c2cde4;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-milestone-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 760;
  line-height: 1.25;
}

.home-milestone-copy h2 strong {
  color: #acbde0;
  font-size: 1.14em;
  font-weight: 950;
}

.home-milestone-copy h2 span {
  color: #fff;
  font-weight: 900;
}

.home-milestone-copy > p:last-child {
  max-width: 800px;
  margin: 8px 0 0;
  color: #dce0e7;
  line-height: 1.55;
}

.home-milestone-note {
  position: relative;
  z-index: 1;
  min-width: 138px;
  padding: 14px 16px;
  background: rgba(3, 30, 42, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  text-align: center;
}

.home-milestone-note strong,
.home-milestone-note span {
  display: block;
}

.home-milestone-note strong {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 950;
  line-height: 1;
}

.home-milestone-note span {
  margin-top: 5px;
  color: #c2cde4;
  font-size: 0.73rem;
  font-weight: 750;
  text-transform: uppercase;
}

.home-library {
  padding: 48px 0 10px;
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.home-section-heading h2 {
  margin: 0;
  color: #022261;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0;
}

.home-clear-search {
  flex: 0 0 auto;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid rgba(43, 89, 181, 0.24);
  border-radius: 8px;
  color: #022261;
}

.home-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.home-results,
.home-sidebar,
.home-panel {
  min-width: 0;
  width: 100%;
}

.home-table-shell {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(43, 89, 181, 0.18);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(2, 34, 97, 0.08);
}

.home-song-table {
  margin-bottom: 0;
}

.home-song-table thead th {
  padding: 15px 18px;
  background: #123746;
  color: #f9fafc;
  border: 0;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-song-table tbody td {
  padding: 15px 18px;
  border-color: rgba(43, 89, 181, 0.14);
  color: #273a60;
  vertical-align: middle;
}

.home-song-table tbody tr:hover {
  background: rgba(43, 89, 181, 0.08);
}

.home-song-table .song-title a {
  color: #022261;
}

.home-song-table a,
.home-popular-list a,
.home-popular-list span,
.home-category-list a {
  overflow-wrap: anywhere;
  word-break: normal;
}

.home-pagination {
  margin-top: 20px;
}

.home-pagination .page-link {
  border: 0;
  margin: 3px;
  border-radius: 6px;
}

.home-sidebar {
  display: grid;
  gap: 18px;
}

.home-panel {
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(43, 89, 181, 0.2);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(2, 34, 97, 0.07);
}

.home-panel h3 {
  margin: 0 0 14px;
  color: #022261;
  font-size: 1.1rem;
  font-weight: 850;
}

.home-popular-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.home-popular-list li::marker {
  color: #2b59b5;
  font-weight: 900;
}

.home-popular-list a {
  display: block;
  color: #022261;
  line-height: 1.25;
}

.home-popular-list span {
  display: block;
  color: #697386;
  font-size: 0.86rem;
  font-weight: 600;
}

.home-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-category-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  background: #e2e5eb;
  border: 1px solid rgba(43, 89, 181, 0.2);
  border-radius: 6px;
  color: #022261;
  font-size: 0.92rem;
}

.home-category-list a:hover {
  background: #2b59b5;
  color: #fff;
}

@media (max-width: 991px) {
  .home-hero-grid,
  .home-content-grid {
    grid-template-columns: 1fr;
  }

  .home-stage {
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding: 34px 0 28px;
  }

  .home-brand-mark {
    width: min(330px, 96%);
  }

  .home-search {
    grid-template-columns: 1fr;
  }

  .home-search .btn {
    width: 100%;
  }

  .home-stage-top,
  .home-stage-bottom,
  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-toolrow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-transpose-readout {
    grid-column: span 2;
  }

  .home-tool.wide {
    padding: 0 8px;
  }

  .home-lyric-window {
    height: 300px;
    padding: 16px;
    font-size: 14px;
  }

  .home-milestone {
    padding-top: 22px;
  }

  .home-milestone-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 22px 18px;
    border-radius: 14px;
  }

  .home-milestone-icon {
    width: 52px;
    height: 52px;
    padding: 11px;
  }

  .home-milestone-copy > p:last-child {
    font-size: 0.92rem;
  }

  .home-milestone-note {
    display: none;
  }

  .home-content-grid {
    gap: 18px;
    overflow: hidden;
  }

  .home-table-shell,
  .home-panel {
    max-width: 100%;
  }

  .home-table-shell {
    overflow: hidden;
  }

  .home-song-table,
  .home-song-table thead,
  .home-song-table tbody,
  .home-song-table tr,
  .home-song-table td {
    display: block;
    width: 100%;
  }

  .home-song-table {
    table-layout: fixed;
  }

  .home-song-table thead {
    display: none;
  }

  .home-song-table tbody tr {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(43, 89, 181, 0.16);
  }

  .home-song-table tbody tr:last-child {
    border-bottom: 0;
  }

  .home-song-table tbody td {
    padding: 3px 0;
    border: 0;
  }

  .home-song-table tbody td.author-name {
    width: 100%;
    color: #2a4477;
    font-size: 0.9rem;
  }

  .home-song-table tbody td.song-title {
    width: 100%;
    font-size: 1.02rem;
  }

  .home-song-table tbody td.author-name,
  .home-song-table tbody td.song-title {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .home-sidebar {
    gap: 14px;
  }

  .home-panel {
    padding: 16px;
  }

  .home-popular-list {
    padding-left: 18px;
  }

  .home-category-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-category-list a {
    width: 100%;
    justify-content: flex-start;
  }
}
