/**
 * 80-talsreklam – theme overrides.
 *
 * Detta är en medvetet minimal startpunkt så vi kan iterera snabbt utan att
 * röra bas-temats CSS.
 */

:root {
  --rkl-80-accent: #ff2bd6;
  --rkl-80-pink: #ff2faf;
  --rkl-80-purple: #7a2cff;
  --rkl-80-blue: #2e5bff;
  --rkl-80-cyan: #35c8ff;
  --rkl-80-black: #000000;
  --rkl-80-white: #ffffff;
}

body {
  background-image: url('../../images/bg80tal_black.webp');
  background-repeat: repeat-x;
  background-attachment: fixed;
  background-position: top;
  background-color: #000;
}

header[role="banner"] {
  background-color: #000;
}

.site-slogan {
  color: #ff2faf;
  margin-top: -4rem;
  text-shadow:
    0 0 4px rgba(255, 47, 175, 0.9),
    0 0 10px rgba(255, 47, 175, 0.75),
    0 0 18px rgba(122, 44, 255, 0.55);
}

.site-logo img {
  width: 90%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  content: url('/themes/custom/serietidningsreklam_80talsreklam2026/images/80talsreklam_desktop.png');
}

@media screen and (max-width: 481px) {
  .site-logo img {
    display: none;
  }

  a.site-logo::before {
    content: "";
    display: block;
    width: 100%;
    height: 130px;
    background-image: url('/themes/custom/serietidningsreklam_80talsreklam2026/images/80talsreklam_mobile.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
  }
}

/* Mobile/off-canvas menu (cheeseburger). */
[id*="cheeseburgermenu"] {
  background: linear-gradient(90deg, var(--rkl-80-purple), var(--rkl-80-blue));
}

.cheeseburger-menu__side-menu {
  background: rgba(46, 91, 255, 0.95);
}

[id*="cheeseburgermenu"] a,
[id*="cheeseburgermenu"] a:visited {
  color: var(--rkl-80-white);
  text-shadow: 0 0 6px rgba(53, 200, 255, 0.65);
}

/* Main horizontal menu (desktop/tablet). */
@media screen and (min-width: 769px) {
  [id*="huvudmeny"] .menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  [id*="huvudmeny"] .menu-item {
    list-style: none;
    margin: 0;
  }

  [id*="huvudmeny"] ul.menu li a {
    display: block;
  }

  [id*="huvudmeny"] ul.menu {
    background: #000;
  }

  [id*="huvudmeny"] ul.menu li a {
    color: var(--rkl-80-pink);
    font-weight: 500;
    text-decoration: none;
    padding: .7em;
    letter-spacing: .12em;
    background-color: transparent;
    border-top-left-radius: 0.3em;
    border-top-right-radius: 0.3em;
    text-shadow:
      0 0 4px rgba(255, 47, 175, 0.85),
      0 0 10px rgba(255, 47, 175, 0.65);
  }

  [id*="huvudmeny"] ul.menu li a:hover {
    background: rgba(255, 47, 175, 0.2);
    color: var(--rkl-80-white);
  }

  [id*="huvudmeny"] ul.menu li a.is-active {
    background: #fbf4ec;
    color: var(--rkl-80-blue);
    text-shadow:
      0 0 4px rgba(46, 91, 255, 0.9),
      0 0 10px rgba(46, 91, 255, 0.75),
      0 0 18px rgba(53, 200, 255, 0.55);
  }
}

