.bas-cookie-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  display: grid;
  max-width: 44rem;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-left: 4px solid #4caf50;
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.9rem 1rem;
  box-shadow: 0 18px 45px rgba(10, 15, 24, 0.2);
}

.bas-cookie-banner[hidden] {
  display: none;
}

.bas-cookie-banner strong {
  display: block;
  color: #111827;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  line-height: 1.2;
}

.bas-cookie-banner p {
  margin: 0.25rem 0 0;
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.4;
}

.bas-cookie-banner a {
  color: #1b4f6a;
  font-weight: 700;
  text-decoration: none;
}

.bas-cookie-banner__actions {
  display: flex;
  gap: 0.55rem;
}

.bas-cookie-banner__button {
  border: 1px solid #cbd5e1;
  border-radius: 0.4rem;
  background: #fff;
  color: #111827;
  cursor: pointer;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.65rem 0.8rem;
  white-space: nowrap;
}

.bas-cookie-banner__button--accept {
  border-color: #1b4f6a;
  background: #1b4f6a;
  color: #fff;
}

.jec-policy-page #content.site-content {
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

.jec-policy-page #content .row {
  margin: 0;
}

.jec-policy-page #content .row > *,
.jec-policy-page #content .entry-content {
  padding: 0;
}

.jec-policy-page .entry-header,
.jec-policy-page .entry-footer {
  display: none;
}

.jec-policy-page .jec-site-footer {
  margin-top: 0;
}

.jec-legal-page {
  background: #fff;
}

.jec-legal-hero {
  background: #141414;
  color: #fff;
}

.jec-legal-hero__content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.jec-legal-kicker {
  margin: 0 0 0.9rem;
  color: #2d98d4;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.jec-legal-hero h1 {
  max-width: 54rem;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.jec-legal-intro {
  max-width: 42rem;
  margin: 1.6rem 0 0;
  color: #d4d9e2;
  font-size: 1.15rem;
  line-height: 1.7;
}

.jec-legal-section {
  padding: 6rem 0;
}

.jec-legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.jec-legal-content h2 {
  margin: 2rem 0 0.7rem;
  color: #202020;
  font-size: 1.18rem;
  font-weight: 600;
}

.jec-legal-content h2:first-child {
  margin-top: 0;
}

.jec-legal-content p {
  margin: 0 0 1rem;
  color: #595959;
  line-height: 1.75;
}

.jec-legal-content a {
  color: #2d98d4;
  font-weight: 700;
}

@media (max-width: 760px) {
  .bas-cookie-banner {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .bas-cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .jec-legal-hero__content {
    padding: 4rem 1rem;
  }

  .jec-legal-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }

  .jec-legal-section {
    padding: 4.5rem 0;
  }

  .jec-legal-content {
    padding: 0 1rem;
  }
}
