/**
 * HAH Shell — fullwidth layout (demo + production sync).
 * Tokens inherit from brand-tokens.css (--hah-*).
 * Source of truth for homepage / list chrome; keep demo HTML on the same classes.
 */
:root {
  --hah-shell-bg: var(--hah-bg, #f7f8fa);
  --hah-shell-surface: var(--hah-surface, #fff);
  --hah-shell-surface-2: var(--hah-surface-muted, #eef1f4);
  --hah-shell-text: var(--hah-ink, #1a1c1e);
  --hah-shell-muted: var(--hah-ink-muted, #5c636a);
  --hah-shell-line: var(--hah-border, #e3e6ea);
  --hah-shell-red: var(--hah-brand, #d83030);
  --hah-shell-red-dark: var(--hah-brand-hover, #b82525);
  --hah-shell-red-soft: #fff1f0;
  --hah-shell-shadow: 0 8px 24px rgba(26, 28, 30, 0.05);
  --hah-shell-pad: 28px;
  --hah-shell-radius: var(--hah-radius, 10px);
  --hah-shell-sidebar: 350px;
}

@media (min-width: 1500px) {
  :root {
    --hah-shell-pad: 42px;
    --hah-shell-sidebar: 390px;
    --hah-page-gutter: 42px;
    --hah-page-gutter-lg: 42px;
  }
}

@media (max-width: 720px) {
  :root {
    --hah-shell-pad: 14px;
    --hah-page-gutter: 14px;
    --hah-page-gutter-lg: 14px;
  }
}

/* ---------- Shared wrappers ---------- */
.hah-wrap {
  width: 100%;
  max-width: none;
  padding-left: var(--hah-shell-pad);
  padding-right: var(--hah-shell-pad);
  margin: 0 auto;
}

.hah-shell body,
body.hah-shell {
  background: var(--hah-shell-bg);
  color: var(--hah-shell-text);
}

/* Beat Bootstrap container caps — cùng pad với hero (.hah-wrap) */
body.hah-shell .container,
body.hah-shell .container-sm,
body.hah-shell .container-md,
body.hah-shell .container-lg,
body.hah-shell .container-xl,
body.hah-shell .container-xxl,
body.hah-shell .hah-wrap.container {
  max-width: none !important;
  width: 100%;
  padding-left: var(--hah-shell-pad) !important;
  padding-right: var(--hah-shell-pad) !important;
}

/* Child page chrome (lists / singles / archives) */
.hah-page {
  padding-top: 18px;
  padding-bottom: 40px;
}

.hah-crumb-wrap {
  padding-top: 8px;
  padding-bottom: 0;
  margin: 0;
}

.hah-breadcrumbs {
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--hah-shell-muted);
}

.hah-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hah-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
}

.hah-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #a1a1aa;
  margin-left: 0.2rem;
  font-weight: 600;
}

.hah-breadcrumbs a {
  color: var(--hah-shell-muted);
  text-decoration: none;
  font-weight: 600;
}

.hah-breadcrumbs a:hover {
  color: var(--hah-shell-red);
}

.hah-breadcrumbs [aria-current="page"] {
  color: var(--hah-shell-text);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(48ch, 70vw);
}

body.hah-shell .hah-page .page-header {
  border-bottom: 1px solid var(--hah-shell-line) !important;
  padding-bottom: 12px;
  margin-bottom: 18px !important;
}

body.hah-shell .hah-page .page-title,
body.hah-shell .hah-page h1.page-title {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hah-shell-text);
  margin: 0;
}

/* ---------- Centered title band (song / tab / sheet / blog) ---------- */
.hah-title-band {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr) minmax(0, 160px);
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 0.75rem;
  padding: 0;
}

.hah-title-ad {
  min-height: 0;
  min-width: 0;
}

.hah-title-ad .hade-ad {
  margin: 0;
  min-height: 90px;
}

.hah-title-core {
  min-width: 0;
  text-align: center;
}

.hah-title-core .hah-breadcrumbs {
  display: flex;
  justify-content: center;
  margin: 0 0 0.35rem;
}

.hah-title-core .hah-breadcrumbs ol {
  justify-content: center;
}

.hah-title-core .hah-breadcrumbs [aria-current="page"] {
  max-width: min(36ch, 55vw);
}

.hah-title-core .entry-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--hah-shell-text);
  text-wrap: balance;
}

.hah-title-core .hah-title-meta,
.hah-title-core .song-meta-strip,
.hah-title-core .tab-meta-strip,
.hah-title-core .sheet-meta-strip,
.hah-title-core .entry-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 0.85rem;
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--hah-shell-muted);
}

