/*
Theme Name: Radio Limburg Sjoske - 4
Theme URI: https://radiolimburg.eu/
Author: Audiostreamen
Description: Compact one-page WordPress theme for the Radio Limburg / DJ Sjoske landing page.
Version: 1.0.0
Text Domain: radiolimburg-sjoske
*/

:root {
  --rl-bg: #050505;
  --rl-panel: rgba(0, 0, 0, 0.76);
  --rl-panel-strong: rgba(0, 0, 0, 0.9);
  --rl-text: #f6f1df;
  --rl-muted: #b7b2a5;
  --rl-accent: #f7b500;
  --rl-line: rgba(255, 255, 255, 0.12);
  --rl-max: 980px;
  --rl-header-max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--rl-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--rl-text);
  background:
    linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.46)),
    url("assets/mixer-bg.jpg") center / cover fixed;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  background: #000;
  border-bottom: 1px solid var(--rl-line);
}

.site-header__inner {
  width: min(100% - 32px, var(--rl-header-max));
  min-height: 190px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: #a7a7a7;
  font-size: clamp(2.6rem, 5vw, 4.05rem);
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  min-height: 74px;
}

.site-nav__list {
  min-height: 74px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex-wrap: wrap;
  list-style: none;
}

.site-nav__list > li {
  margin: 0;
  display: flex;
}

.site-nav a {
  min-width: 102px;
  padding: 29px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--rl-line);
  color: #e8e8e8;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.site-nav__list > li:last-child > a {
  border-right: 1px solid var(--rl-line);
}

.site-nav__accent,
.site-nav__cartwall {
  color: var(--rl-accent);
}

.site-menu-toggle {
  display: none;
}

.site-main {
  min-height: calc(100vh - 280px);
  padding: 0 0 78px;
}

.hero {
  width: min(100% - 32px, var(--rl-max));
  min-height: 520px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.62)),
    url("assets/mixer-bg.jpg") center / cover;
}

.hero__copy {
  max-width: 860px;
  padding: clamp(46px, 7vw, 76px) clamp(32px, 7vw, 60px);
}

.hero h1 {
  margin: 0;
  color: var(--rl-accent);
  font-size: clamp(1.9rem, 3.6vw, 2.45rem);
  font-weight: 300;
  line-height: 1.42;
}

.hero h1 span {
  font-size: clamp(2.55rem, 4.8vw, 3.25rem);
}

.hero--history {
  width: min(100% - 32px, 1180px);
  min-height: auto;
}

.hero__copy--history {
  width: 100%;
  max-width: none;
  padding: clamp(38px, 5vw, 58px) clamp(24px, 5vw, 56px) 44px;
}

.hero__copy--history > h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
}

.site-footer {
  background: #202020;
  border-top: 1px solid var(--rl-line);
}

.site-footer__inner {
  width: min(100% - 32px, var(--rl-max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #d6d6d6;
  font-size: 0.9rem;
}

.footer-links {
  font-size: 0.95rem;
}

.footer-links__list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
}

.footer-links__list > li {
  margin: 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--rl-accent);
}

.cmplz-cookiebanner .cmplz-title {
  font-size: 1.2rem !important;
  line-height: 1.35 !important;
}

.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-message p,
.cmplz-cookiebanner .cmplz-category,
.cmplz-cookiebanner .cmplz-category p,
.cmplz-cookiebanner .cmplz-category label,
.cmplz-cookiebanner .cmplz-links a {
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.cmplz-cookiebanner .cmplz-btn {
  min-height: 48px !important;
  padding: 12px 18px !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
}

@media (max-width: 1180px) {
  .site-header__inner {
    position: relative;
    min-height: 0;
    padding: 24px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    align-items: center;
  }

  .site-menu-toggle {
    width: 46px;
    height: 46px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--rl-line);
    background: #070707;
    color: var(--rl-accent);
    cursor: pointer;
  }

  .site-menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .site-header.is-menu-open .site-menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.is-menu-open .site-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .site-menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 24px);
    left: 0;
    z-index: 20;
    grid-column: 1 / -1;
    width: 100%;
    min-height: 0;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--rl-line);
    transition: max-height 180ms ease, margin-top 180ms ease;
  }

  .site-nav__list {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav__list > li {
    display: block;
  }

  .site-menu-toggle[aria-expanded="true"] + .site-nav,
  .site-header.is-menu-open .site-nav,
  .site-nav.is-open {
    max-height: min(70vh, 640px);
    margin-top: 0;
    overflow-y: auto;
  }

  .site-nav a {
    min-width: 0;
    display: block;
    padding: 18px 14px;
    border-top: 1px solid var(--rl-line);
    text-align: left;
  }

  .hero {
    min-height: 520px;
  }
}

@media (max-width: 560px) {
  body {
    background-attachment: scroll;
  }

  .site-header__inner,
  .site-main,
  .site-footer__inner {
    width: min(100% - 24px, var(--rl-max));
  }

  .brand {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
    white-space: nowrap;
  }

  .hero {
    width: min(100% - 24px, var(--rl-max));
    min-height: 540px;
  }

  .hero--history {
    width: min(100% - 24px, 1180px);
    min-height: auto;
  }

  .hero__copy {
    padding: 34px 24px;
  }

  .hero__copy--history {
    padding: 30px 18px 34px;
  }

  .site-footer__inner {
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .cmplz-cookiebanner .cmplz-title {
    font-size: 1.1rem !important;
  }

  .cmplz-cookiebanner .cmplz-message,
  .cmplz-cookiebanner .cmplz-message p,
  .cmplz-cookiebanner .cmplz-category,
  .cmplz-cookiebanner .cmplz-category p,
  .cmplz-cookiebanner .cmplz-category label,
  .cmplz-cookiebanner .cmplz-links a,
  .cmplz-cookiebanner .cmplz-btn {
    font-size: 0.98rem !important;
  }
}
