/*
Theme Name: HitzBaze
Theme URI: https://www.hitzbaze.com.ng/
Author: HitzBaze
Description: A music-download WordPress theme inspired by the HitzBaze layout.
Version: 1.0.0
Text Domain: hitzbaze
*/

:root {
  --hb-black: #0b0b0c;
  --hb-white: #ffffff;
  --hb-accent: #e4362b;
  --hb-accent-dark: #b7241a;
  --hb-gold: #ffb100;
  --hb-gray-50: #f7f7f8;
  --hb-gray-100: #eeeef0;
  --hb-gray-200: #DDDEE2;
  --hb-gray-400: #8b8d93;
  --hb-gray-600: #55575e;
  --hb-gray-800: #202124;
  --hb-radius: 8px;
  --hb-max-width: 1200px;
  --hb-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hb-font-heading: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --hb-shadow-sm: 0 1px 2px rgba(0, 0, 0, .08);
  --hb-shadow-md: 0 6px 20px rgba(0, 0, 0, .12);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--hb-black);
  background: var(--hb-white);
  font-family: var(--hb-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--hb-accent); text-decoration: none; transition: color .15s ease, background-color .15s ease; }
a:hover { color: var(--hb-accent-dark); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--hb-black);
  font-family: var(--hb-font-heading);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
button, input, select, textarea { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100000;
  padding: .75em 1.2em;
  color: #fff;
  background: var(--hb-black);
}

.skip-link:focus { top: 8px; left: 8px; }
:focus-visible { outline: 3px solid var(--hb-accent); outline-offset: 2px; }

.hb-container {
  width: min(100% - 40px, var(--hb-max-width));
  margin: 0 auto;
}

/* Header: static, with the logo deliberately isolated on its own row. */
.hb-site-header {
  color: var(--hb-white);
  background: var(--hb-black);
}

.hb-logo-row {
  display: flex;
  justify-content: center;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.hb-logo,
.hb-logo a {
  display: inline-flex;
  align-items: center;
  color: var(--hb-white);
  font-family: var(--hb-font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.5px;
}

.hb-logo img { width: auto; max-height: 42px; }

.hb-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: var(--hb-max-width);
  margin: 0 auto;
  padding: 10px 20px;
}

.hb-primary-nav { flex: 1; }
.hb-primary-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .92);
  font-size: .92rem;
  font-weight: 600;
}

.hb-primary-nav a:hover,
.hb-primary-nav .current-menu-item > a {
  color: #fff;
  background: var(--hb-accent);
}

.hb-nav-icon { flex-shrink: 0; opacity: .8; }
.hb-header-actions { display: flex; align-items: center; gap: 8px; }

.hb-search-toggle,
.hb-menu-toggle {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 6px;
  color: var(--hb-white);
  background: transparent;
  cursor: pointer;
}

.hb-search-toggle:hover,
.hb-menu-toggle:hover { background: rgba(255, 255, 255, .1); }
.hb-menu-toggle { display: none; }

.hb-header-search {
  display: none;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: var(--hb-gray-50);
}

.hb-header-search.is-open { display: block; }
.hb-header-search form { display: flex; gap: 8px; max-width: var(--hb-max-width); margin: 0 auto; }
.hb-header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--hb-gray-200);
  border-radius: 6px;
}
.hb-header-search button {
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--hb-accent);
  font-weight: 600;
  cursor: pointer;
}

.hb-mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: var(--hb-black);
}
.hb-mobile-nav.is-open { display: block; }
.hb-mobile-nav ul { margin: 0; padding: 8px 20px 16px; list-style: none; }
.hb-mobile-nav a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 600;
}

.hb-genre-strip {
  overflow-x: auto;
  white-space: nowrap;
  background: var(--hb-gray-800);
}
.hb-genre-strip .hb-container { padding-top: 8px; padding-bottom: 8px; }
.hb-genre-strip a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 18px;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  opacity: .85;
}
.hb-genre-strip a:hover { color: var(--hb-gold); opacity: 1; }

.hb-home-heading {
  margin: 18px 0 0;
  color: var(--hb-gray-600);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hb-section { padding: 30px 0; }
.hb-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--hb-black);
}
.hb-section-head h2 { margin: 0; }
.hb-view-all { white-space: nowrap; font-size: .82rem; font-weight: 700; }

.hb-post-list { display: flex; flex-direction: column; }
.hb-post-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hb-gray-100);
}
.hb-post-row:first-child { padding-top: 0; }
.hb-post-row .hb-card-thumb {
  flex: 0 0 130px;
  width: 130px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--hb-gray-100);
}
.hb-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hb-post-row .hb-card-body { flex: 1; padding: 0; }
.hb-card-type {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 14px;
  border: 1px solid var(--hb-gray-200);
  border-radius: 999px;
  color: var(--hb-black);
  font-size: .8rem;
  font-weight: 600;
}
.hb-card-title { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.hb-card-title a { display: block; color: var(--hb-black); }
.hb-card-title a:hover { color: var(--hb-accent); }

.hb-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 20px 0 48px;
}
.hb-layout.hb-no-sidebar { grid-template-columns: 1fr; }
.hb-breadcrumbs { padding: 12px 0; color: var(--hb-gray-600); font-size: .82rem; }
.hb-breadcrumbs a { color: var(--hb-gray-600); }