.hah-title-core .hah-title-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

@media (max-width: 991.98px) {
  .hah-title-band {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .hah-title-ad {
    display: none;
  }
}

/* Practice / tab stages: cùng gutter với hero */
body.hah-shell .song-page-full,
body.hah-shell .tab-page-full,
body.hah-shell .sheet-page-full {
  padding-left: var(--hah-shell-pad) !important;
  padding-right: var(--hah-shell-pad) !important;
}

/* ---------- Header restyle (keep autocomplete DOM) ---------- */
body.hah-shell #site-header {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--hah-shell-line) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0;
}

body.hah-shell #site-header .header-desktop {
  min-height: 68px;
  gap: 18px;
}

body.hah-shell #site-header .header-search-form .form-control {
  height: 42px;
  border-radius: 11px;
  background: var(--hah-shell-surface-2);
  border-color: var(--hah-shell-line);
}

body.hah-shell #site-header .btn-primary {
  border-radius: 9px;
  font-weight: 800;
}

body.hah-shell #site-header .navbar-nav .nav-link {
  font-weight: 700;
  color: #3f3f46;
  border-radius: 8px;
  padding: 8px 9px;
}

body.hah-shell #site-header .navbar-nav .nav-link:hover {
  background: #f4f4f5;
  color: var(--hah-shell-text);
}

/* ---------- Hero (centered manifesto) ---------- */
.hah-hero {
  background: var(--hah-shell-surface);
  border-bottom: 1px solid var(--hah-shell-line);
}

.hah-hero-in {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding: 34px 0 40px;
}

.hah-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hah-kicker {
  color: var(--hah-shell-red);
  text-transform: uppercase;
  font-weight: 850;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hah-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
  color: var(--hah-shell-text);
  font-weight: 800;
  max-width: 20em;
}

.hah-hero p {
  max-width: 52ch;
  color: #52525b;
  font-size: 16px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.hah-hero-search {
  display: flex;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  gap: 8px;
}

.hah-hero-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 1px solid var(--hah-shell-line);
  border-radius: 11px;
  padding: 0 14px;
  outline: none;
  background: #fff;
  text-align: left;
}

.hah-hero-search input:focus {
  border-color: #d1d5db;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.03);
}

.hah-hero-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(96px, 14vw, 140px);
  color: var(--hah-shell-red);
  opacity: 0.06;
  user-select: none;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.hah-btn {
  border: 1px solid var(--hah-shell-line);
  background: #fff;
  padding: 9px 13px;
  border-radius: 9px;
  font-weight: 800;
  color: var(--hah-shell-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}

.hah-btn:hover {
  color: var(--hah-shell-text);
  text-decoration: none;
}

.hah-btn-primary,
a.hah-btn-primary {
  background: var(--hah-shell-red);
  color: #fff !important;
  border-color: var(--hah-shell-red);
}

.hah-btn-primary:hover,
a.hah-btn-primary:hover {
  background: var(--hah-shell-red-dark);
  border-color: var(--hah-shell-red-dark);
  color: #fff !important;
}

.hah-hero-search .hah-btn {
  height: 46px;
  padding: 0 16px;
  white-space: nowrap;
}

/* ---------- Content shell ---------- */
.hah-content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--hah-shell-sidebar);
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 40px;
}

.hah-main,
.hah-sidebar {
  min-width: 0;
}

.hah-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 0.35rem 0 12px;
}

.hah-section-head h2 {
  font-size: 23px;
  margin: 0;
  font-weight: 800;
  color: var(--hah-shell-text);
}

.hah-section-head p {
  margin: 2px 0 0;
  color: var(--hah-shell-muted);
}

