/*
 Theme Name:  GeneratePress Child – Scrugio
 Template:    generatepress
 Version:     1.0.0
 Description: Child theme to customize Scrugio footer and cookie banner.
 Author:      Scrugio
*/

html, body { overflow-x: hidden; }

.scrugio-footer, .scrugio-footer * { box-sizing: border-box; }

.scrugio-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.scrugio-footer__brand { font-weight: 600; }

.scrugio-footer__nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}
.scrugio-footer__nav a {
  color: #090363;
  text-decoration: none;
  word-break: break-word;
}
.scrugio-footer__nav a:hover { text-decoration: underline; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 32px);
  max-width: 900px;
  background: #090363;
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  gap: 12px;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.cookie-text {
  margin: 0;
  font-size: 0.9rem;
  flex: 1 1 260px;
}
.cookie-text a {
  color: #ffcc80;
  text-decoration: underline;
}
.cookie-btn {
  background: var(--accent, #ff5722);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
.cookie-btn:hover {
  background: var(--accent-hover, #e14a19);
}
