@font-face {
  font-family: "Congenial";
  src: url("fonts/Congenial/regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Congenial";
  src: url("fonts/Congenial/fet.ttf") format("truetype");
  font-weight: 700;
}



:root {
  --green: #035d37;
  --green-bright: #00a548;
  --dark: #035d37;
  --ink: #111111;
  --light: #d9ebcc;
  --pale: #f7fbf3;
  --button: #cfe8bf;
  --heading-color: #035d37;
  --accent-text: #035d37;
  --shadow: 0 8px 22px rgba(0, 80, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Calibri, Arial, sans-serif;
  background: var(--pale);
  color: var(--dark);
}

body.text-high-contrast {
  --dark: var(--ink);
  --heading-color: var(--ink);
  --accent-text: var(--ink);
}

img {
  max-width: 100%;
}

.photo-credit-wrap {
  position: relative;
  display: block;
  min-width: 0;
}

.photo-credit-wrap > img {
  width: 100%;
}

h2,
h3,
h4,
.page-kicker,
.brand,
.main-nav,
.button,
.site-more-button,
.mobile-more-toggle,
.admin-tab,
.admin-actions button {
  font-family: "Congenial", Arial, sans-serif;
}

h2,
h3,
h4 {
  color: var(--accent-text);
  font-weight: 700;
}

h1 {
  font-family: "Congenial", Arial, sans-serif;
  color: var(--heading-color);
}

input,
textarea,
select {
  font-family: Calibri, Arial, sans-serif;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: white;
  padding: 1rem;
  z-index: 999;
}

/* HEADER */

.site-header {
  height: 120px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 92px;
  height: auto;
  display: block;
}

.brand-text {
  color: var(--accent-text);
  line-height: 1;
}

.brand-text strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.brand-text span {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a,
.contrast-toggle {
  color: var(--dark);
  background: transparent;
  border: 0;
  font-family: inherit;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav a:focus,
.contrast-toggle:hover,
.contrast-toggle:focus {
  text-decoration: underline;
}

.contrast-toggle {
  padding: 0.45rem 0.75rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  line-height: 1;
}

.mobile-menu-toggle,
.mobile-more-toggle {
  display: none;
}

.site-more-menu {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  z-index: 30;
}

.site-more-button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--green-bright);
  color: white;
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 80, 40, 0.22);
}

.site-more-button span {
  transform: translateY(-3px);
}

.site-more-panel,
.mobile-more-panel {
  background: white;
  border: 1px solid rgba(3, 93, 55, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(0, 80, 40, 0.18);
}

.site-more-panel {
  position: absolute;
  top: 60px;
  left: 50%;
  width: min(760px, calc(100vw - 2rem));
  transform: translateX(-50%);
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.site-more-panel[hidden],
.mobile-more-panel[hidden] {
  display: none;
}

.site-more-panel a,
.mobile-more-panel a {
  display: block;
  padding: 0.7rem 0.8rem;
  color: var(--accent-text);
  text-decoration: none;
  border-radius: 8px;
}

.site-more-panel a:hover,
.site-more-panel a:focus,
.mobile-more-panel a:hover,
.mobile-more-panel a:focus {
  background: #edf7e7;
}

.site-more-panel strong,
.site-more-panel span,
.mobile-more-panel strong,
.mobile-more-panel span {
  display: block;
}

.site-more-panel span,
.mobile-more-panel span {
  margin-top: 0.2rem;
  color: var(--ink);
  font-family: Calibri, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
}

/* HERO */

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 60px;
  align-items: center;
  padding: 70px 80px 210px;
  background:
    radial-gradient(
      circle at 72% 0%,
      rgba(130, 176, 85, 0.55) 0%,
      rgba(167, 213, 159, 0.28) 34%,
      rgba(245, 250, 241, 0) 68%
    ),
    linear-gradient(
      180deg,
      #d4efd7 0%,
      #eff8ef 100%
    );
}

.hero-content,
.hero-image {
  position: relative;
  z-index: 5;
}

.hero h1 {
  margin: 0;
  font-size: clamp(5rem, 8.5vw, 9.8rem);
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.date {
  margin: 28px 0 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 700;
}

.hero-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.photo-credit {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  margin: 0;
  max-width: calc(100% - 1.5rem);
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  background: rgba(0, 34, 20, 0.72);
  color: white;
  font-family: Calibri, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  box-shadow: 0 6px 18px rgba(0, 34, 20, 0.22);
}

.news-card .photo-credit,
.role-cards .photo-credit,
.vision .photo-credit,
.camp-photo-tile .photo-credit,
.photo .photo-credit {
  right: 0.45rem;
  bottom: 0.45rem;
  padding: 0.28rem 0.42rem;
  border-radius: 8px;
  font-size: 0.62rem;
}

.camp-photo-tile .photo-credit {
  left: auto;
  max-width: calc(100% - 0.9rem);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.countdown div {
  width: 125px;
  height: 105px;
  background: var(--green-bright);
  color: white;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: 700;
}

.countdown span {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
}

.countdown small {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1;
}

.hero-mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background-image: url("images/bakgrunn-fjell.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  z-index: 1;
}

.forest-left,
.forest-right {
  position: absolute;
  bottom: 0;
  height: 260px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 3;
}

.forest-left {
  left: 0;
  width: 380px;
  background-image: url("images/bakgrunn-tre-venstre.png");
  background-position: left bottom;
}

.forest-right {
  right: 0;
  width: 380px;
  background-image: url("images/bakgrunn-tre-høyre.png");
  background-position: right bottom;
}

/* GENERELLE SEKSJONER */

.news,
.role-cards,
.tips,
.shortcut-grid,
.info-cards {
  width: min(1120px, 90%);
  margin-left: auto;
  margin-right: auto;
}

/* NEWS */

.news {
  margin-top: 4rem;
  margin-bottom: 4.5rem;
  display: grid;
  grid-template-columns: 150px repeat(3, 1fr);
  gap: 1.8rem;
  align-items: center;
}

.news h2 {
  font-size: 2.1rem;
  line-height: 1;
  margin: 0;
  padding-right: 24px;
  border-right: 3px solid var(--green);
}

.frontpage-news-list {
  display: contents;
}

.news-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.news-card:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 6px;
  border-radius: 8px;
}

.news-card:hover h3,
.news-card:focus-visible h3 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.news-card .photo-credit-wrap,
.news-card img {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: 3px;
}

.news-card .photo-credit-wrap {
  overflow: hidden;
}

.news-card .photo-credit-wrap img {
  height: 100%;
}

.news-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.05;
}

.news-card p {
  margin: 6px 0 0;
  font-weight: 700;
}

/* CARDS */

.role-cards,
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.role-cards article,
.info-cards article,
.tip-card blockquote,
.shortcut-grid a,
.vision {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* FRIVILLIG / VOKSENLEDER */

.role-cards {
  margin-top: 4.5rem;
  margin-bottom: 4.8rem;
}

.role-cards article {
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: center;
  gap: 1.4rem;
  padding: 38px;
  overflow: hidden;
}

.role-cards article > div {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.role-cards h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 2vw, 2.35rem);
  line-height: 1;
  max-width: 100%;
}

.role-cards p {
  margin: 0 0 24px;
  max-width: 260px;
  line-height: 1.15;
  font-size: 1.05rem;
}

.role-cards article .photo-credit-wrap,
.role-cards article img,
.role-cards article .placeholder-image {
  width: 180px;
  height: 135px;
  object-fit: cover;
  object-position: center;
  display: block;
  justify-self: end;
  align-self: center;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.role-cards article .placeholder-image {
  background: #dce9cf;
}

.role-cards article .photo-credit-wrap {
  justify-self: end;
  align-self: center;
  overflow: hidden;
  border-radius: 6px;
}

.role-cards article .photo-credit-wrap img {
  height: 100%;
}

/* TIPS */

.tips {
  margin-top: 4.8rem;
  margin-bottom: 5rem;
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  gap: 1.8rem;
  align-items: center;
}

.tips h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.tip-card {
  color: inherit;
  text-decoration: none;
  display: block;
}

.tip-card blockquote {
  height: 100%;
  margin: 0;
  padding: 1.2rem 1.5rem;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tip-card:hover blockquote,
.tip-card:focus blockquote {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 80, 40, 0.22);
}

.tip-card:focus {
  outline: 3px solid var(--green);
  outline-offset: 5px;
  border-radius: 12px;
}

.tips cite {
  display: block;
  margin-top: 8px;
  color: var(--accent-text);
  font-weight: 700;
  font-style: normal;
}

/* GREEN BANNER */

.green-banner {
  width: min(980px, 90%);
  margin: 5.5rem auto 6rem;
  background: var(--green);
  color: white;
  border-radius: 6px;
  padding: 1.6rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.green-banner p {
  margin: 0.25rem 0;
}

.green-banner h2 {
  color: white;
  margin: 0;
  text-transform: uppercase;
  font-size: 1.7rem;
}

/* BUTTONS */

.button,
.ribbon {
  display: inline-block;
  background: var(--button);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  line-height: 1;
}

.button:hover,
.ribbon:hover {
  transform: translateY(-1px);
}

.button-green {
  background: #2fb45f;
  color: white;
  text-align: center;
}

.button-disabled {
  cursor: default;
  opacity: 0.9;
}

.card-button {
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* SHORTCUTS */

.shortcut-grid {
  margin-top: 0;
  margin-bottom: 7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1.1rem;
  row-gap: 1.7rem;
}

.shortcut-grid a {
  min-height: 85px;
  padding: 1.2rem 1.4rem;
  color: var(--accent-text);
  text-decoration: none;
}

.shortcut-grid a:hover,
.shortcut-grid a:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 80, 40, 0.22);
}

.shortcut-grid strong {
  display: block;
  font-size: 1.15rem;
}

.shortcut-grid span {
  display: block;
  margin-top: 5px;
  color: var(--dark);
}

/* PHOTO */

.photo {
  width: min(600px, 90%);
  margin: 7rem auto 7rem;
  background: var(--green);
  color: white;
  text-align: center;
  padding: 2rem 2rem 2.5rem;
  border-radius: 48% 48% 10px 10px / 10% 10% 10px 10px;
  box-shadow: var(--shadow);
}

.photo p {
  margin: 0.4rem 0;
}

.photo h2 {
  margin: 0.2rem 0;
  color: white;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 1;
}

.photo .photo-credit-wrap,
.photo img {
  width: 280px;
  height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-top: 1.4rem;
}

.photo .photo-credit-wrap {
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.photo .photo-credit-wrap img {
  height: 100%;
  margin-top: 0;
}

.ribbon {
  display: block;
  width: fit-content;
  margin: 1rem auto 0;
  background: #00a85a;
  color: white;
  border-radius: 0;
}

/* INFO + VISION */

.info-cards {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.info-cards article {
  padding: 1.5rem 1.7rem;
}

.info-cards h2 {
  margin: 0;
  font-size: 1.8rem;
  text-transform: uppercase;
}

.vision {
  width: min(650px, 90%);
  margin: 6.5rem auto 6.5rem;
  padding: 1.8rem;
  text-align: center;
}

.vision h2 {
  margin: 0;
  font-size: 2rem;
  text-transform: uppercase;
}

.vision .photo-credit-wrap,
.vision img {
  width: 260px;
  height: 70px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  margin: 1rem auto;
}

.vision .photo-credit-wrap {
  overflow: hidden;
}

.vision .photo-credit-wrap img {
  height: 100%;
  margin: 0;
}



/* FOOTER */

/* FOOTER LANDSCAPE */

.footer-landscape {
  position: relative;
  height: 300px;
  overflow: hidden;
  margin-top: 5rem;
  background: var(--pale);
}

.footer-mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 250px;

  background-image: url("images/bakgrunn-fjell.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;

  z-index: 1;
}

.footer-forest-left,
.footer-forest-right {
  position: absolute;
  bottom: 0;

  height: 260px;

  background-repeat: no-repeat;
  background-size: contain;

  pointer-events: none;
  z-index: 2;
}

.footer-forest-left {
  left: 0;
  width: 380px;
  background-image: url("images/bakgrunn-tre-venstre.png");
  background-position: left bottom;
}

.footer-forest-right {
  right: 0;
  width: 380px;
  background-image: url("images/bakgrunn-tre-høyre.png");
  background-position: right bottom;
}


.site-footer {
  background: var(--light);
  padding: 28px 70px 20px;
  color: var(--dark);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-logo img {
  width: 120px;
  height: auto;
  display: block;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 55px;
}

.footer-links a {
  color: var(--dark);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus {
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.social-links a {
  width: 34px;
  height: 34px;
  background: transparent;
  border-radius: 0;
  text-decoration: none;
  display: grid;
  place-items: center;
}

.social-links img {
  width: 30px;
  height: 30px;
  display: block;
}

.social-links a:hover,
.social-links a:focus {
  transform: translateY(-2px);
}

.social-links a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
  border-radius: 6px;
}

.footer-credit {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.85;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .role-cards,
  .info-cards {
    grid-template-columns: 1fr;
  }

  .role-cards article {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .role-cards article img,
  .role-cards article .placeholder-image {
    width: 240px;
    height: 170px;
  }

  .role-cards h2 {
    font-size: 3rem;
  }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 50px 210px;
  }

  .hero-image img {
    max-height: 420px;
  }

  .news {
    grid-template-columns: 1fr;
  }

  .news h2 {
    border-right: 0;
    border-bottom: 3px solid var(--green);
    padding-bottom: 12px;
  }

  .shortcut-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .green-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 92px;
    height: auto;
    padding: 16px 20px;
  }

  .brand {
    max-width: calc(100% - 62px);
  }

  .logo {
    width: 72px;
  }

  .brand-text strong {
    font-size: 1.45rem;
  }

  .brand-text span {
    font-size: 0.9rem;
  }

  .mobile-menu-toggle {
    display: grid;
    position: absolute;
    right: 20px;
    top: 24px;
    width: 46px;
    height: 42px;
    place-items: center;
    gap: 4px;
    padding: 0.55rem;
    border: 2px solid var(--green);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    width: 21px;
    height: 2px;
    background: var(--green);
    border-radius: 999px;
  }

  .site-more-menu {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    z-index: 40;
    padding: 0.8rem;
    background: white;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(0, 80, 40, 0.2);
  }

  body.mobile-menu-open .main-nav {
    display: grid;
    gap: 0.2rem;
  }

  .main-nav a,
  .contrast-toggle,
  .mobile-more-toggle {
    width: 100%;
    padding: 0.72rem 0.8rem;
    border-radius: 8px;
    text-align: left;
    font-size: 1.05rem;
  }

  .contrast-toggle {
    border: 2px solid currentColor;
    text-align: center;
  }

  .mobile-more-toggle {
    display: block;
    border: 0;
    background: var(--green);
    color: white;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .mobile-more-panel {
    display: grid;
    gap: 0.2rem;
    padding: 0.4rem;
    box-shadow: none;
    border-color: rgba(3, 93, 55, 0.18);
  }

  .mobile-more-panel[hidden] {
    display: none;
  }
}

@media (max-width: 800px) {
  .site-footer {
    padding: 24px 28px 16px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 24px;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 96px;
    padding: 14px 18px;
  }

  .main-nav a,
  .contrast-toggle {
    font-size: 1.05rem;
  }

  .logo {
    width: 68px;
  }

  .brand {
    gap: 10px;
  }

  .brand-text strong {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .brand-text span {
    font-size: clamp(0.82rem, 3.6vw, 1rem);
  }

  .mobile-menu-toggle {
    right: 18px;
    top: 26px;
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: auto;
    padding: 3rem 1.25rem 8.5rem;
    gap: 2rem;
    align-items: start;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.15rem, 15vw, 4.35rem);
    line-height: 0.92;
    letter-spacing: 0;
    overflow-wrap: normal;
  }

  .date {
    margin-top: 1.35rem;
    font-size: clamp(1.15rem, 5vw, 1.35rem);
    line-height: 1.25;
  }

  .countdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.8rem;
  }

  .countdown div {
    width: 100%;
    height: auto;
    min-height: 82px;
    padding: 0.85rem 0.35rem;
  }

  .countdown span {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }

  .countdown small {
    font-size: clamp(0.78rem, 3.8vw, 0.95rem);
  }

  .hero-image {
    width: 100%;
  }

  .hero-image img {
    width: 100%;
    max-height: none;
    aspect-ratio: 4 / 3.15;
    object-fit: cover;
  }

  .photo-credit {
    right: 0.55rem;
    bottom: 0.55rem;
    border-radius: 8px;
    font-size: 0.72rem;
  }

  .forest-left,
  .forest-right {
    width: 170px;
    height: 130px;
  }

  .hero-mountains {
    height: 105px;
  }

  .news,
  .role-cards,
  .tips,
  .shortcut-grid,
  .info-cards,
  .page-hero,
  .page-section,
  .admin-panel {
    width: min(100% - 2rem, 560px);
  }

  .news {
    margin-top: 2.6rem;
    margin-bottom: 3rem;
    gap: 1rem;
  }

  .news h2 {
    font-size: 2rem;
    text-align: left;
  }

  .news-card {
    grid-template-columns: 92px 1fr;
    gap: 0.9rem;
    padding: 0.7rem 0;
  }

  .news-card .photo-credit-wrap,
  .news-card img {
    width: 92px;
    height: 62px;
  }

  .news-card .photo-credit {
    font-size: 0.52rem;
  }

  .tips {
    grid-template-columns: 1fr;
  }

  .tips h2 {
    text-align: center;
  }

  .role-cards article {
    min-height: auto;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 1.35rem;
    border-radius: 10px;
  }

  .role-cards article > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .role-cards p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.35;
  }

  .role-cards article .photo-credit-wrap,
  .role-cards article img,
  .role-cards article .placeholder-image {
    width: 100%;
    max-width: 320px;
    height: 200px;
    margin: 0 auto;
    justify-self: center;
  }

  .green-banner,
  .shortcut-grid,
  .photo,
  .info-cards,
  .vision {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
  }

  .green-banner,
  .photo,
  .vision {
    width: min(100% - 2rem, 560px);
  }

  .green-banner {
    padding: 1.25rem;
  }

  .shortcut-grid,
  .info-cards {
    gap: 1rem;
  }

  .shortcut-grid {
    margin-bottom: 3.5rem;
  }

  .shortcut-grid a {
    min-height: auto;
    padding: 1rem;
  }

  .page-hero {
    gap: 1.5rem;
    padding: 2rem 0 1.5rem;
  }

  .page-hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .page-hero p,
  .page-section p {
    font-size: 1.05rem;
  }

  .page-section {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
  }

  .page-section h2 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.02;
  }

  .contact-form,
  .contact-info-card,
  .admin-panel,
  .admin-work-card {
    border-radius: 14px;
  }

  .radio-float {
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.58rem;
  }

  .radio-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .radio-float img {
    width: 28px;
    height: 28px;
  }

  .radio-hero-card {
    min-height: 220px;
  }

  .admin-panel {
    padding: 1rem;
  }

  .admin-panel-header {
    display: grid;
  }

  .admin-tabs,
  .admin-subtabs {
    width: 100%;
    border-radius: 14px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .logo {
    width: 58px;
  }

  .mobile-menu-toggle {
    right: 16px;
    top: 23px;
    width: 44px;
    height: 44px;
  }

  .hero {
    padding: 2.4rem 1rem 7.4rem;
    gap: 1.65rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14.5vw, 3.8rem);
  }

  .countdown {
    gap: 0.65rem;
  }

  .countdown div {
    min-height: 76px;
    border-radius: 8px;
  }

  .news,
  .role-cards,
  .tips,
  .shortcut-grid,
  .info-cards,
  .page-hero,
  .page-section,
  .admin-panel {
    width: min(100% - 1.5rem, 520px);
  }

  .news-card {
    grid-template-columns: 78px 1fr;
  }

  .news-card .photo-credit-wrap,
  .news-card img {
    width: 78px;
    height: 54px;
  }

  .green-banner,
  .photo,
  .vision {
    width: min(100% - 1.5rem, 520px);
  }

  .role-cards article {
    padding: 1rem;
  }

  .role-cards h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .role-cards article .photo-credit-wrap,
  .role-cards article img,
  .role-cards article .placeholder-image {
    max-width: 100%;
    height: 175px;
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
  }

  .page-section h2 {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .shortcut-grid {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    max-height: none;
  }

  .site-footer nav {
    display: grid;
    gap: 12px;
  }

  .photo .photo-credit-wrap,
  .photo img {
    width: 100%;
    max-width: 300px;
    height: 160px;
  }
}

/* RYDDIG PINTEREST-GALLERI */

.camp-photo-gallery {
  width: min(1500px, 88%);
  margin: 0 auto 9rem;
  columns: 4 260px;
  column-gap: 2rem;
}

.camp-photo-gallery[hidden] {
  display: none;
}

.gallery-intro-card,
.camp-photo-tile {
  width: 100%;
  margin: 0 0 2rem;
  break-inside: avoid;
}

.gallery-intro-card {
  min-height: 300px;
  padding: 2rem;
  background: var(--green);
  color: white;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-intro-card h2 {
  margin: 0 0 1rem;
  color: white;
  font-size: 2.4rem;
  line-height: 1.05;
}

.gallery-intro-card p {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.camp-photo-tile {
  position: relative;
  border: 0;
  padding: 0;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 40px rgba(0, 80, 40, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.camp-photo-tile:focus-visible {
  outline: 4px solid var(--green-bright);
  outline-offset: 5px;
}

.camp-photo-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(0, 80, 40, 0.18);
}

.camp-photo-tile .photo-credit-wrap,
.camp-photo-tile img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.camp-photo-tile.portrait .photo-credit-wrap,
.camp-photo-tile.portrait img {
  aspect-ratio: 4 / 5;
}

.camp-photo-tile.landscape .photo-credit-wrap,
.camp-photo-tile.landscape img {
  aspect-ratio: 5 / 3.3;
}

.camp-photo-tile.tall .photo-credit-wrap,
.camp-photo-tile.tall img {
  aspect-ratio: 3.5 / 5.3;
}

.camp-photo-tile.wide .photo-credit-wrap,
.camp-photo-tile.wide img {
  aspect-ratio: 5 / 3;
}

.camp-photo-tile .photo-credit-wrap {
  overflow: hidden;
}

.camp-photo-tile .photo-credit-wrap img {
  height: 100%;
}

.tile-title {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 4.6rem;
  color: white;
  font-size: 1.45rem;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.tile-caption {
  display: block;
  padding: 1rem 1.4rem;
  background: #fffaf4;
  color: #765f4f;
  font-size: 1.05rem;
  line-height: 1.25;
}

.submitted-photo-section {
  width: min(1500px, 88%);
  margin: 0 auto;
}

.submitted-photo-section h2 {
  margin: 0 0 1rem;
  color: var(--accent-text);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.submitted-photo-section .camp-photo-gallery {
  width: 100%;
  margin: 0 auto 5rem;
}

@media (max-width: 760px) {
  .camp-photo-gallery {
    width: min(100% - 2rem, 560px);
    columns: 1;
  }
}

/* BILDESIDE: TOPP / INTRO */

.brand {
  text-decoration: none;
}

.photo-page-hero {
  width: min(1220px, 90%);
  margin: 2.6rem auto 3rem;
  display: block;
}

.photo-page-text {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.68fr);
  column-gap: 1.6rem;
  align-items: start;
}

.photo-hero-copy {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border-radius: 24px;
  color: white;
  background:
    linear-gradient(180deg, rgba(0, 40, 22, 0.02), rgba(0, 45, 26, 0.64)),
    var(--green);
  box-shadow: 0 16px 38px rgba(0, 80, 40, 0.16);
}

.photo-hero-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 22% 76%,
      rgba(0, 37, 22, 0.9) 0%,
      rgba(0, 49, 29, 0.72) 35%,
      rgba(0, 54, 31, 0.2) 66%,
      rgba(0, 54, 31, 0) 100%
    ),
    linear-gradient(90deg, rgba(0, 54, 31, 0.42), rgba(0, 54, 31, 0.04)),
    linear-gradient(0deg, rgba(0, 45, 26, 0.45), rgba(0, 54, 31, 0));
  z-index: 1;
}

.photo-page-text h1 {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 0 0.55rem;
  color: white;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
  font-size: clamp(2.9rem, 5vw, 4.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.photo-page-text p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: white;
  font-family: Calibri, Arial, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.45;
  font-weight: 400;
  max-width: 440px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.photo-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.upload-box {
  grid-column: 2;
  align-self: start;
  width: 100%;
  margin: 0;
  padding: 1rem;
  background: white;
  color: var(--accent-text);
  border: 1px solid rgba(3, 93, 55, 0.14);
  border-radius: 18px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 80, 40, 0.12);
}

.upload-heading {
  margin-bottom: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--light);
}

.upload-heading p {
  margin: 0 0 0.15rem;
  color: var(--accent-text);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.upload-heading h2 {
  margin: 0;
  color: var(--accent-text);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1;
}

.upload-box label {
  display: grid;
  gap: 0.22rem;
  margin-top: 0.52rem;
  text-align: left;
  font-weight: 700;
}

.upload-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: start;
}

.upload-field-grid label {
  grid-template-rows: auto 44px auto;
}

.upload-field-grid input {
  height: 44px;
}

.upload-box small {
  color: #315442;
  font-family: Calibri, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.25;
}

.upload-box input,
.upload-box textarea {
  width: 100%;
  border: 2px solid var(--light);
  border-radius: 10px;
  padding: 0.52rem 0.64rem;
  font: inherit;
  color: var(--ink);
  background: #fbfdf8;
}

.upload-box input:focus,
.upload-box textarea:focus {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}

.upload-box textarea {
  resize: vertical;
}

.file-drop {
  border: 2px dashed rgba(3, 93, 55, 0.3);
  border-radius: 14px;
  padding: 0.64rem;
  text-align: center;
  background: #f4faef;
}

.file-drop strong {
  display: block;
  font-size: 0.95rem;
}

.file-drop span {
  display: block;
  margin-top: 0.18rem;
  color: #315442;
  font-family: Calibri, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
}

body.text-high-contrast .upload-box small,
body.text-high-contrast .file-drop span {
  color: var(--ink);
}

.file-drop input {
  margin-top: 0.45rem;
  padding: 0;
  color: var(--accent-text);
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.photo-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.upload-status,
.muted {
  margin: 1rem 0 0;
  font-weight: 700;
}

.consent-check {
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  padding: 0.52rem 0.58rem;
  border-radius: 10px;
  background: #f0f7ea;
  color: var(--accent-text);
  line-height: 1.25;
  font-size: 0.95rem;
}

.subtle-check {
  background: #eef7e8;
  margin-top: 0.52rem;
}

.consent-check input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
  accent-color: var(--green-bright);
}

.consent-check a {
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.upload-button {
  background: var(--green);
  color: white;
  text-transform: none;
  border: 0;
  cursor: pointer;
  margin-top: 0.6rem;
  width: 100%;
  text-align: center;
  padding: 0.66rem 0.9rem;
  font-size: 0.98rem;
}

.camp-photo-feature {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  box-shadow: 0 18px 40px rgba(0, 80, 40, 0.12);
}

.camp-photo-feature img {
  width: 100%;
  height: min(72vh, 760px);
  display: block;
  object-fit: cover;
  object-position: center;
}

/* LIGHTBOX */

.camp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 5rem;
  background: rgba(0, 34, 20, 0.9);
}

.camp-lightbox.is-open {
  display: grid;
}

.camp-lightbox-inner {
  margin: 0;
  width: min(100%, 1050px);
}

.camp-lightbox-inner img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  display: block;
  border-radius: 18px 18px 0 0;
  background: white;
}

.camp-lightbox-inner figcaption {
  padding: 1rem 1.4rem;
  background: #fffaf4;
  border-radius: 0 0 18px 18px;
}

.camp-lightbox-inner strong {
  display: block;
  color: var(--accent-text);
  font-size: 1.35rem;
}

.camp-lightbox-inner span {
  display: block;
  margin-top: 0.25rem;
  color: var(--dark);
}

.camp-lightbox button {
  position: absolute;
  border: 0;
  background: var(--light);
  color: var(--accent-text);
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.camp-lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 2rem;
}

.camp-lightbox-prev,
.camp-lightbox-next {
  top: 50%;
  width: 58px;
  height: 74px;
  transform: translateY(-50%);
  border-radius: 999px;
  font-size: 3rem;
}

.camp-lightbox-prev {
  left: 1.5rem;
}

.camp-lightbox-next {
  right: 1.5rem;
}

/* UNDERSIDER */

.page-hero,
.page-section,
.admin-panel {
  width: min(1120px, 90%);
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 3.5rem;
  align-items: center;
  padding: 4.5rem 0 3rem;
}

.page-hero h1 {
  margin: 0 0 1.15rem;
  padding-top: 0.22em;
  font-size: clamp(3.6rem, 7vw, 7.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.page-hero p,
.page-section p {
  color: var(--ink);
  font-family: Calibri, Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
}

.page-hero .photo-credit-wrap,
.page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero .photo-credit-wrap {
  overflow: hidden;
}

.page-hero .photo-credit-wrap img {
  height: 100%;
  box-shadow: none;
}

.page-kicker {
  display: block;
  width: fit-content;
  margin: 0 0 0.55rem;
  color: var(--accent-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.page-section {
  margin-top: 3rem;
  margin-bottom: 4.5rem;
}

.page-section h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.content-card,
.admin-panel,
.timeline-item {
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-card,
.timeline-item {
  padding: 1.4rem;
}

.content-card h3,
.timeline-item h3 {
  margin: 0 0 0.7rem;
  font-size: 1.4rem;
}

.content-card p,
.timeline-item p {
  margin: 0;
  font-size: 1.05rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.terms-note {
  margin-top: 1.4rem;
  padding: 1.4rem;
  background: var(--green);
  color: white;
  border-radius: 8px;
}

.terms-note h3 {
  margin: 0 0 0.6rem;
  color: white;
}

.terms-note p {
  margin: 0;
  color: white;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 1.4rem;
  align-items: start;
}

.contact-form,
.contact-info-card {
  background: white;
  border: 1px solid rgba(3, 93, 55, 0.14);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.1rem, 3vw, 1.8rem);
}

.contact-form h2,
.contact-info-card h2 {
  margin: 0;
}

.contact-form .form-intro {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--accent-text);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 2px solid var(--light);
  border-radius: 10px;
  padding: 0.68rem 0.78rem;
  font: inherit;
  color: var(--ink);
  background: #fbfdf8;
}

.contact-info-card {
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
}

.contact-info-card p {
  font-size: 1.05rem;
}

.contact-lookup-form {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 1.4rem;
}

.contact-lookup-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--accent-text);
  font-weight: 700;
}

.contact-lookup-form input {
  width: 100%;
  border: 2px solid var(--light);
  border-radius: 10px;
  padding: 0.68rem 0.78rem;
  font: inherit;
  color: var(--ink);
  background: #fbfdf8;
}

.contact-result-card {
  margin: 0.4rem 0 1.4rem;
  padding: 1rem;
  border-radius: 12px;
  background: #f4faef;
  border: 1px solid #d9ebcc;
}

.contact-result-card h3 {
  margin: 0 0 0.6rem;
}

.contact-result-card p {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.contact-note-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.contact-note-list p {
  margin: 0;
  padding-top: 0.8rem;
  border-top: 1px solid #d9ebcc;
}

.radio-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 900;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-family: "Congenial", Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(0, 55, 30, 0.32);
}

.radio-float img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.radio-float span {
  font-size: 1rem;
  line-height: 1;
}

.radio-float:hover,
.radio-float:focus {
  transform: translateY(-2px);
}

.radio-hero-card {
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.8rem;
  padding: 2rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at 70% 18%, rgba(0, 165, 72, 0.28), transparent 34%),
    var(--green);
  color: white;
  box-shadow: var(--shadow);
  text-align: center;
}

.radio-hero-card img {
  width: 92px;
  height: 92px;
  padding: 1.1rem;
  border-radius: 999px;
  background: white;
  filter: none;
  box-shadow: none;
}

.radio-hero-card strong {
  font-family: "Congenial", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.radio-hero-card span {
  color: white;
  font-family: Calibri, Arial, sans-serif;
  font-size: 1.15rem;
}

.radio-submit-section {
  width: min(860px, 90%);
}

.radio-form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 239, 0.96)),
    var(--pale);
}

.volunteer-public-section .contact-form,
.volunteer-public-section .contact-info-card {
  height: fit-content;
}

.volunteer-role-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.volunteer-login-layout {
  max-width: 680px;
}

.volunteer-login-card {
  margin-bottom: 1.4rem;
}

.volunteer-dashboard-page {
  margin-top: 1.3rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: white;
  border: 1px solid rgba(3, 93, 55, 0.14);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.volunteer-dashboard-page[hidden] {
  display: none;
}

.volunteer-dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.volunteer-dashboard-header.compact {
  margin-top: 1.8rem;
}

.volunteer-dashboard-header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}

.volunteer-dashboard-header p {
  margin: 0.25rem 0 0;
}

.volunteer-dashboard-note {
  max-width: 330px;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: #edf6e8;
  color: var(--ink);
  font-size: 1rem;
}

.volunteer-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
  align-items: start;
}

.volunteer-calendar.compact {
  margin-top: 0.8rem;
}

.volunteer-day-column {
  display: grid;
  gap: 0.65rem;
  min-height: 100%;
  padding: 0.8rem;
  border: 1px solid #d9ebcc;
  border-radius: 14px;
  background: #f8fcf4;
}

.volunteer-day-column h3,
.volunteer-day-column h4 {
  margin: 0;
  color: var(--accent-text);
  font-size: 1.1rem;
  text-transform: capitalize;
}

.volunteer-calendar-shift {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem;
  border: 2px solid transparent;
  border-radius: 12px;
  background: white;
}

.volunteer-calendar-shift.is-my-shift {
  border-color: var(--green);
  background: #e7f5dc;
}

.volunteer-calendar-shift.is-full {
  opacity: 0.72;
}

.volunteer-empty-day {
  background: #fbfdf8;
  border-style: dashed;
}

.volunteer-empty-day p {
  margin: 0;
  color: #496154;
  font-family: Calibri, Arial, sans-serif;
  font-size: 0.98rem;
}

.volunteer-calendar-shift p {
  margin: 0;
  font-size: 0.98rem;
}

.volunteer-shift-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.volunteer-shift-meta strong {
  font-family: "Congenial", Arial, sans-serif;
  color: var(--accent-text);
  font-size: 1.05rem;
  line-height: 1.1;
}

.volunteer-shift-meta span,
.admin-assigned-shifts small {
  color: var(--ink);
  font-family: Calibri, Arial, sans-serif;
  font-size: 0.95rem;
}

.volunteer-role-browser {
  margin-top: 1.6rem;
}

.volunteer-role-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}

.volunteer-role-card {
  display: grid;
  gap: 0.45rem;
  text-align: left;
  padding: 1rem;
  border: 2px solid #d9ebcc;
  border-radius: 14px;
  background: #fbfdf8;
  color: var(--ink);
  cursor: pointer;
}

.volunteer-role-card strong {
  color: var(--accent-text);
  font-family: "Congenial", Arial, sans-serif;
  font-size: 1.2rem;
}

.volunteer-role-card span {
  font-family: Calibri, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.volunteer-role-card small {
  font-family: Calibri, Arial, sans-serif;
  font-weight: 700;
}

.volunteer-role-card.is-active {
  border-color: var(--green);
  background: #e7f5dc;
}

.volunteer-role-shifts {
  margin-top: 1rem;
}

.volunteer-role-shifts h3 {
  margin: 0 0 0.8rem;
  color: var(--accent-text);
  font-size: 1.45rem;
}

.volunteer-shift-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.volunteer-shift-card {
  padding: 1rem;
  border: 1px solid #d9ebcc;
  border-radius: 12px;
  background: #f8fcf4;
}

.volunteer-shift-card h3,
.volunteer-shift-card p {
  margin: 0 0 0.55rem;
}

.is-current-volunteer {
  color: var(--green);
  font-weight: 900;
}

.admin-panel {
  padding: 1.6rem;
  margin-top: 4rem;
  margin-bottom: 5rem;
}

.admin-panel[hidden] {
  display: none;
}

.admin-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.admin-panel-header h2 {
  margin: 0;
}

.admin-panel-header .page-kicker {
  margin-bottom: 0.35rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.admin-tabs,
.admin-subtabs {
  font-family: "Congenial", Arial, sans-serif;
}

.admin-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: #edf6e8;
  width: fit-content;
  max-width: 100%;
}

.admin-tab,
.admin-subtab {
  border: 2px solid var(--light);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: white;
  color: var(--accent-text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-subtab {
  border-color: transparent;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
}

.admin-tab.is-active,
.admin-subtab.is-active {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.admin-login-panel form {
  display: grid;
  gap: 1rem;
  max-width: 420px;
}

.admin-login-panel label {
  display: grid;
  gap: 0.35rem;
  color: var(--accent-text);
  font-weight: 700;
}

.admin-login-panel input {
  width: 100%;
  border: 2px solid var(--light);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
}

.admin-login-panel .button,
.admin-panel-header .button {
  border: 0;
  cursor: pointer;
}

.admin-dashboard {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.admin-volunteer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.admin-volunteer-page[hidden] {
  display: none;
}

.admin-list-block {
  margin-top: 1.4rem;
}

.admin-list-block > p {
  margin: -0.35rem 0 1rem;
  color: var(--ink);
  font-family: Calibri, Arial, sans-serif;
  font-size: 1rem;
}

.admin-list-block h4,
.admin-news-form h4 {
  margin: 0 0 0.8rem;
  color: var(--accent-text);
  font-size: 1.25rem;
}

.admin-volunteer-assignment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
  margin-top: 0.9rem;
}

.admin-volunteer-assignment button,
.admin-assigned-shifts button {
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: var(--green);
  color: white;
  font-family: "Congenial", Arial, sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.admin-volunteer-assignment button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.admin-assigned-shifts {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-family: Calibri, Arial, sans-serif;
}

.admin-assigned-shifts > strong {
  color: var(--accent-text);
  font-family: "Congenial", Arial, sans-serif;
}

.admin-assigned-shifts span {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #edf6e8;
}

.admin-assigned-shifts button {
  background: #22382d;
  font-size: 0.9rem;
}

.admin-work-card[hidden] {
  display: none;
}

.admin-work-card {
  padding: 1.2rem;
  background: #fbfdf8;
  border: 1px solid rgba(3, 93, 55, 0.14);
  border-radius: 12px;
}

.admin-news-card {
  background: #f4faef;
}

.admin-work-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  margin-bottom: 1rem;
}

.admin-work-heading > span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
}

.admin-work-heading h3 {
  margin: 0;
  font-size: 1.45rem;
}

.admin-work-heading p {
  margin: 0.18rem 0 0;
  color: var(--ink);
  font-family: Calibri, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.admin-news-form {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.admin-news-form h3 {
  margin: 0;
}

.admin-news-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--accent-text);
  font-weight: 700;
}

.admin-news-form input,
.admin-news-form textarea,
.admin-news-form select {
  width: 100%;
  border: 2px solid var(--light);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: white;
}

.admin-inline-label {
  display: grid;
  gap: 0.35rem;
  max-width: 280px;
  margin: 0.7rem 0;
  color: var(--accent-text);
  font-weight: 700;
}

.admin-inline-label select {
  width: 100%;
  border: 2px solid var(--light);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  background: white;
  color: var(--ink);
}

.admin-photo-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid #d9ebcc;
}

.admin-photo-item > img {
  width: 96px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--light);
}

.admin-empty-preview {
  width: 96px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf6e8;
  color: var(--accent-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.admin-info-card {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border: 1px solid #d9ebcc;
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 18px rgba(0, 80, 40, 0.08);
}

.admin-info-card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.admin-info-card strong,
.admin-info-card small {
  display: block;
}

.admin-info-card p {
  margin: 0;
  color: var(--ink);
  font-family: Calibri, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.admin-info-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  font-family: Calibri, Arial, sans-serif;
}

.admin-info-list div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 0.6rem;
}

.admin-info-list dt {
  color: var(--accent-text);
  font-weight: 700;
}

.admin-info-list dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.admin-contact-item {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
}

.admin-contact-avatar {
  width: 64px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--light);
  color: var(--green);
  font-weight: 900;
  font-size: 1.5rem;
}

.admin-photo-item strong,
.admin-photo-item span,
.admin-photo-item small {
  display: block;
}

.admin-photo-item span,
.admin-photo-item small {
  font-family: Calibri, Arial, sans-serif;
}

.admin-photo-item p {
  margin: 0.5rem 0;
  color: var(--ink);
  font-family: Calibri, Arial, sans-serif;
}

.admin-actions {
  display: flex;
  gap: 0.6rem;
}

.admin-actions button {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: var(--green);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-actions button:last-child {
  background: #26352d;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(3, 30, 18, 0.42);
}

.confirm-modal-card {
  width: min(420px, 100%);
  padding: 1.5rem;
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(3, 93, 55, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.confirm-modal-card h2 {
  margin: 0 0 0.6rem;
  font-size: 2.2rem;
}

.confirm-modal-card p:not(.page-kicker) {
  margin: 0;
  color: var(--ink);
  font-family: Calibri, Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.45;
}

.confirm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.confirm-danger {
  background: var(--green);
  color: white;
}

.admin-reply-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.admin-reply-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--accent-text);
  font-weight: 700;
}

.admin-reply-form textarea {
  width: 100%;
  border: 2px solid var(--light);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: white;
}

.approved-photo-grid .muted {
  display: inline-block;
  margin: 0 0 2rem;
}

/* SISTE NYTT */

.post-hero,
.post-section {
  width: min(1220px, 90%);
  margin-left: auto;
  margin-right: auto;
}

.post-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 2rem;
  align-items: start;
  padding: 3.2rem 0 2.5rem;
}

.official-news-hero {
  grid-template-columns: 1fr;
}

.post-hero-copy {
  min-height: 460px;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  background:
    linear-gradient(180deg, rgba(0, 40, 22, 0.08), rgba(0, 45, 26, 0.72)),
    url("images/leirvibber-konsert_foto_Iris-M-N-Frydenlund.jpg") center / cover,
    var(--green);
  box-shadow: var(--shadow);
}

.post-hero-copy .page-kicker,
.post-hero-copy h1,
.post-hero-copy p {
  color: white;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.post-hero-copy h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.post-hero-copy p:last-child {
  max-width: 520px;
  margin: 0;
  font-family: Calibri, Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.45;
}

.post-submit-box {
  width: 100%;
  margin: 0;
  padding: 1rem;
  background: white;
  color: var(--accent-text);
  border: 1px solid rgba(3, 93, 55, 0.14);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 80, 40, 0.12);
}

.post-submit-box label {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.62rem;
  font-weight: 700;
}

.post-submit-box input,
.post-submit-box textarea,
.post-submit-box select {
  width: 100%;
  border: 2px solid var(--light);
  border-radius: 10px;
  padding: 0.52rem 0.64rem;
  font: inherit;
  color: var(--ink);
  background: #fbfdf8;
}

.post-section {
  margin-top: 1.5rem;
  margin-bottom: 5.5rem;
}

.post-section h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.post-masonry {
  columns: 3 260px;
  column-gap: 1.5rem;
}

.post-card {
  width: 100%;
  break-inside: avoid;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
}

.post-card-text-only {
  background: #f4faef;
  border: 1px solid #d9ebcc;
}

.post-card-text-only .post-card-body {
  padding: 1.35rem 1.25rem 1.4rem;
}

.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.post-card-tall img,
.post-card-portrait img {
  aspect-ratio: 3 / 4;
}

.post-card-body {
  display: block;
  padding: 1rem 1.1rem 1.15rem;
}

.post-card strong,
.post-card span,
.post-card small {
  display: block;
}

.post-card strong {
  color: var(--accent-text);
  font-size: 1.35rem;
  line-height: 1.05;
}

.post-card .post-card-body > span {
  margin-top: 0.45rem;
  color: var(--ink);
  font-family: Calibri, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.post-card small {
  margin-top: 0.75rem;
  color: var(--accent-text);
  font-size: 0.95rem;
}

.post-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 3rem;
  background: rgba(0, 34, 20, 0.88);
}

.post-modal.is-open {
  display: grid;
}

.post-modal-inner {
  position: relative;
  width: min(880px, 100%);
  max-height: 88vh;
  overflow: auto;
  margin: 0;
  background: white;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.post-modal-inner > img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.post-modal-inner > div {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.post-modal-inner h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.post-modal-inner p:last-child {
  color: var(--ink);
  font-family: Calibri, Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

@media (max-width: 1000px) {
  .photo-page-text {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .post-hero {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .upload-box {
    grid-column: 1;
  }

  .upload-box {
    align-self: auto;
  }

  .upload-field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 16vw, 5.5rem);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .volunteer-role-list,
  .volunteer-dashboard-header,
  .admin-volunteer-grid {
    grid-template-columns: 1fr;
  }

  .volunteer-dashboard-header {
    display: grid;
    align-items: start;
  }

  .volunteer-dashboard-note {
    max-width: none;
  }

  .admin-photo-item {
    grid-template-columns: 1fr;
  }

  .submitted-photo-section {
    width: min(100% - 2rem, 560px);
  }
}

@media (max-width: 560px) {
  .post-hero,
  .post-section {
    width: min(100% - 2rem, 560px);
  }

  .post-hero {
    padding-top: 1.4rem;
  }

  .post-hero-copy {
    min-height: 320px;
    border-radius: 20px;
  }

  .post-hero-copy h1 {
    font-size: 3rem;
  }

  .post-submit-box {
    border-radius: 16px;
    padding: 0.9rem;
  }

  .post-masonry {
    columns: 1;
  }

  .volunteer-calendar,
  .volunteer-role-card-grid {
    grid-template-columns: 1fr;
  }

  .volunteer-shift-meta,
  .admin-volunteer-assignment,
  .admin-assigned-shifts span {
    display: grid;
  }

  .post-modal {
    padding: 1rem;
  }

  .photo-page-hero {
    width: min(100% - 2rem, 560px);
    margin-top: 1.5rem;
  }

  .photo-hero-copy {
    min-height: 330px;
    border-radius: 20px;
  }

  .photo-page-text h1 {
    font-size: 2.6rem;
  }

  .photo-page-text p {
    font-size: 1rem;
  }

  .upload-box {
    border-radius: 16px;
    padding: 0.9rem;
  }

  .camp-lightbox {
    padding: 4.5rem 1rem;
  }
}