/* List/archive page titles = same scale as home section heads */
.hah-page-title,
.hah-section-head .hah-page-title,
h1.hah-page-title {
  font-size: 23px;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hah-shell-text);
  line-height: 1.25;
}

.hah-archive-desc,
.hah-page-intro {
  color: var(--hah-shell-muted);
  font-size: 14px;
  margin: 0 0 14px;
  max-width: 65ch;
}

.hah-page-intro p:last-child {
  margin-bottom: 0;
}

.hah-empty {
  padding: 18px;
  color: var(--hah-shell-muted);
  font-size: 14px;
}

.hah-list-ad {
  padding: 12px 18px;
  border-bottom: 1px solid var(--hah-shell-line);
  background: var(--hah-shell-surface);
}

/* Pagination — shell */
.hah-pagination {
  margin-top: 18px;
}

.hah-pagination .page-numbers,
.hah-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.hah-pagination li {
  margin: 0;
}

.hah-pagination a.page-numbers,
.hah-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--hah-shell-line);
  border-radius: 9px;
  background: #fff;
  color: var(--hah-shell-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.hah-pagination a.page-numbers:hover {
  border-color: rgba(var(--hah-brand-rgb, 216, 48, 48), 0.35);
  color: var(--hah-shell-red);
}

.hah-pagination span.page-numbers.current {
  background: var(--hah-shell-red);
  border-color: var(--hah-shell-red);
  color: #fff;
}

/* Sidebar widgets → match .hah-side */
body.hah-shell .hah-sidebar .widget {
  background: var(--hah-shell-surface);
  border: 1px solid var(--hah-shell-line);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 14px;
  box-shadow: none;
}

body.hah-shell .hah-sidebar .widget-title,
body.hah-shell .hah-sidebar h2,
body.hah-shell .hah-sidebar h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--hah-shell-text);
}

body.hah-shell .hah-sidebar a {
  color: var(--hah-shell-text);
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
}

body.hah-shell .hah-sidebar a:hover {
  color: var(--hah-shell-red);
}

body.hah-shell .hah-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.hah-shell .hah-sidebar li {
  padding: 7px 0;
  border-bottom: 1px solid var(--hah-shell-line);
  font-size: 13.5px;
}

body.hah-shell .hah-sidebar li:last-child {
  border-bottom: 0;
}

.hah-link {
  color: var(--hah-shell-red);
  font-weight: 800;
  text-decoration: none;
}

.hah-link:hover {
  color: var(--hah-shell-red-dark);
}