.hb-archive-title { margin: 22px 0 8px; }
.hb-archive-description { color: var(--hb-gray-600); }

.hb-single-header { padding: 26px 0 18px; }
.hb-single-header h1 { margin-bottom: 10px; }
.hb-post-meta { color: var(--hb-gray-600); font-size: .84rem; }
.hb-featured-image { overflow: hidden; margin: 0 0 22px; border-radius: var(--hb-radius); background: var(--hb-gray-100); }
.hb-featured-image img { width: 100%; max-height: 620px; object-fit: cover; }
.hb-entry-content { max-width: 780px; font-size: 1.04rem; }
.hb-entry-content h2, .hb-entry-content h3 { margin-top: 1.4em; }
.hb-entry-content img { margin: 20px 0; border-radius: var(--hb-radius); }
.hb-entry-content audio { width: 100%; margin: 12px 0 20px; }

.hb-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.hb-share a {
  padding: 7px 12px;
  border: 1px solid var(--hb-gray-200);
  border-radius: 6px;
  color: var(--hb-black);
  font-size: .8rem;
  font-weight: 700;
}
.hb-share a:hover { border-color: var(--hb-accent); color: #fff; background: var(--hb-accent); }

.hb-author-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 26px 0;
  padding: 18px;
  border-radius: var(--hb-radius);
  background: var(--hb-gray-50);
}
.hb-author-box img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.hb-author-box h3 { margin: 0 0 4px; font-size: .95rem; }
.hb-author-box p { margin: 0 0 6px; color: var(--hb-gray-600); font-size: .85rem; }

.hb-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0; }
.hb-pagination a, .hb-pagination span {
  padding: 8px 14px;
  border: 1px solid var(--hb-gray-200);
  border-radius: 6px;
  color: var(--hb-black);
  font-size: .88rem;
  font-weight: 600;
}
.hb-pagination .current { border-color: var(--hb-accent); color: #fff; background: var(--hb-accent); }

.hb-comments { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--hb-gray-100); }
.comment-list { margin: 0; padding: 0; list-style: none; }
.comment-list .comment { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--hb-gray-100); }
#respond input[type="text"], #respond input[type="email"], #respond textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid var(--hb-gray-200);
  border-radius: 6px;
}
#respond .form-submit input {
  padding: 10px 20px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--hb-accent);
  font-weight: 700;
  cursor: pointer;
}

.hb-site-footer {
  margin-top: 40px;
  color: #cfd0d3;
  background: var(--hb-black);
}
.hb-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: var(--hb-max-width);
  margin: 0 auto;
  padding: 40px 20px 20px;
}
.hb-footer-col h3, .hb-footer-artists h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hb-footer-col p { color: #a7a8ad; font-size: .86rem; }
.hb-footer-col ul { margin: 0; padding: 0; list-style: none; }
.hb-footer-col li { margin-bottom: 7px; font-size: .88rem; }
.hb-footer-col a { color: #cfd0d3; }
.hb-footer-col a:hover, .hb-footer-artists a:hover { color: #fff; }
.hb-footer-artists { padding: 22px 0; border-top: 1px solid #29292c; }
.hb-footer-artists p { margin: 0; line-height: 2.4; }
.hb-footer-artists a { margin-right: 6px; color: #a7a8ad; font-size: .85rem; white-space: nowrap; }
.hb-footer-bottom { padding: 14px 20px; border-top: 1px solid #29292c; color: #8a8b90; font-size: .8rem; text-align: center; }

.hb-404 { padding: 56px 20px; text-align: center; }
.hb-404-code { color: var(--hb-accent); font-family: var(--hb-font-heading); font-size: 3.6rem; font-weight: 800; }

@media (min-width: 640px) {
  .hb-post-row .hb-card-thumb { flex-basis: 160px; width: 160px; }
  .hb-post-row .hb-card-title { font-size: 1.15rem; }
}

@media (min-width: 800px) {
  .hb-footer-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 959px) {
  .hb-primary-nav { display: none; }
  .hb-nav-row { justify-content: space-between; }
  .hb-menu-toggle { display: inline-block; }
}

@media (max-width: 560px) {
  .hb-container { width: min(100% - 28px, var(--hb-max-width)); }
  .hb-logo-row { padding-top: 14px; }
  .hb-post-row { align-items: flex-start; gap: 12px; }
  .hb-post-row .hb-card-thumb { flex-basis: 96px; width: 96px; }
  .hb-card-type { margin-bottom: 7px; padding: 4px 10px; font-size: .74rem; }
  .hb-card-title { font-size: .98rem; }
}

@media print {
  .hb-site-header, .hb-site-footer, .hb-share { display: none; }
}