/*
 Theme Name:   GeneratePress Neon
 Description:  Black and neon green GeneratePress child theme
 Template:     generatepress
 Version:      1.1
*/

:root {
  --neon: #63fb09;
  --neon-nav: #63ff10;
  --neon-btn: #63f30c;
  --main-color: #63f30c;
  --main-accent-color: #4fc50a;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  background-image: url("images/body-bg.webp");
  background-attachment: fixed;
}

/* Header and menu */
.site-header,
.main-navigation,
.main-navigation ul ul {
  background-color: #000;
}

.inside-header {
  padding: 10px 40px;
}

.site-header .header-image {
  width: 200px;
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li:hover > a {
  color: var(--neon-nav);
  background-color: #000;
  font-size: 19px;
  font-weight: 700;
}

.main-navigation .menu-toggle,
button.menu-toggle:hover,
button.menu-toggle:focus {
  color: var(--neon-nav);
}

/* Page container */
.site.grid-container {
  background-color: #fff;
}

.one-container .site-content {
  padding: 0 40px 40px;
}

.home .site-main > *,
.site-main > * {
  margin-bottom: 0;
}

.entry-content:not(:first-child),
.entry-content {
  margin-top: 0;
}

.entry-content a {
  color: #56fb09;
  font-weight: 700;
}

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  font-weight: 700;
  margin: 0 0 20px;
}

.entry-content h2 {
  background-color: #000;
  border-radius: 0 0 10px 10px;
  color: var(--neon);
  font-size: 35px;
  line-height: 1.2;
  padding-bottom: 6px;
  text-align: center;
  scroll-margin-top: 10px;
}

.entry-content h3 {
  font-size: 29px;
  line-height: 1.2;
}

/* Hero */
.entry-content .neon-hero {
  background-color: #000;
  color: #fff;
  padding: 30px 0;
  margin-bottom: 20px;
}

.neon-hero > .wp-block-group__inner-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 0 0 !important;
}

.neon-hero .wp-block-columns {
  margin-bottom: 29.75px;
  gap: 34px;
}

.neon-hero .wp-block-image img {
  width: 345px;
  height: auto;
}

.entry-content .neon-hero h1 {
  border-bottom: 3px solid var(--neon-nav);
  color: var(--neon-nav);
  font-size: 35px;
  line-height: 1.2;
  padding-bottom: 4px;
  text-align: center;
}

.neon-hero p a,
.entry-content .neon-hero p a {
  color: #fff;
}

.neon-hero .wp-block-buttons {
  margin: 0;
}

.neon-hero .wp-block-button.wp-block-button__width-50 {
  width: 50%;
}

.entry-content .neon-hero .wp-block-button__link {
  background-color: var(--neon-btn);
  border-radius: 15px;
  color: #fff;
  font-weight: 700;
  padding: 10px 20px;
  width: 100%;
}

.entry-content .neon-hero .wp-block-button__link:hover {
  background-color: #55d40a;
}

/* Scrolling notice */
.neon-notice {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 14px;
  border-radius: 12px;
  background: #000;
  text-align: center;
  font-family: Arial, sans-serif;
}

.neon-marquee {
  overflow: hidden;
  white-space: nowrap;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 0 16px;
}

.neon-marquee-track {
  display: flex;
  width: max-content;
  animation: neonScroll 24s linear infinite;
}

.neon-marquee-track span {
  flex-shrink: 0;
  padding-right: 50px;
}

.neon-notice:hover .neon-marquee-track {
  animation-play-state: paused;
}

@keyframes neonScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.entry-content a.neon-notice-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 22px;
  border-radius: 8px;
  background: #229ed9;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s ease;
}

.entry-content a.neon-notice-btn:hover {
  background: #168ac0;
  color: #fff;
}

/* Black panels */
.entry-content .neon-panel {
  background-color: #000;
  border-radius: 10px 10px 0 0;
  color: #fff;
  padding-top: 20px;
  margin-bottom: 20px;
}