/* ---------- Quick strip ---------- */
.hah-quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.hah-quick-card {
  background: var(--hah-shell-surface);
  border: 1px solid var(--hah-shell-line);
  border-radius: 11px;
  padding: 15px;
  min-height: 98px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

a.hah-quick-card:hover {
  border-color: rgba(var(--hah-brand-rgb, 216, 48, 48), 0.35);
  background: #fffafa;
  color: inherit;
  text-decoration: none;
}

.hah-quick-card b {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.hah-quick-card span {
  color: var(--hah-shell-muted);
  font-size: 12.5px;
}

/* ---------- Song list ---------- */
.hah-song-list {
  background: var(--hah-shell-surface);
  border: 1px solid var(--hah-shell-line);
  border-radius: 12px;
  overflow: hidden;
}

.hah-song {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--hah-shell-line);
  transition: background 0.16s ease;
  text-decoration: none;
  color: inherit;
}

.hah-song:last-child {
  border-bottom: 0;
}

.hah-song:hover {
  background: #fffafa;
  color: inherit;
  text-decoration: none;
}

.hah-song-title {
  font-size: 16px;
  font-weight: 850;
  margin-bottom: 5px;
  color: var(--hah-shell-text);
}

.hah-song:hover .hah-song-title {
  color: var(--hah-shell-red);
}

.hah-song-desc {
  font-size: 13px;
  color: #52525b;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hah-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--hah-shell-muted);
  font-size: 12.5px;
}

.hah-tags {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.hah-tag {
  padding: 5px 8px;
  border-radius: 7px;
  background: #f4f4f5;
  color: #52525b;
  font-weight: 750;
  font-size: 12px;
}

.hah-tag-red {
  background: var(--hah-shell-red-soft);
  color: var(--hah-shell-red-dark);
}

/* ---------- Sidebar ranks ---------- */
.hah-side {
  background: var(--hah-shell-surface);
  border: 1px solid var(--hah-shell-line);
  border-radius: 12px;
  padding: 17px;
  margin-bottom: 16px;
}

.hah-side h3 {
  font-size: 15px;
  margin: 0 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  border: 0;
  padding: 0;
}

.hah-rank {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
}

.hah-rank:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.hah-rank:hover {
  color: inherit;
  text-decoration: none;
}

.hah-rank:hover .hah-rank-title {
  color: var(--hah-shell-red);
}

.hah-num {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #f4f4f5;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 850;
  color: #71717a;
}

.hah-rank:nth-of-type(-n+3) .hah-num {
  background: var(--hah-shell-red-soft);
  color: var(--hah-shell-red);
}

.hah-rank-title {
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.hah-rank small {
  color: var(--hah-shell-muted);
  display: block;
  margin-top: 2px;
}

/* ---------- Footer (2 tiers / 4 clusters) ---------- */
body.hah-shell .site-footer,
.hah-footer {
  border-top: 1px solid #35393f;
  background: #2c3138;
  color: #d4d4d8;
  padding: 28px var(--hah-shell-pad) 18px;
  margin-top: 0;
  text-align: left;
}

.hah-footer-in {
  display: block;
  width: 100%;
}

.hah-footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  padding-bottom: 22px;
}

.hah-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.hah-footer-col b {
  font-size: 15px;
  color: #fff;
}

.hah-footer-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 0.2rem;
}

.hah-footer-col a {
  color: #c7c7cc;
  font-size: 13px;
  text-decoration: none;
}

.hah-footer-col a:hover {
  color: #fff;
}

.hah-footer-copy {
  border-top: 1px solid #3f444c;
  padding-top: 14px;
}

.hah-footer p,
body.hah-shell .site-footer .footer-description,
body.hah-shell .site-footer .footer-note {
  margin: 4px 0;
  color: #a1a1aa;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
}

.hah-footer-copy a,
body.hah-shell .site-footer .footer-note a {
  color: #d4d4d8;
}

.hah-footer-links,
body.hah-shell .site-footer .footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .hah-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .hah-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Blog list cards (16:9 cover) ---------- */
.hah-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hah-blog-card {
  background: var(--hah-shell-surface);
  border: 1px solid var(--hah-shell-line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hah-blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hah-blog-card-link:hover,
.hah-blog-card-link:focus {
  color: inherit;
  text-decoration: none;
}

.hah-blog-card-media {
  aspect-ratio: 16 / 9;
  background: #fff8f7;
  overflow: hidden;
}

.hah-blog-card-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hah-blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hah-blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  flex: 1;
}

.hah-blog-card-title {
  font-size: 16px;
  font-weight: 850;
  line-height: 1.35;
  margin: 0;
  color: var(--hah-shell-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hah-blog-card:hover .hah-blog-card-title,
.hah-blog-card-link:focus .hah-blog-card-title {
  color: var(--hah-shell-red);
}

.hah-blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: var(--hah-shell-muted);
  font-size: 12.5px;
}

.hah-blog-card-excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #52525b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hah-blog-card .hah-tag {
  align-self: flex-start;
  margin-top: auto;
}

.hah-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hah-shell-shadow);
  border-color: #f0c9c7;
}

@media (prefers-reduced-motion: reduce) {
  .hah-blog-card {
    transition: none;
  }
  .hah-blog-card:hover {
    transform: none;
  }
}

@media (max-width: 1050px) {
  .hah-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hah-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Blog single / post chrome (3-layer) ---------- */
body.hah-shell.single-post .hah-page,
body.hah-shell.blog .hah-page,
body.hah-shell.page .hah-page.hah-blog-page {
  padding-top: 10px;
  padding-bottom: 24px;
}

body.hah-shell .hah-blog-page {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(720px, 860px) minmax(160px, 300px);
  gap: 24px;
  justify-content: center;
  align-items: start;
  max-width: none;
  margin: 0 auto;
}

body.hah-shell .hah-blog-page > .hah-title-band {
  display: block;
  grid-column: 1 / -1;
  margin: 0 0 0.15rem;
}

body.hah-shell .hah-blog-page .hah-title-band .hah-title-core {
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--hah-shell-line);
}

