@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

.innehåll
{
    display: grid;
    min-height: 100vh;
    max-height: 90%;
    grid-template-areas:
    'header'
    'main'
    'section'
    'footer';
}

main
{
    grid-area: main;
    padding: 20px;
    width: 50%;
    display: inline;
    margin: auto;
}

section
{
    grid-area: section;
    padding: 20px;
    width: 50%;
    display: inline;
    margin: auto;
}

footer
{
    grid-area: footer;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #c7cafa, #c7dfff);
    min-height: 52px;
    border-radius: 8px;
    border: 0px solid #1e3a8a;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
    padding: 0 16px;
    position: relative;
    flex-wrap: wrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    display: flex;
}

footer p
{
    width: 100%;
}

shop
{
	width: 100%
}

/* Generated CSS Menu */
.gen-nav {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #c7cafa, #c7dfff);
  min-height: 52px;
  border-radius: 8px;
  border: 0px solid #1e3a8a;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  padding: 0 16px;
  position: relative;
  flex-wrap: wrap;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  display: flex;
}
.gen-nav *, .gen-nav *::before, .gen-nav *::after {
  box-sizing: border-box;
}
.gen-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gen-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
}
.gen-logo-text {
  color: black;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}
.gen-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction:column; gap:0;
  
}
.gen-hamburger span {
  display: block;
  background: #000000;
  transition: all .3s;
  width:22px; height:2px; border-radius:2px; margin:3px 0;
}

.gen-nav > ul {
  display: flex; justify-content:center; flex: 1;
  flex-wrap: wrap;
}
.gen-nav > ul > li {
  position: relative;
}
.gen-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  height: 52px;
  color: #000000;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.gen-nav > ul > li > a:hover,
