/* Public production stylesheet collected by Django staticfiles/WhiteNoise. */
:root {
  --psoe-red: #9b1c31;
  --psoe-logo-red: #f50202;
  --psoe-ink: #0f172a;
  --psoe-muted: #475569;
  --psoe-bg: #f8fafc;
  --psoe-border: #d7dee8;
  --site-logo-height: 44px;
}

html {
  text-size-adjust: 100%;
}

body {
  background: #f6f7fb;
  color: #202532;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--psoe-red);
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  background: #fff;
  border: 2px solid var(--psoe-red);
  border-radius: 0.5rem;
  left: 1rem;
  padding: 0.6rem 0.8rem;
  position: absolute;
  top: 1rem;
  transform: translateY(-200%);
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.cookie-consent {
  align-items: flex-start;
  background: #111827;
  border-radius: 0.8rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
  color: #fff;
  display: flex;
  gap: 0.75rem;
  left: 1rem;
  max-width: min(760px, calc(100% - 2rem));
  padding: 0.9rem 1rem;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
}

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

.cookie-consent p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.cookie-consent a {
  color: #ffd166;
}

.cookie-consent__button {
  background: #9b1c31;
  border: 0;
  border-radius: 0.45rem;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  margin: 0 0.3rem;
  padding: 0.35rem 0.6rem;
}

.cookie-consent__button--ghost {
  background: transparent;
  border: 1px solid #f8fafc;
}

@media (max-width: 640px) {
  .cookie-consent {
    flex-direction: column;
  }
}

.site-header {
  background: var(--psoe-logo-red);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0.35rem 1rem;
}

.site-brand {
  align-items: center;
  display: inline-flex;
  gap: 0.85rem;
  text-decoration: none;
}

.site-brand__logo {
  border: 2px solid #fff;
  border-radius: 8px;
  display: block;
  height: var(--site-logo-height);
  object-fit: contain;
  width: auto;
}

.site-brand__title {
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.site-nav-menu {
  position: relative;
}

.site-nav-menu__button {
  display: none;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.site-nav a {
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

@media (max-width: 640px) {
  .site-header__inner {
    align-items: center;
    gap: 0.75rem;
  }

  .site-brand__title {
    font-size: 1rem;
    max-width: 9.5rem;
  }

  .site-nav-menu__button {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 900;
    list-style: none;
    padding: 0.5rem 0.85rem;
  }

  .site-nav-menu__button::-webkit-details-marker {
    display: none;
  }

  .site-nav-menu:not([open]) .site-nav {
    display: none;
  }

  .site-nav {
    background: #fff;
    border: 1px solid var(--psoe-border);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    flex-direction: column;
    gap: 0.2rem;
    align-items: stretch;
    min-width: 12rem;
    padding: 0.55rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.55rem);
    z-index: 20;
  }

  .site-nav a {
    color: var(--psoe-ink);
    display: block;
    padding: 0.65rem 0.8rem;
    width: 100%;
  }

  .site-nav a:hover,
  .site-nav a:focus {
    background: #f1f5f9;
    color: var(--psoe-red);
  }
}

.independence-notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  color: #7c2d12;
  line-height: 1.45;
  margin: 1rem auto 0;
  max-width: 1120px;
  padding: 0.75rem 1rem;
}

.independence-notice a {
  color: #9b1c31;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .independence-notice {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    margin-top: 0;
  }
}

@media (min-width: 641px) {
  .site-nav-menu .site-nav {
    justify-content: flex-start;
  }
}

.site-footer {
  margin: 2rem auto 0;
  max-width: 1180px;
  padding: 1rem;
  color: var(--psoe-muted);
  font-size: 0.95rem;
}

.site-footer__inner {
  border-top: 1px solid var(--psoe-border);
  padding-top: 1rem;
}

.operational-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.operational-links a {
  color: var(--psoe-red);
  font-weight: 700;
}