body.hah-shell .hah-blog-page .hah-title-core .entry-title {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  margin: 0;
}

body.hah-shell.single-post .hah-title-core .entry-meta {
  margin-top: 0.4rem;
}

body.hah-shell .hah-blog-page .hah-blog-main {
  min-width: 0;
  max-width: 860px;
}

body.hah-shell .hah-blog-page .hah-blog-rail {
  min-width: 0;
}

body.hah-shell .hah-blog-page .hah-blog-rail-sticky {
  position: sticky;
  top: 100px;
}

body.hah-shell .hah-blog-page .hah-blog-inflow-ad {
  display: none;
}

body.hah-shell .hah-blog-page .hah-blog-article .entry-content {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--hah-shell-text);
}

body.hah-shell .hah-blog-page .hah-blog-article .entry-content > *:first-child {
  margin-top: 0;
}

body.hah-shell .hah-blog-page .hah-blog-article .entry-content a {
  color: var(--hah-shell-red);
}

@media (max-width: 1199.98px) {
  body.hah-shell .hah-blog-page {
    grid-template-columns: minmax(0, 860px);
    max-width: 860px;
  }
  body.hah-shell .hah-blog-page .hah-blog-rail {
    display: none;
  }
  body.hah-shell .hah-blog-page .hah-blog-inflow-ad {
    display: block;
    margin: 1rem 0 0;
  }
}

/* Explore semi-footer */
.hah-explore-foot {
  background: #f5f5f6;
  border-top: 1px solid var(--hah-shell-line);
  padding: 1.35rem 0 1.6rem;
}

.hah-explore-foot-head {
  margin: 0 0 0.85rem;
}

.hah-explore-foot-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hah-shell-text);
}

.hah-explore-foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.hah-explore-col {
  background: var(--hah-shell-surface);
  border: 1px solid var(--hah-shell-line);
  border-radius: var(--hah-shell-radius);
  padding: 0.95rem 1.05rem 0.85rem;
}

.hah-explore-col h3 {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--hah-shell-text);
  border-bottom: 2px solid var(--hah-shell-red);
  padding-bottom: 0.3rem;
  display: inline-block;
}

.hah-explore-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hah-explore-col li {
  padding: 0.32rem 0;
  border-bottom: 1px solid var(--hah-shell-line);
  font-size: 0.88rem;
}

.hah-explore-col li:last-child {
  border-bottom: 0;
}

.hah-explore-col a {
  color: var(--hah-shell-text);
  text-decoration: none;
}

.hah-explore-col a:hover {
  color: var(--hah-shell-red);
}

.hah-explore-more {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hah-shell-red) !important;
}

.hah-explore-empty {
  color: var(--hah-shell-muted);
}

@media (max-width: 800px) {
  .hah-explore-foot-grid {
    grid-template-columns: 1fr;
  }
}

/* Comment card */
.hah-comment-box {
  margin-top: 1.35rem;
  padding: 1.1rem 1.15rem 0.85rem;
  background: var(--hah-shell-surface);
  border: 1px solid var(--hah-shell-line);
  border-radius: var(--hah-shell-radius);
}

.hah-comment-head {
  margin-bottom: 0.85rem;
}

.hah-comment-lead {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--hah-shell-muted);
}

.hah-comment-field {
  margin: 0 0 0.7rem;
}

.hah-comment-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hah-comment-field textarea,
.hah-comment-field input[type="text"],
.hah-comment-field input[type="email"] {
  width: 100%;
  border: 1px solid var(--hah-shell-line);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}

.hah-comment-field textarea {
  min-height: 120px;
  resize: vertical;
}

.hah-comment-box .comment-reply-title {
  display: none;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.55rem;
}
.hah-comment-box .comment-reply-title:has(#cancel-comment-reply-link:not([style*="none"])) {
  display: block;
}

