/*
Theme Name: Beat Break Radio
Theme URI:
Author: Beat Break Radio
Author URI:
Description: Editorial theme for a music and radio journal: warm dark palette, condensed headlines, long-read article typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beat-break-radio
Tags:
*/

/* ---------------------------------------------------------------------------
   Article and page body typography.
   The compiled utility sheet is generated from the homepage markup only, so it
   carries no long-form rules; single.php and page.php rely on these.
   --------------------------------------------------------------------------- */
.prose {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.prose p {
  margin: 0 0 1.3em;
}

.prose h2,
.prose h3,
.prose h4 {
  font-family: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #f5f5f4;
}

.prose h2 {
  font-size: 1.875rem;
  margin: 2.25em 0 0.6em;
}

.prose h3 {
  font-size: 1.4375rem;
  margin: 2em 0 0.55em;
}

.prose h4 {
  font-size: 1.1875rem;
  margin: 1.8em 0 0.5em;
}

.prose h2:first-child,
.prose h3:first-child,
.prose p:first-child {
  margin-top: 0;
}

.prose a {
  color: #fbbf24;
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 191, 36, 0.4);
  transition: border-color 0.15s ease;
}

.prose a:hover {
  border-bottom-color: #fbbf24;
}

.prose strong {
  color: #f5f5f4;
  font-weight: 600;
}

.prose ul,
.prose ol {
  margin: 0 0 1.3em;
  padding-left: 1.5em;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin: 0.4em 0;
}

.prose li::marker {
  color: #a8a29e;
}

.prose blockquote {
  margin: 1.75em 0;
  padding-left: 1.25em;
  border-left: 2px solid #fbbf24;
  color: #d6d3d1;
  font-style: italic;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2em 0;
  border: 1px solid #292524;
}

.prose figure {
  margin: 2em 0;
}

.prose figure img {
  margin: 0;
}

.prose figcaption {
  margin-top: 0.6em;
  font-size: 0.8125rem;
  color: #78716c;
}

.prose hr {
  margin: 2.5em 0;
  border: 0;
  border-top: 1px solid #292524;
}

.prose code {
  font-size: 0.875em;
  background: #1c1917;
  border: 1px solid #292524;
  padding: 0.1em 0.35em;
}

.prose pre {
  margin: 1.75em 0;
  padding: 1em 1.25em;
  background: #1c1917;
  border: 1px solid #292524;
  overflow-x: auto;
}

.prose pre code {
  background: none;
  border: 0;
  padding: 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75em 0;
  font-size: 0.9375rem;
}

.prose th,
.prose td {
  border: 1px solid #292524;
  padding: 0.6em 0.75em;
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: #f5f5f4;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Pagination chips (articles archive, search, post lists). */
.bbr-page-nav a,
.bbr-page-nav span {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid #292524;
  color: #a8a29e;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.bbr-page-nav a:hover {
  color: #fbbf24;
  border-color: #fbbf24;
}

.bbr-page-nav .current {
  color: #fbbf24;
  border-color: #fbbf24;
}

/* Core pagination markup emitted by the_posts_pagination(). */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
}

.nav-links .page-numbers {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid #292524;
  color: #a8a29e;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a.page-numbers:hover,
.nav-links .page-numbers.current {
  color: #fbbf24;
  border-color: #fbbf24;
}

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