/*
Theme Name: Best Roots Reggae
Theme URI: https://bestrootsreggae.com
Author: Best Roots Reggae
Description: Premium roots reggae WordPress theme for releases, editorial content, streaming promotion, and monetization.
Version: 1.0.3
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: best-roots-reggae
*/

:root {
  --brr-green: #163c2e;
  --brr-green-light: #255440;
  --brr-gold: #d8a928;
  --brr-black: #111111;
  --brr-offwhite: #f7f5ef;
  --brr-text: #222222;
  --brr-border: #e6ddc8;
  --brr-red: #d92d2d;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--brr-offwhite);
  color: var(--brr-text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.brr-container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.brr-reading-width { width: min(820px, calc(100% - 32px)); margin: 0 auto; }
.brr-section { padding: 56px 0; }
.brr-grid { display: grid; gap: 24px; }
.brr-grid-3 { grid-template-columns: repeat(3, 1fr); }
.brr-grid-4 { grid-template-columns: repeat(4, 1fr); }

.brr-site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(247,245,239,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--brr-border);
}
.brr-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 82px; gap: 20px;
}
.brr-site-title { font-size: 1.4rem; font-weight: 800; color: var(--brr-green); }
.brr-branding .custom-logo-link, .brr-branding .brr-logo-link { display: inline-flex; align-items: center; }
.brr-branding .custom-logo { max-height: 56px; width: auto; }

.brr-desktop-nav .brr-menu, .brr-footer-menu {
  list-style: none; display: flex; gap: 18px; padding: 0; margin: 0;
}
.brr-desktop-nav .menu-item a, .brr-footer-menu .menu-item a { font-weight: 700; }