.hah-comment-box .form-submit {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.hah-comment-submit,
.hah-comment-box .hah-comment-submit {
  appearance: none;
  border: 0;
  background: var(--hah-shell-red);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.hah-comment-submit:hover {
  background: var(--hah-shell-red-dark);
  color: #fff !important;
}

.hah-comment-login {
  padding: 0.85rem 0 1rem;
}

.hah-comment-login-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.hah-comment-register {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hah-shell-text);
  align-self: center;
}

.hah-comment-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.hah-comment-list .hah-comment {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hah-comment-list .children {
  list-style: none;
  margin: 0 0 0 2.4rem;
  padding: 0;
}

.hah-comment-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hah-shell-line);
}

.hah-comment-avatar img {
  border-radius: 50%;
  display: block;
}

.hah-comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.hah-comment-author {
  font-weight: 800;
  font-size: 0.9rem;
}

.hah-comment-time {
  font-size: 0.78rem;
  color: var(--hah-shell-muted);
}

.hah-comment-text p:last-child {
  margin-bottom: 0;
}

.hah-comment-card .comment-reply-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--hah-shell-red);
  text-decoration: none;
}

body.hah-shell.single-post .entry-meta a {
  color: var(--hah-shell-muted);
  text-decoration: none;
}

body.hah-shell.single-post .entry-meta a:hover {
  color: var(--hah-shell-red);
}

body.hah-shell.single-post .entry-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--hah-shell-text);
}

body.hah-shell.single-post .entry-content > *:first-child {
  margin-top: 0;
}

body.hah-shell.single-post .entry-content iframe,
body.hah-shell.single-post .entry-content embed,
body.hah-shell.single-post .entry-content video,
body.hah-shell.single-post .entry-content .wp-block-embed {
  max-width: 100%;
  margin: 1.25rem 0;
}

body.hah-shell.single-post .entry-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1.1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hah-shell-line);
  font-size: 0.9rem;
  color: var(--hah-shell-muted);
  line-height: 1.5;
}

body.hah-shell.single-post .entry-footer .cat-links,
body.hah-shell.single-post .entry-footer .tags-links,
body.hah-shell.single-post .entry-footer .edit-link {
  display: inline;
}

body.hah-shell.single-post .entry-footer a {
  color: var(--hah-shell-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.hah-shell.single-post .entry-footer a:hover {
  color: var(--hah-shell-red);
}

body.hah-shell.single-post .post-navigation {
  margin: 1.75rem 0 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--hah-shell-line);
  border-bottom: 1px solid var(--hah-shell-line);
}

/* Underscores/Bootstrap sometimes leave .screen-reader-text visible. */
body.hah-shell .screen-reader-text,
body.hah-shell.single-post .post-navigation > h2.screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
}

body.hah-shell.single-post .post-navigation .nav-links {
  display: grid;
  gap: 0.85rem;
}

body.hah-shell.single-post .post-navigation .nav-subtitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hah-shell-muted);
  margin-bottom: 0.2rem;
}

body.hah-shell.single-post .post-navigation .nav-title {
  color: var(--hah-shell-text);
  font-weight: 700;
  line-height: 1.35;
}

body.hah-shell.single-post .post-navigation a:hover .nav-title {
  color: var(--hah-shell-red);
}

body.hah-shell.single-post .comments-title,
body.hah-shell.single-post .comment-reply-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
}

/* Hide floating / auto ads for admins (DEV) */
body.hah-no-ads .adsbygoogle,
body.hah-no-ads ins.adsbygoogle,
body.hah-no-ads [id^="google_ads_iframe"],
body.hah-no-ads .google-auto-placed {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .hah-content-shell {
    grid-template-columns: 1fr;
  }
  .hah-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .hah-side {
    margin: 0;
  }
  .hah-quick-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .hah-hero-in {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hah-hero-search {
    flex-direction: column;
  }
  .hah-hero-search .hah-btn {
    height: 44px;
  }
  .hah-content-shell {
    padding-top: 18px;
  }
  .hah-song {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  .hah-tags {
    justify-content: flex-start;
  }
  .hah-sidebar {
    grid-template-columns: 1fr;
  }
  .hah-quick-strip {
    grid-template-columns: 1fr;
  }
  .hah-footer-in {
    flex-direction: column;
  }
}
