/* --------------------------------------------------------
   Fonts
-------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
}


/* --------------------------------------------------------
   Layout: Header
-------------------------------------------------------- */
body > header {
  z-index: 4;
  position: sticky;
  top: 0;
  padding: 0.5rem 0;
  background-color: white;
  border-bottom: 1px solid var(--pico-primary-focus);
}
main.container.content {
    padding-top: 1em;
}

/* --------------------------------------------------------
   Header layout
-------------------------------------------------------- */
.header .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo and nav in a row */
.header .site-header > .site-logo-img,
.header .site-header > .site-logo-text {
  display: inline-flex;
  align-items: center;
}


/*.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  width: 100%;
}*/

.site-header a {
  text-decoration: none;
}

.site-logo-text {
  font-weight: bold;
  font-size: 2rem;
  text-decoration: none;
}

.site-logo-img {
  display: block;
  max-width: 60vw;
  width: 230px;
}

.logo-left {
  justify-content: flex-start;
}

.logo-center {
  justify-content: center;
}

[dir="rtl"] .site-header {
  justify-content: space-between;
}

/* Push anchors below menu */
:target {
  scroll-margin-top: 5em; /* Adjust this value to match your fixed header's height */
}


@media (max-width: 768px) {
	.header .site-header{
		padding: unset;
		}
}
/* --------------------------------------------------------
   Navigation (desktop + mobile via checkbox)
      - Desktop: .nav-desktop ({{MAINMENU}})
      - Mobile:  .nav-mobile  ({{MOBILEMENU}})
-------------------------------------------------------- */



/* Layout */
.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav.menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  gap: 0.75rem;
}

/* Hidden checkbox (accessibility toggle) */
nav.menu #menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Hamburger icon (shown only on mobile) */
nav.menu .menu-icon {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0 0.5rem;
}