.gen-nav > ul > li:hover > a {
  background: #1d4ed8;
  color: #bfdbfe;
}
.gen-arrow { font-size: .7em; opacity: .8; vertical-align: middle; }
/* Dropdown */
.gen-nav > ul > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e3a8a;
  min-width: 170px;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  z-index: 1000;
  overflow: hidden;
}
.gen-nav > ul > li:hover > ul {
  display: block;
}
.gen-nav > ul > li > ul > li > a {
  display: block;
  padding: 10px 18px;
  color: #dbeafe;
  font-size: 13px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.gen-nav > ul > li > ul > li > a:hover {
  background: #1d4ed8;
  color: #ffffff;
}
.gen-nav > ul > li > ul > li:last-child {
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}
.gen-nav > ul > li > ul > li:last-child > a {
  border-radius: 0 0 6px 6px;
}
/* Responsive */
@media (max-width: 768px) {
  .gen-hamburger { display: flex; margin-left: 0; }
  .gen-nav {
    display: flex;
    flex-wrap: wrap;
  }
  .gen-logo { margin-right: auto; margin-left: 0; justify-self: unset; order: -1; }
  .gen-nav > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: linear-gradient(90deg, #c7cafa, #c7dfff);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,.2);
    z-index: 9999;
    padding: 8px 0;
    overflow: hidden;
  }
  .gen-nav > ul.open { display: flex; }
  /* Remove nav bottom radius when dropdown is open so they flow together */
  .gen-nav.mobile-open { border-radius: 8px 8px 0 0; }
  .gen-nav > ul > li > a { height: auto; padding: 14px 20px; }
  /* Reset desktop last-child rounding — not needed on mobile */
  .gen-nav > ul > li:last-child { border-radius: 0; overflow: visible; }
  .gen-nav > ul > li:last-child > a { border-radius: 0; }
  .gen-nav > ul > li > ul {
    display: block;
    position: static;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    background: rgba(0,0,0,.15);
    min-width: 0;
  }
  
  /* No rounding on submenu items in mobile */
  .gen-nav > ul > li > ul > li:last-child { border-radius: 0; overflow: visible; }
  .gen-nav > ul > li > ul > li:last-child > a { border-radius: 0; }
  .gen-nav > ul > li > ul > li > a { padding: 10px 32px; }
  /* Hamburger animates to X when open */
  
  .gen-nav.mobile-open .gen-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .gen-nav.mobile-open .gen-hamburger span:nth-child(2) { opacity: 0; }
  .gen-nav.mobile-open .gen-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
}

:root {
  color-scheme: light;
  --ink: #18332c;
  --muted: #5d7068;
  --green: #1d5946;
  --green-dark: #143e32;
  --lime: #d9ef9b;
  --paper: #f6f7f1;
  --white: #fffefa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.gen-nav {
  width: min(1180px, calc(100% - 48px));
  min-height: 72px;
  margin: 18px auto 0;
  padding: 0 24px;
  border: 1px solid rgba(24, 51, 44, .08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(24, 51, 44, .06);
  font-family: 'DM Sans', sans-serif;
}

.gen-logo {
  gap: 11px;
}

.gen-logo-text {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.gen-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.gen-nav > ul {
  justify-content: flex-end;
  gap: 4px;
}

.gen-nav > ul > li > a {
  height: 44px;
  padding: 0 15px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.gen-nav > ul > li > a:hover,
.gen-nav > ul > li:hover > a,
.gen-nav > ul > li:focus-within > a {
  background: #edf3e8;
  color: var(--green-dark);
}

.gen-nav > ul > li > ul {
  top: calc(100% - 2px);
  border: 1px solid rgba(24, 51, 44, .08);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(24, 51, 44, .12);
}

.gen-nav > ul > li > ul > li > a {
  color: var(--ink);
}

.gen-nav > ul > li > ul > li > a:hover {
  background: #edf3e8;
  color: var(--green-dark);
}

.innehåll {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 108px);
  max-height: none;
  grid-template-areas:
    'main'
    'section'
    'footer';
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
}

main {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 76px 0 64px;
}

main h1,
section h2,
main h3 {
  color: var(--ink);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}

main h1 {
  margin: 0 0 24px;
  font-size: 52px;
  line-height: 1.08;
}

main h1::before {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  content: 'REHAB  /  MENTAL HÄLSA  /  IDROTT';
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

main h3 {
  margin: 30px 0 10px;
  font-size: 27px;
}

main p,
section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

main p {
  margin: 0 0 16px;
}

main a {
  color: var(--green);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

section {
  width: 100%;
  margin: 0;
  padding: 32px;
  border-left: 3px solid #a6c86e;
  border-radius: 0 8px 8px 0;
  background: #eaf0e4;
}

section h2 {
  margin: 0 0 14px;
  font-size: 30px;
}

section p {
  margin: 0 0 12px;
  font-size: 15px;
}

section p:last-child {
  margin-bottom: 0;
}

.innehåll:has(section p) {
  grid-template-areas:
    'main section'
    'footer footer';
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr);
  align-items: center;
  column-gap: 72px;
}

.innehåll:has(section p) main {
  width: 100%;
  padding: 96px 0;
}

.about-page:has(.about-profiles) {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  column-gap: 64px;
}

.about-page main h1 {
  margin-bottom: 28px;
}

.about-page .about-profiles {
  align-self: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.about-page .about-eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.about-page .about-profiles h2 {
  margin-bottom: 18px;
  font-size: 32px;
}

.about-profile-list {
  display: grid;
  gap: 12px;
}

.about-profile {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(24, 51, 44, .08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(24, 51, 44, .045);
}

.about-avatar {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #e8f0dd;
  color: var(--green-dark);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
}

.about-avatar-alt {
  background: #e4eee9;
}

.about-profile h3 {
  margin: 2px 0 9px;
  font-size: 22px;
}

.about-profile p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.65;
}

.about-profile p:last-child {
  margin-bottom: 0;
}

footer {
  width: 100%;
  min-height: 74px;
  margin-top: 32px;
  padding: 18px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}

footer p {
  margin: 0;
}

@media (max-width: 768px) {
  .gen-nav {
    width: calc(100% - 28px);
    min-height: 64px;
    margin-top: 12px;
    padding: 0 16px;
  }

  .gen-hamburger span {
    background: var(--green-dark);
  }

  .gen-nav > ul {
    top: 100%;
    left: -1px;
    right: -1px;
    width: auto;
    padding: 8px 10px;
    border: 1px solid rgba(24, 51, 44, .08);
    border-radius: 0 0 8px 8px;
    background: var(--white);
  }

  .gen-nav.mobile-open {
    border-radius: 8px 8px 0 0;
  }

  .gen-nav > ul > li > a {
    height: auto;
    padding: 13px 14px;
  }

  .gen-nav > ul > li > ul {
    background: #f1f4ed;
  }

  .gen-nav > ul > li > ul > li > a {
    padding: 11px 26px;
  }

  .innehåll {
    width: calc(100% - 36px);
    min-height: calc(100vh - 88px);
  }

  main,
  .innehåll:has(section p) main {
    padding: 58px 0 38px;
  }

  main h1 {
    font-size: 40px;
  }

  main p {
    font-size: 16px;
  }

  .innehåll:has(section p) {
    grid-template-areas:
      'main'
      'section'
      'footer';
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }

  .about-page:has(.about-profiles) {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .about-page .about-profiles {
    padding-bottom: 12px;
  }

  section {
    padding: 24px;
  }

  section h2 {
    font-size: 26px;
  }

  footer {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  main,
  section {
    animation: arrive .55s ease-out both;
  }

  section {
    animation-delay: .1s;
  }

  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

}

#gen-nav a.gen-logo::after {
  content: none !important;
  display: none !important;
}