.neon-panel > .wp-block-group__inner-container {
  max-width: 1400px;
  padding: 0 40px 40px;
}

.neon-panel h3 {
  color: var(--neon);
  padding-bottom: 3px;
  text-align: center;
}

.neon-panel.neon-lines h3 {
  border-bottom: 3px solid var(--neon);
}

.neon-panel.neon-boxes h3 {
  background-color: #000;
  border: 3px solid var(--neon);
  border-radius: 15px;
  box-shadow: 3px 3px 15px 1px var(--neon);
}

/* Picture strip */
.entry-content .neon-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  overflow-x: auto;
  margin-bottom: 20px;
}

.entry-content .neon-strip .wp-block-image {
  flex: 0 0 300px;
  margin: 0 0 15px;
}

.entry-content .neon-strip img {
  width: 300px;
  height: auto;
}

/* Lists */
.entry-content ol.wp-block-list,
.entry-content ul.wp-block-list {
  margin: 0 0 25.5px 51px;
}

/* Pros and cons */
.entry-content .neon-proscons {
  gap: 34px;
  margin-bottom: 29.75px;
}

.neon-proscons .wp-block-column {
  color: #fff;
}

.neon-proscons .neon-pros { background-color: #8be78b; }
.neon-proscons .neon-cons { background-color: #f76f72; }

.neon-proscons h3 {
  border-bottom: 3px solid #fff;
  color: #fff;
  text-align: center;
}

/* FAQ */
.entry-content .wp-block-details {
  background-color: #fdfeff;
  border: 1px solid #d1dfee;
  margin: 0 0 20px;
}

.wp-block-details summary {
  cursor: pointer;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  padding: 17px 56px 17px 12px;
  position: relative;
}

.wp-block-details summary::-webkit-details-marker { display: none; }

.wp-block-details summary::after {
  content: "+";
  color: #000;
  font-size: 20px;
  font-weight: 700;
  position: absolute;
  right: 0;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
}

.wp-block-details[open] summary { border-bottom: 1px solid #d1dfee; }
.wp-block-details[open] summary::after { content: "\2212"; }

.wp-block-details p {
  background: #fff;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  padding: 12px;
}

/* Footer */
.site-info {
  background-color: #000;
  color: var(--neon-nav);
  font-weight: 700;
}

.site-info a,
.site-info a:hover {
  color: var(--neon-nav);
  text-decoration: none;
}

.inside-site-info {
  justify-content: center;
  padding: 10px 40px;
  text-align: center;
}

.site-info .footer-bar:not(:has(li)) { display: none; }
.site-info .copyright-bar { margin: 0; }

@media (max-width: 1024px) {
  .neon-hero > .wp-block-group__inner-container { padding: 0 20px !important; }
  .neon-hero .wp-block-button.wp-block-button__width-50 { width: 60%; }
}

a.generate-back-to-top,
a.generate-back-to-top:hover {
  background-color: var(--neon-nav);
  color: #222;
}

@media (max-width: 768px) {
  .inside-header,
  .inside-site-info { padding-left: 30px; padding-right: 30px; }

  .one-container .site-content { padding: 0 30px 30px; }

  .neon-hero > .wp-block-group__inner-container { padding: 0 15px !important; }

  .neon-panel > .wp-block-group__inner-container { padding: 0 30px 30px; }

  .entry-content .neon-strip { gap: 1.5rem; margin-left: -20px; margin-right: -20px; }

  .entry-content .neon-strip .wp-block-image { flex-basis: 240px; }

  .entry-content .neon-strip img { width: 240px; }
}

@media (max-width: 480px) {
  .neon-notice { padding: 10px; }
  .neon-marquee { font-size: 14px; }
  .entry-content a.neon-notice-btn { width: 100%; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .neon-marquee-track { animation: none; }
}