.brr-mobile-toggle { display: none; }
.brr-mobile-panel { display: none; border-top: 1px solid var(--brr-border); background: #fff; }
.brr-mobile-panel.is-open { display: block; }
.brr-mobile-menu-list { list-style: none; margin: 0; padding: 18px 16px 24px; }
.brr-mobile-menu-list li + li { margin-top: 14px; }

.brr-hero-section {
  padding: 88px 0 56px;
  background: linear-gradient(rgba(22,60,46,.92), rgba(22,60,46,.88));
  color: #fff;
}
.brr-eyebrow {
  display: inline-block; margin-bottom: 12px; color: var(--brr-gold);
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12px;
}
.brr-hero-content { max-width: 760px; }
.brr-hero-content h1 { margin: 0 0 16px; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.05; }
.brr-hero-content p { max-width: 640px; font-size: 1.05rem; line-height: 1.8; }

.brr-hero-actions, .brr-platform-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.brr-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 14px 22px; border-radius: 999px; font-weight: 700;
}
.brr-btn-primary { background: var(--brr-green); color: #fff; }
.brr-btn-secondary { background: var(--brr-gold); color: #111; }
.brr-btn-outline { border: 2px solid var(--brr-green); color: var(--brr-green); background: transparent; }

.brr-card {
  position: relative; background: #fff; border: 1px solid var(--brr-border);
  border-radius: 20px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
.brr-card-image { display: block; position: relative; overflow: hidden; }
.brr-card-image img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #ddd; }
.brr-card-body { padding: 20px; }
.brr-card-body h3 { margin: 0 0 12px; font-size: 1.25rem; line-height: 1.25; }
.brr-card-body p { margin: 0 0 18px; color: #555; line-height: 1.7; }

.brr-badge {
  display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--brr-gold);
  color: #111; font-size: 12px; font-weight: 800; line-height: 1;
}
.brr-release-card .brr-badge { position: absolute; top: 14px; left: 14px; }

.brr-section-alt { background: #f1ede2; }
.brr-section-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px;
}
.brr-section-heading h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.brr-section-link { font-weight: 700; color: var(--brr-green); }

.brr-home-slider { padding: 28px 0 10px; }
.brr-slider-shell { position: relative; }
.brr-slider-viewport { overflow: hidden; border-radius: 24px; }
.brr-slider-track { display: flex; transition: transform .5s ease; will-change: transform; }
.brr-slide { min-width: 100%; position: relative; }
.brr-slide-link { display: block; position: relative; }
.brr-slide-image img { width: 100%; height: 520px; object-fit: cover; background: #ddd; }
.brr-slide-overlay {
  position: absolute; inset: auto 0 0 0; padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.05)); color: #fff;
}
.brr-slide-type {
  display: inline-block; padding: 6px 10px; border-radius: 999px;
  background: rgba(216,169,40,.95); color: #111; font-size: 12px; font-weight: 700;
}
.brr-slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border: 0; border-radius: 999px;
  background: rgba(17,17,17,.72); color: #fff; font-size: 28px; cursor: pointer;
}
.brr-slider-prev { left: 16px; }
.brr-slider-next { right: 16px; }

.brr-page-hero, .brr-post-header {
  padding: 70px 0 34px; background: linear-gradient(180deg, #f1ede2, #f7f5ef);
}
.brr-page-hero-dark { background: linear-gradient(180deg, #163c2e, #224739); color: #fff; }

.brr-release-single, .brr-feature-box, .brr-spotlight-box, .brr-post-header-inner, .brr-footer-top {
  display: grid; gap: 28px;
}
.brr-release-single { grid-template-columns: .9fr 1.1fr; }
.brr-post-header-inner { grid-template-columns: 1.1fr .9fr; align-items: center; }
.brr-feature-box { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 34px; border-radius: 28px; }
.brr-feature-box-dark { background: linear-gradient(135deg, #111111, #1e2d26); color: #fff; }
.brr-spotlight-box { grid-template-columns: .9fr 1.1fr; align-items: center; }
.brr-footer-top { grid-template-columns: 1.2fr .8fr; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }

.brr-platform-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.brr-platform-card { display: block; padding: 24px; border-radius: 22px; color: #fff; min-height: 190px; }
.brr-platform-spotify { background: #1db954; }
.brr-platform-apple { background: #111111; }
.brr-platform-youtube { background: #d92d2d; }
.brr-platform-audiomack { background: #f7a600; color: #111; }
.brr-platform-boomplay { background: #163c2e; }

.brr-newsletter-box {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  padding: 34px; border-radius: 28px; background: linear-gradient(135deg, #163c2e, #255440); color: #fff;
}
.brr-newsletter-form { display: flex; gap: 12px; align-items: center; }
.brr-newsletter-form input[type="email"] {
  min-width: 320px; min-height: 52px; padding: 0 18px; border: 0; border-radius: 999px; font-size: 1rem;
}

.brr-site-footer { padding: 48px 0 20px; background: #111111; color: #f7f5ef; }
.brr-footer-bottom { padding-top: 18px; color: rgba(255,255,255,.75); }

.brr-ad-slot { margin: 32px 0; }
.brr-ad-slot-inner {
  min-height: 140px; display: grid; place-items: center; background: #efe9d8;
  border: 1px dashed #c7b98e; border-radius: 20px; color: #7b6d43;
}

.brr-empty-state, .brr-404-box {
  padding: 40px; text-align: center; background: #fff; border: 1px solid var(--brr-border); border-radius: 24px;
}

@media (max-width: 1100px) {
  .brr-grid-4, .brr-platform-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .brr-grid-3, .brr-grid-4, .brr-release-single, .brr-feature-box, .brr-spotlight-box,
  .brr-post-header-inner, .brr-footer-top, .brr-newsletter-box { grid-template-columns: 1fr; }
  .brr-slide-image img { height: 420px; }
}
@media (max-width: 767px) {
  .brr-section { padding: 56px 0; }
  .brr-container, .brr-reading-width { width: min(100%, calc(100% - 20px)); }
  .brr-desktop-nav { display: none; }
  .brr-mobile-toggle {
    display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; padding: 0;
  }
  .brr-mobile-toggle span { width: 24px; height: 2px; background: #111; display: block; }
  .brr-grid-3, .brr-grid-4, .brr-platform-grid { grid-template-columns: 1fr; }
  .brr-section-heading { align-items: start; flex-direction: column; }
  .brr-slide-image img { height: 300px; }
  .brr-slide-overlay { padding: 18px; }
  .brr-card-body { padding: 18px; }
  .brr-platform-buttons, .brr-hero-actions, .brr-newsletter-form { flex-direction: column; align-items: stretch; }
  .brr-btn { width: 100%; }
  .brr-newsletter-form input[type="email"] { min-width: 100%; }
  .brr-slider-nav { width: 40px; height: 40px; font-size: 24px; }
  .brr-slider-prev { left: 10px; }
  .brr-slider-next { right: 10px; }
}