/* Desktop vs mobile ULs */
nav.menu .nav-desktop,
nav.menu .nav-mobile {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.menu .nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

nav.menu .nav-mobile {
  display: none; /* visible only on mobile */
}

nav.menu .nav-links > li {
  position: relative;
}

/* ===========================
   Desktop dropdown (.nav-desktop)
=========================== */

nav.menu details.dropdown {
  position: relative;
  margin: 0;
}

nav.menu details.dropdown > summary {
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Floating dropdown panel – flex column, width based on content but clamped */
nav.menu details.dropdown > ul.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: auto;
  z-index: 50;

  display: flex;
  flex-direction: column;

  /* width: match content, but don't exceed viewport/container */
  width: auto;
  min-width: max-content;
  max-width: min(22rem, 100vw - 2rem);

  margin: 0;
  padding: 0.5rem 0.75rem;
  list-style: none;

  background: var(--pico-background-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

  max-height: min(70vh, 28rem);
  overflow: auto;
}

nav.menu details.dropdown[open] > ul.submenu {
  display: flex;
  overflow: hidden;
}

/* Submenu items vertical */
nav.menu details.dropdown > ul.submenu > li {
    margin: 0;
    padding: .2em 0;
    width: 100%;
    border-top: 1px solid var(--pico-primary-background);
}

nav.menu details.dropdown > ul.submenu > li > a {
  display: block;
  white-space: normal;
}

/* Hide Pico default arrow */
details.dropdown > summary::after {
  display: none !important;
  content: none !important;
}

/* Hamburger default */
nav.menu .menu-icon::before {
  content: "≡";
  display: inline-block;
  transition: transform .2s ease, opacity .2s ease;
}

/* When menu is checked, show X */
nav.menu #menu-toggle:checked + .menu-icon::before {
  content: "✕";
  transform: rotate(0deg);
}

/* ===========================
   Mobile layout (≤ 768px)
=========================== */

@media (max-width: 768px) {
  /* Stop using flex on nav.menu on mobile */
  nav.menu {
    display: block;

    /*position: relative;*/
    margin-left: auto;  /* still keeps nav on the right within .site-header flex */
    text-align: right;  /* hamburger aligns to the right */
  }

  /* Hamburger icon (shown only on mobile, pinned right) */
  nav.menu .menu-icon {
    display: inline-block;   /* override base display:none */
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    padding: 0 0.5rem;
  }

  /* Hide desktop UL on mobile */
  nav.menu .nav-desktop,
  nav.menu .nav-desktop > * {
    display: none !important;
  }

  /* Mobile UL = VIEWPORT-ATTACHED panel (no flex parent constraint) */
  nav.menu .nav-mobile {
    display: none;           /* shown only when checkbox checked */
    position: fixed !important;
    top: 3.5rem !important;             /* tweak to match your header height */
    left: 0;
    right: 0;

    /* Full usable width, not constrained by any container or flexbox */
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;

    padding: 0.75rem;
    margin: 0;
    background: var(--pico-background-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    overflow-x: hidden;
  }

  /* Show mobile UL when toggled */
  nav.menu #menu-toggle:checked ~ .nav-mobile {
    display: flex;
  }

  nav.menu .nav-mobile > li {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  nav.menu .nav-mobile a,
  nav.menu .nav-mobile span {
    display: block;
    width: 100%;
    padding: 0.45rem 0.25rem;
    white-space: normal;
    overflow-wrap: anywhere; /* long tool names wrap instead of pushing width */
  }

  /* Optional: indentation based on data-depth */
  nav.menu .nav-mobile li[data-depth="1"] a,
  nav.menu .nav-mobile li[data-depth="1"] span {
    padding-left: 1.5rem;
  }

  nav.menu .nav-mobile li[data-depth="2"] a,
  nav.menu .nav-mobile li[data-depth="2"] span {
    padding-left: 2.25rem;
  }

  /* Optional styling for mobile headings */
  nav.menu .nav-mobile .menu-heading span {
    font-weight: 700;
  }
}







/* --------------------------------------------------------
   Layout: Hero
-------------------------------------------------------- */

.hero { 
	padding: 1em; 
	border-radius: 1em; 
	margin-bottom:2em; 
	background-color:var(--pico-primary-border);
	} 

.hero-image { 

	margin: auto;
	} 

.hero-text h1{ 
	color: white; 
	} 

.hero-text { 
	margin: 5em 1em 1em 5em;
	}
.hero-text a[role=button] {
    margin: .2em;
}
@media (max-width: 768px) {

.hero-text { 
	margin: 1em;
	}


}
/*.hero:empty {
  display: none;
}*/

/* --------------------------------------------------------
   Layout: Footer
-------------------------------------------------------- */
footer {
  border-top: 1px solid var(--pico-primary-focus);
}

footer ul


/* --------------------------------------------------------
   Typography
-------------------------------------------------------- */
h1, h2 {
  font-family: 'Roboto', sans-serif;
  color: var(--pico-primary);
}

.primary-color {
  color: var(--pico-primary);
}


/* --------------------------------------------------------
   Components
-------------------------------------------------------- */
.button {
  border-radius: .3em;
  --pico-font-weight: 700;
  display: inline-block;
  background-color: var(--pico-primary-background);
  color: var(--pico-primary-inverse);
  padding: var(--pico-form-element-spacing-vertical) var(--pico-form-element-spacing-horizontal);
  text-decoration: unset;
}

table tbody tr:nth-child(odd) td, table tbody tr:nth-child(odd) th {
background-color: var(--pico-table-row-stripped-background-color);
}

.button:hover {
  background-color: var(--pico-primary-hover-background);
}

.kampanje {
  background: aliceblue;
  padding: 1em;
  border-radius: .2em;
}

.hero {
  background-image: linear-gradient(0deg, var(--pico-background-color) 40%, var(--pico-primary-focus));
  background-size: cover;
  padding: 1em;
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 1em;
}

.hero-logo {
  width: 300px;
  max-width: 80%;
}

.hero h1 {
  margin-top: 0;
}


/* --------------------------------------------------------
   Responsive Utilities & Layout
-------------------------------------------------------- */


.right {
  float: right;
  margin-left: 1rem;
  margin-bottom: 1rem;
  max-width: 50%;
  height: auto;
}

.left {
  float: left;
  margin-right: 1rem;
  margin-bottom: 1rem;
  max-width: 50%;
  height: auto;
}

.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
}

.full-width {
  width: 100%;
}

.center {
  text-align: center;
}



.rounded {
  border-radius: .2em;
}

.cinema {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.square {
  aspect-ratio: 1;
  object-fit: cover;
}


/* ---
	Clearfix
---*/

article::after,
main::after,
aside::after,
div.float-container::after {
  content: "";
  display: table;
  clear: both;
}








/* --------------------------------------------------------
   Tables & Buttons
-------------------------------------------------------- */
table {
  margin-top: 0;
  margin-bottom: var(--pico-typography-spacing-vertical);
  color: var(--pico-color);
  font-style: normal;
  font-weight: var(--pico-font-weight);
}

/* Remove spacing inside buttons rendered from markdown */
button p {
  margin: 0;
  padding: 0;
}


/* --------------------------------------------------------
   Menu Details Dropdown Customization
-------------------------------------------------------- */
details.dropdown > summary {
  width: max-content;
}

details.dropdown > summary::after {
  display: none !important;
  content: none !important;
}

button[rel=prev] {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-top: calc(var(--pico-spacing) * -1);
  margin-bottom: var(--pico-spacing);
  margin-left: auto;
  border: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  /*background-image: var(--pico-icon-close);*/
  background-position: center;
  background-size: auto 1rem;
  background-repeat: no-repeat;
  background-color: transparent;
  opacity: 0.5;
  transition: opacity var(--pico-transition);
}


 li {
  list-style: none;
}

footer a {
  text-decoration: none;
}

footer .copy {
  color: var(--pico-primary);
  display: block;
  text-align: center;
  font-weight: 200;
  font-size: .8em;
}

span.footer_title {
  margin-bottom: 1em;
  display: block;
  font-size: 1.5em;
  font-family: 'Roboto', sans-serif;
  color: var(--pico-primary);
}


/* --------------------------------------------------------
   Responsive Media Queries
-------------------------------------------------------- */
@media only screen and (min-width: 600px) {
  ul#menu {
    display: contents;
  }
  li.close,
  div#menuToggle {
    display: none;
  }
}

@media only screen and (max-width: 420px) {
  .right, .left {
    float: unset;
    clear: unset;
    width: unset;
    max-width: 100%;
  }

  img.right, img.left {
    margin: unset;
  }

  .img-right img {
    order: initial !important;
  }
}

/* --------------------------------------------------------
   Responsive menu behaviour
-------------------------------------------------------- */
@media (max-width: 768px) {
/* Logo + nav alignment stays nice */
.header .site-header {
  align-items: center;
}

/* Show hamburger on small screens */
nav.menu .menu-icon {
  display: inline-block;
}

/* Hide nav links until toggled */
nav.menu .nav-links {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  /*margin-top: 0.5rem;*/
  padding: 0.75rem 1rem;
  flex-direction: column;
  background: var(--pico-background-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 20;
}

nav.menu .nav-links li {
  margin: 0.25rem 0;
}

nav.menu .nav-links a {
  display: block;
  /*width: 100%;*/
  padding: 0.4rem 0;
}

/* When checkbox is checked, show menu */
nav.menu #menu-toggle:checked ~ .nav-links {
  display: flex;
}
}
Key fixes her
