@charset "UTF-8";
/* Theme Name: RX2 VFHF
Author: RX2
Author URI: https://rx2.se
Description: Tema för Vimmerby Fabriks- och Hantverksförening – ACF flexible-content blockarkitektur (byggt på RX2 Starter).
Version: 1.1.1
Text Domain: rx2
*/
/*
VARIABLER

Variabler som återkommer. Framförallt responsiva storlekar.

 */
/*
MIXINS

Här samlas olika SCSS-funktioner som kan inkluderas i övriga filer med @include.
https://sass-lang.com/documentation/at-rules/mixin

*/
/* GENERAL
Generella regler och marginaler, samt resets
 */
html {
  font-size: 100%;
  scroll-padding-top: 78px;
}
@media all and (min-width: 768px) {
  html {
    scroll-padding-top: 90px;
  }
}

* {
  border: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  outline: 0;
  padding: 0;
  text-rendering: auto;
}

:focus-visible {
  outline: 2px solid #A39161;
  outline-offset: 2px;
}

body {
  background: #fff;
  box-sizing: border-box;
  color: #1B1B19;
  overflow-x: hidden;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

svg {
  display: block;
}

.alignleft,
.alignright {
  height: auto;
  max-width: 47%;
}

.alignnone {
  float: none;
}

.alignright {
  float: right;
  margin: 0 0 1.5rem 1.5rem;
}

.alignleft {
  float: left;
  margin: 0 1.5rem 1.5rem 0;
}

.aligncenter {
  display: block;
  margin: 1.5rem auto;
}

.mobile-only {
  display: none;
}
@media all and (max-width: 767px) {
  .mobile-only {
    display: block;
  }
}

/* Generella marginaler */
body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
}

#main {
  background: #fff;
  position: relative;
  -webkit-box-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

.container {
  margin: auto;
  max-width: 1160px;
  padding: 0 20px;
  position: relative;
  width: 100%;
}

.container--wide {
  max-width: 100%;
}

.container--block {
  max-width: 1240px;
  padding: 0 50px;
}
@media all and (max-width: 1024px) {
  .container--block {
    padding: 0 20px;
  }
}
@media all and (max-width: 767px) {
  .container--block {
    padding: 0 10px;
  }
}

.layout {
  padding: 3.125rem 0;
}
@media all and (max-width: 1024px) {
  .layout {
    padding: 1.25rem 0;
  }
}
@media all and (max-width: 767px) {
  .layout {
    padding: 0.625rem 0;
  }
}

.section-header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.overlay {
  position: relative;
}
.overlay::before {
  background: rgba(0, 0, 0, 0.5);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.inverted,
.is-inverted {
  color: #fff;
}

.visually-hidden,
.screen-reader-text {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.icon {
  display: inline-block;
  fill: currentColor;
  flex: 0 0 auto;
  height: 1em;
  vertical-align: middle;
  width: 1em;
}

.rx2-reveal {
  opacity: 0;
}
.rx2-reveal.is-revealed {
  animation: rx2-fade-in-down 1.25s 0.3s both;
}

@keyframes rx2-fade-in-down {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* TYPOGRAFI
Typskala, rubriker, brödtext och knappbas.
 */
body,
input,
button,
textarea,
select {
  font-family: "Poppins", sans-serif;
}

body {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

.heading {
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-weight: 600;
  line-height: 1;
}

.heading--primary {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.heading--large {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.heading--secondary {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.heading--tertiary {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.heading--quaternary {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.heading--small {
  font-size: 1.125rem;
}

.heading--eyebrow {
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
}
@media all and (max-width: 767px) {
  .heading--eyebrow {
    font-size: 1rem;
  }
}

.preamble {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.7rem;
  margin-bottom: 1.25rem;
}
@media all and (max-width: 767px) {
  .preamble {
    font-size: 1.2rem;
  }
}

.entry-content p {
  margin-bottom: 0.9rem;
}
.entry-content h2 {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}
.entry-content h3 {
  font-size: 1.8rem;
  margin: 0.5rem 0 1rem;
}
.entry-content ul,
.entry-content ol {
  margin-bottom: 0.9rem;
  padding-left: 2.5rem;
}
.entry-content strong,
.entry-content b {
  font-weight: 700;
}

.button {
  background: #A39161;
  border: 2px solid #A39161;
  border-radius: 5px;
  box-sizing: border-box;
  color: #F9FAFB;
  cursor: pointer;
  display: inline-block;
  fill: currentColor;
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s;
}
@media all and (pointer: fine) {
  .button:hover, .button:focus-visible {
    transform: translateY(-8px);
  }
}
@media all and (max-width: 767px) {
  .button {
    font-size: 1.1rem;
  }
}
.button:hover, .button:focus-visible {
  color: #fff;
}

.button--icon {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}
.button--icon .icon {
  height: 1em;
  width: 1em;
}

.button--block {
  display: block;
  width: 100%;
}

a {
  color: #1644BB;
}

/* FÄRGTEMAN
Parar ihop med ACF-fältet color_theme (theme-<color>) samt knappvarianter (button--<color>).
Valen definieras i inc/acf-filters.php.
 */
.theme-white {
  background-color: #fff;
}

.theme-lightgray {
  background-color: #F9FAFB;
}

.theme-dark {
  background-color: #1B1B19;
}

.theme-gold {
  background-color: #A39161;
}

.is-inverted {
  color: #fff;
}
.is-inverted .heading,
.is-inverted .entry-content h2,
.is-inverted .entry-content h3 {
  color: #fff;
}

.button--gold {
  background: #A39161;
  border-color: #A39161;
  color: #F9FAFB;
}

.button--ghost-white {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.button--dark {
  background: #1B1B19;
  border-color: #A39161;
  color: #F9FAFB;
}
.button--dark:hover, .button--dark:focus-visible {
  background: #A39161;
}

/* SIDFOT
Matchar footer.php: symbol, föreningsnamn, sidfotstext och kontaktuppgifter.
 */
.site-footer {
  background: #1B1B19;
  border-bottom: 5px solid #A39161;
  color: #F9FAFB;
  padding: 2.5rem;
  text-align: center;
}

.site-footer__container {
  padding: 0;
}

.site-footer__symbol {
  margin: 0 auto 1.875rem;
  width: 60px;
}

.site-footer__name,
.site-footer__heading {
  color: #A39161;
  font-size: 1.5rem;
  line-height: 27px;
}

.site-footer__text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.site-footer__heading {
  margin-bottom: 0.625rem;
}

.site-footer__contact {
  align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0 -8px;
}

.site-footer__contact-item {
  align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin: 0 8px;
}
.site-footer__contact-item .icon {
  height: 14px;
  margin: 0 1.75px;
  width: 14px;
}

.site-footer__contact-link {
  align-items: center;
  color: #F9FAFB;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
}

.site-footer__contact-text {
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-size: 1.125rem;
  line-height: 27px;
  padding-left: 5px;
}

/* HUVUDMENY (GLOBAL)
Matchar header.php: logotyp + nav-global-meny + "Ansök nu"-knapp + mobiltoggle.
Sidhuvudet ligger kvar i toppen vid scroll (sticky). När man scrollat en bit lägger rx2.StickyHeader
till klassen global-nav--compact: logotypen krymper och sidhuvudets höjd följer med.
 */
.global-nav {
  background: #A39161;
  box-shadow: 0 6px 18px -6px rgba(27, 27, 25, 0.35);
  left: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
}

.admin-bar .global-nav {
  top: 32px;
}
@media all and (max-width: 782px) {
  .admin-bar .global-nav {
    top: 46px;
  }
}
@media all and (max-width: 600px) {
  .admin-bar .global-nav {
    top: 0;
  }
}

.global-nav__container {
  align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding-bottom: 1.25rem;
  padding-top: 1.25rem;
}

.global-nav__logo {
  display: block;
  flex: 0 0 auto;
  margin-right: auto;
  transition: width 0.3s ease;
  width: 184px;
}
@media all and (max-width: 767px) {
  .global-nav__logo {
    width: 88px;
  }
}
.global-nav__logo img {
  width: 100%;
}
@media all and (min-width: 768px) {
  .global-nav--compact .global-nav__logo {
    width: 115px;
  }
}

.global-nav__site-name {
  color: #fff;
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-size: 1.7rem;
  text-decoration: none;
  text-transform: uppercase;
}

.global-nav__nav {
  margin-left: auto;
}
@media all and (max-width: 767px) {
  .global-nav__nav {
    display: none;
  }
}

.global-nav__menu {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
}
.global-nav__menu li {
  margin: 0 10px;
}
.global-nav__menu li:first-child {
  margin-left: 0;
}
.global-nav__menu li:last-child {
  margin-right: 0;
}
.global-nav__menu a {
  color: #fff;
  display: block;
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 20px;
  padding: 13px 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
@media all and (max-width: 1024px) {
  .global-nav__menu a {
    font-size: 1.5rem;
  }
}
.global-nav__menu a:hover, .global-nav__menu a:focus-visible {
  color: #1B1B19;
}
.global-nav__menu .current-menu-item > a,
.global-nav__menu .current_page_item > a {
  color: #1B1B19;
}

.global-nav__cta {
  align-items: center;
  border: 2px solid #A39161;
  border-radius: 5px;
  color: #fff;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  fill: currentColor;
  flex: 0 0 auto;
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  gap: 5px;
  line-height: 1;
  margin-left: 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
@media all and (max-width: 1024px) {
  .global-nav__cta {
    font-size: 1.5rem;
  }
}
@media all and (max-width: 767px) {
  .global-nav__cta {
    font-size: 1.6rem;
    margin-bottom: -5px;
    margin-left: auto;
    margin-top: -5px;
  }
}
.global-nav__cta:hover, .global-nav__cta:focus-visible {
  color: #1B1B19;
}

.global-nav__toggle {
  background: transparent;
  border-radius: 4px;
  box-sizing: content-box;
  color: #fff;
  cursor: pointer;
  display: none;
  height: 20px;
  margin: -8px 0 -8px 20px;
  padding: 8px 16px;
  width: 20px;
}
@media all and (max-width: 767px) {
  .global-nav__toggle {
    display: block;
  }
}
.global-nav__toggle svg {
  fill: currentColor;
  height: 20px;
  width: 20px;
}

/* MOBILMENY
Utfällbar panel från höger. Öppnas/stängs av rx2.Nav (klass: mobile-menu--open).
 */
.mobile-menu {
  bottom: 0;
  color: rgba(0, 0, 0, 0.75);
  font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
  font-size: 14px;
  font-weight: 500;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  visibility: hidden;
  z-index: 100000;
}

.mobile-menu--open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__overlay {
  background-color: rgba(0, 0, 0, 0.25);
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.5s;
  width: 100%;
}
.mobile-menu--open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__panel {
  background-color: #f3f3f3;
  box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.25);
  height: 100%;
  overflow: hidden auto;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform 0.2s ease-out;
  width: 320px;
}
.mobile-menu--open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__close {
  background-color: transparent;
  box-sizing: content-box;
  color: #555;
  cursor: pointer;
  height: 20px;
  padding: 8px 16px;
  position: absolute;
  right: -8px;
  top: 0;
  width: 20px;
}
.mobile-menu__close svg {
  fill: currentColor;
  height: 20px;
  width: 20px;
}

.mobile-menu__logo {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 28px;
  min-height: 100px;
}
.mobile-menu__logo img {
  max-height: 100px;
  width: auto;
}

.mobile-menu__header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  height: 44px;
}

.mobile-menu__menu {
  list-style: none;
}
.mobile-menu__menu a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.75);
  display: block;
  line-height: 20px;
  padding: 12px 12px 12px 16px;
  text-decoration: none;
}
.mobile-menu__menu a:hover, .mobile-menu__menu a:focus-visible {
  background-color: rgba(0, 0, 0, 0.02);
}
.mobile-menu__menu .current-menu-item > a,
.mobile-menu__menu .current_page_item > a {
  background-color: #fafafa;
}
.mobile-menu__menu .sub-menu {
  list-style: none;
}
.mobile-menu__menu .sub-menu a {
  padding-left: 32px;
}

body.mobile-menu-is-open {
  overflow: hidden;
}

/* LJUSLÅDA
Enkel bildvisare för länkar med data-rx2-lightbox (rx2.Lightbox).
 */
.lightbox {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.87);
  bottom: 0;
  color: #eee;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  left: 0;
  opacity: 0;
  padding: 60px 20px 20px;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 0.3s;
  visibility: hidden;
  z-index: 100001;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__image {
  max-height: calc(100vh - 180px);
  max-width: 100%;
  width: auto;
}

.lightbox__caption {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 800px;
  padding: 20px 0 0;
  text-align: center;
}

.lightbox__title {
  font-weight: 700;
}

.lightbox__close {
  background: transparent;
  color: rgba(238, 238, 238, 0.9);
  cursor: pointer;
  font-size: 2rem;
  height: 50px;
  line-height: 1;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 50px;
}
.lightbox__close:hover, .lightbox__close:focus-visible {
  color: #fff;
}
.lightbox__close svg {
  fill: currentColor;
  height: 24px;
  margin: auto;
  width: 24px;
}

/* HERO
Matchar part-hero.php (.hero / .hero__content ...).
Bakgrundsbilden sätts inline via get_hero_style_attr() (--bkg-img / --bkg-img-responsive)
och tonas ned med en lätt mörk ton ($hero-overlay).
 */
.hero {
  align-items: center;
  background-color: #1B1B19;
  background-image: var(--bkg-img);
  background-position: var(--bkg-pos, center center);
  background-repeat: no-repeat;
  background-size: cover;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  min-height: 50vh;
  padding: 0.625rem 0;
  position: relative;
}
@media all and (max-width: 767px) {
  .hero {
    background-image: var(--bkg-img-responsive, var(--bkg-img));
  }
}
.hero::before {
  background: rgba(27, 27, 25, 0.4);
  content: "";
  inset: 0;
  position: absolute;
}

.hero--front {
  min-height: 70vh;
}
@media all and (max-width: 767px) {
  .hero--front {
    min-height: 50vh;
  }
}

.hero__container {
  position: relative;
}

.hero__content {
  color: #fff;
  width: calc(50% - 20px);
}
@media all and (max-width: 1024px) {
  .hero__content {
    width: calc(75% - 20px);
  }
}
@media all and (max-width: 767px) {
  .hero__content {
    width: 100%;
  }
}

.hero__eyebrow {
  color: #F9FAFB;
  display: block;
  font-size: 1.125rem;
  line-height: 1.2;
}

.hero__heading {
  color: #fff;
}

.hero__preamble {
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.hero__preamble--large {
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 2rem;
}
@media all and (max-width: 1024px) {
  .hero__preamble--large {
    font-size: 1.5rem;
  }
}
@media all and (max-width: 767px) {
  .hero__preamble--large {
    font-size: 1.2rem;
  }
}

.hero__buttons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}
@media all and (max-width: 767px) {
  .hero__buttons .button {
    padding: 6px;
  }
}

.hero--hidden {
  padding-top: 1.25rem;
}

/* 404-SIDA
Matchar 404.php (bild + rubrik från Temainställningar → 404-sida).
 */
.error-404 {
  align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  min-height: 80vh;
  padding: 0.625rem 0;
  text-align: center;
}

.error-404__image {
  width: 200px;
}

.error-404__heading {
  margin-bottom: 0;
}

/* SÖKRESULTAT
Matchar search.php.
 */
.search-results-list {
  padding: 3.75rem 0 3.125rem;
}
.search-results-list .container {
  max-width: 1160px;
  padding: 0 10px;
}

.search-results-list__items {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.search-results-list__title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
}
.search-results-list__title a {
  color: #1B1B19;
  text-decoration: none;
}
.search-results-list__title a:hover, .search-results-list__title a:focus-visible {
  color: #A39161;
}

/* KOLUMNLAYOUTER (cols_2 / cols_3)
Stylar .cols-griden och de enkla kolumninnehållstyperna (heading, body_text, image, buttons, checklist).
Mer omfattande kolumntyper (bidragslista, tidslinje, kontaktpersoner, ansökningsformulär)
har egna partials under content/columns/.
 */
.cols {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}
@media all and (min-width: 768px) {
  .cols {
    align-items: center;
    flex-wrap: nowrap;
  }
}

.cols__column {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  flex: 1 1 100%;
  gap: 20px;
  min-width: 0;
  padding: 10px;
}

@media all and (min-width: 768px) {
  .cols--2 .cols__column {
    flex-basis: 50%;
  }
}

@media all and (min-width: 768px) {
  .cols--3 .cols__column {
    flex-basis: 33.333%;
  }
}

.section-header .heading:last-child {
  margin-bottom: 0;
}

.cols__heading {
  margin-bottom: 0;
}

.cols__column-content--image img {
  border-radius: 10px;
}

.button-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.checklist {
  list-style: none;
}

.checklist__item {
  align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  line-height: 27px;
}
.checklist__item .icon {
  color: #A39161;
  height: 14px;
  margin-right: 4px;
  width: 14px;
}

.checklist__text {
  padding-left: 5px;
}

/* STATISTIK (stats)
Rad med nyckeltal: värde + beskrivning.
 */
.stats {
  justify-content: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  list-style: none;
  text-align: center;
}
@media all and (min-width: 768px) {
  .stats {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    justify-content: space-between;
  }
}

.stats__item {
  margin: 0 auto 2.5rem auto;
  max-width: 13rem;
}
@media all and (min-width: 568px) and (max-width: 767.9px), (min-width: 1024px) {
  .stats__item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
  }
}
@media all and (min-width: 768px) {
  .stats__item {
    margin: 0;
  }
}
.stats__item:last-child {
  margin-bottom: 0;
}

.stats__value {
  display: block;
  white-space: nowrap;
}
@media all and (min-width: 568px) and (max-width: 767.9px), (min-width: 1024px) {
  .stats__value {
    margin-bottom: 0;
    margin-right: 1.25rem;
  }
}

@media all and (min-width: 568px) {
  .stats__desc {
    text-align: left;
  }
}
@media all and (min-width: 1024px) and (max-width: 1365.9px) {
  .stats__desc {
    font-size: 0.875rem;
  }
}
@media all and (min-width: 1024px) {
  .stats__desc {
    max-width: 12.5em;
    line-height: 1.2;
  }
}

/* INNEHÅLL MED SIDOPANEL (content_sidebar)
Rubrik + staplat kolumninnehåll i huvudspalten och en valfri sidopanel till höger.
Sidopanelen lyfts 50px upp över heron och följer med vid scroll på desktop.
Samma markup används av single-beviljade-bidrag.php.
 */
.layout-content_sidebar {
  padding: 0.625rem 0 3.75rem;
}

@media all and (max-width: 767px) {
  .content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
@media all and (min-width: 768px) {
  .content-sidebar {
    align-items: start;
    column-gap: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc((100% + 11px) / 3);
    margin-right: -10px;
  }
}

.content-sidebar--full {
  display: block;
  margin-right: 0;
}

.content-sidebar__main {
  padding: 0.625rem 0;
}

.content-sidebar__heading {
  margin-bottom: 1.25rem;
}

.content-sidebar__heading + .cols__column-content--grant_total {
  padding-top: 0.9rem;
}

.content-sidebar__aside {
  background-color: #F9FAFB;
  border-radius: 10px;
  border-top: 5px solid #A39161;
  font-size: 1rem;
  margin-top: -50px;
  padding: 20px;
  position: relative;
}
@media all and (min-width: 1025px) {
  .content-sidebar__aside {
    position: sticky;
    top: 200px;
  }
}
@media all and (max-width: 767px) {
  .content-sidebar__aside {
    margin-left: -10px;
    margin-right: -10px;
  }
}

.sidebar-box__image img {
  border-radius: 4px;
}

.sidebar-box__heading,
.sidebar-links__heading {
  font-size: 1.8rem;
  line-height: 1.6rem;
  margin: 1rem 0 0.5rem;
}

.sidebar-box__text p {
  margin-bottom: 0.9rem;
}
.sidebar-box__text ul,
.sidebar-box__text ol {
  padding-left: 20px;
}
.sidebar-box__text li {
  margin-bottom: 10px;
}

.sidebar-links__list {
  list-style: none;
}

.sidebar-links__link {
  align-items: center;
  color: #1B1B19;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  fill: currentColor;
}
.sidebar-links__link .icon {
  height: 16px;
  margin-right: 5px;
  width: 16px;
}

.grant-details__image img {
  border-radius: 7px;
  width: 100%;
}

.grant-details__heading {
  margin: 15px 0 4px;
}

.grant-details__description {
  font-size: 1.125rem;
}

.grant-details__list {
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-size: 1.125rem;
  line-height: 27px;
}

.grant-details__label {
  font-weight: 600;
}
.grant-details__label:not(:first-child) {
  margin-top: 10px;
}

.grant-details__value {
  font-weight: 500;
}

.grant-details__footer {
  margin-top: 46px;
  text-align: center;
}

/* BIDRAGSRÄKNARE (grant_stats)
Mörkt band med rubrik, räknare för totalt utdelat belopp och rullande lista med beviljade bidrag.
Räknaren animeras av rx2.Counter och listan av rx2.Marquee.
 */
.layout-grant_stats {
  padding: 3.125rem 0;
}
@media all and (max-width: 1024px) {
  .layout-grant_stats {
    padding: 1.25rem 0 0;
  }
}
@media all and (max-width: 767px) {
  .layout-grant_stats {
    padding: 0.625rem 0 0;
  }
}

@media all and (max-width: 767px) {
  .grant-stats {
    padding-bottom: 10px;
  }
}

.grant-stats {
  align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}
@media all and (min-width: 768px) {
  .grant-stats {
    flex-wrap: nowrap;
  }
}

.grant-stats__intro,
.grant-stats__counter {
  flex: 1 1 100%;
  padding: 10px;
}
@media all and (min-width: 768px) {
  .grant-stats__intro,
  .grant-stats__counter {
    flex-basis: 50%;
  }
}

.grant-stats__line {
  font-size: 1.125rem;
  line-height: 1.5;
}

.grant-stats__eyebrow {
  line-height: 1;
}

.grant-stats__heading {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
@media all and (max-width: 1024px) {
  .grant-stats__heading {
    font-size: 1.5rem;
  }
}
@media all and (max-width: 767px) {
  .grant-stats__heading {
    font-size: 1.2rem;
  }
}

.grant-stats__counter {
  color: #fff;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  justify-content: flex-end;
  line-height: 1;
  white-space: nowrap;
}
@media all and (max-width: 1024px) {
  .grant-stats__counter {
    font-size: 3rem;
  }
}
@media all and (max-width: 767px) {
  .grant-stats__counter {
    justify-content: flex-start;
  }
}

.grant-marquee {
  margin: 10px 0;
  overflow: hidden;
}
@media all and (max-width: 767px) {
  .grant-marquee {
    margin-left: 10px;
    margin-right: 10px;
  }
}

.grant-marquee__track {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: max-content;
  will-change: transform;
}
.grant-marquee__track.is-running {
  animation: rx2-marquee var(--marquee-duration, 40s) linear 250ms infinite;
}
.grant-marquee__track:hover {
  animation-play-state: paused;
}

.grant-marquee__group {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex: 0 0 auto;
  list-style: none;
}

.grant-marquee__item {
  align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 20px;
  white-space: nowrap;
}

.grant-marquee__link {
  align-items: center;
  color: #fff;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  text-decoration: none;
}
.grant-marquee__link .icon {
  color: #A39161;
  height: 23px;
  width: 23px;
}

.grant-marquee__text {
  align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}

@keyframes rx2-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--marquee-distance, 50%)));
  }
}
@media (prefers-reduced-motion: reduce) {
  .grant-marquee__track.is-running {
    animation: none;
  }
}
/* STEG (steps)
Centrerad rubrik och text, rad med kort (ikon, rubrik, text) och en valfri knapp.
 */
@media all and (max-width: 767px) {
  .layout-steps {
    padding: 1.25rem 0;
  }
}
@media all and (max-width: 767px) {
  .layout-steps .container--block {
    padding: 0 20px;
  }
}

.steps__header {
  text-align: center;
}

.steps__preamble p {
  margin: 0;
}

.steps {
  display: grid;
  gap: 20px;
  list-style: none;
  margin: 30px 0;
  padding: 0 10px;
}
@media all and (min-width: 768px) {
  .steps {
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
  }
}

.steps__item {
  align-items: center;
  background: #fff;
  border-bottom: 5px solid #A39161;
  border-radius: 3px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  text-align: center;
  transition: box-shadow 0.3s;
}
.steps__item:hover {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
}

.steps__icon {
  background: #F9FAFB;
  border-radius: 50%;
  color: #A39161;
  display: block;
  margin-bottom: 3px;
  padding: 16px;
}
.steps__icon .icon {
  height: 24px;
  width: 24px;
}

.steps__heading {
  margin-bottom: 0;
}

.steps__text {
  color: #6B7280;
  font-size: 1rem;
  line-height: 1.5;
}
.steps__text p {
  margin-bottom: 0.9rem;
}

.steps__footer {
  text-align: center;
}

/* BIDRAGSLISTA (grant_list) + TOTALT BIDRAGSBELOPP (grant_total)
Kolumntyper som listar beviljade bidrag (posttypen beviljade-bidrag) grupperade per år.
 */
.grant-total strong {
  font-weight: 700;
}

.grant-list {
  margin-bottom: 60px;
}

.grant-list__year {
  font-size: 2rem;
  margin: 50px 0 28px;
}
@media all and (max-width: 600px) {
  .grant-list__year {
    margin-top: 36px;
  }
}

.grant-list__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}
@media all and (max-width: 1024px) {
  .grant-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media all and (max-width: 600px) {
  .grant-list__grid {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
  }
}

.grant-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.grant-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
  transform: translateY(-5px);
}

.grant-card__image-wrap {
  display: block;
  overflow: hidden;
}

.grant-card__image {
  aspect-ratio: 16/9;
  background: #efefef;
  overflow: hidden;
}
.grant-card__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}
.grant-card:hover .grant-card__image img {
  transform: scale(1.05);
}

.grant-card__no-image {
  background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 100%);
  height: 100%;
  width: 100%;
}

.grant-card__body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}

.grant-card__title {
  font-size: 1.8rem;
  line-height: 1.45;
  margin: 0 0 14px;
}
.grant-card__title a {
  color: #1B1B19;
  text-decoration: none;
}
.grant-card__title a:hover, .grant-card__title a:focus-visible {
  text-decoration: underline;
}

.grant-card__meta {
  align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.grant-card__date {
  color: #888;
  font-size: 0.82rem;
}

.grant-card__amount {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  color: #1B1B19;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 4px 12px;
  white-space: nowrap;
}

.grant-card__description {
  color: #555;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* TIDSLINJE (timeline)
Historiska händelser (posttypen historik) varannan till vänster/höger om en mittlinje.
Bilderna öppnas i rx2.Lightbox.
 */
.timeline {
  list-style: none;
  margin: 40px auto;
  max-width: 1000px;
  padding: 20px 0;
  position: relative;
}
.timeline::before {
  background-color: #e0e0e0;
  bottom: 0;
  content: "";
  left: 50%;
  margin-left: -2px;
  position: absolute;
  top: 0;
  width: 4px;
}
@media all and (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
}

.timeline__item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}
@media all and (max-width: 768px) {
  .timeline__item {
    padding-left: 70px;
    padding-right: 20px;
    text-align: left !important;
    width: 100%;
  }
}
.timeline__item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline__item:nth-child(even) {
  left: 50%;
  text-align: left;
}
@media all and (max-width: 768px) {
  .timeline__item:nth-child(even) {
    left: 0;
  }
}

.timeline__dot {
  background-color: #1B1B19;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: 20px;
  position: absolute;
  top: 25px;
  width: 20px;
  z-index: 1;
}
.timeline__item:nth-child(odd) .timeline__dot {
  right: -10px;
}
.timeline__item:nth-child(even) .timeline__dot {
  left: -10px;
}
@media all and (max-width: 768px) {
  .timeline__item:nth-child(n) .timeline__dot {
    left: 20px;
    right: auto;
  }
}

.timeline__year {
  color: #1B1B19;
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline__content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  transition: transform 0.3s ease;
}
.timeline__content:hover {
  transform: translateY(-5px);
}

.timeline__image {
  margin-bottom: 15px;
}
.timeline__image a {
  border-radius: 4px;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
}
.timeline__image img {
  border-radius: 4px;
  display: inline;
  height: auto;
  transition: transform 0.3s ease;
  width: 100%;
}
.timeline__image a:hover img {
  transform: scale(1.05);
}

.timeline__heading {
  font-size: 1.8rem;
  margin: 0 0 1rem;
}

.timeline__text {
  margin-bottom: 0.9rem;
}

/* KONTAKTPERSONER (contacts)
Rutnät med kontaktpersoner (posttypen kontaktpersoner) i menyordning.
 */
.contacts {
  display: grid;
  gap: 30px;
  margin-bottom: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}
@media all and (max-width: 1024px) {
  .contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media all and (max-width: 767px) {
  .contacts {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact {
  text-align: center;
}

.contact__image {
  margin-bottom: 10px;
}
.contact__image img {
  border-radius: 10px;
  border-top: 5px solid #A39161;
  width: 100%;
}

.contact__name {
  display: block;
  font-size: 1.5rem;
  line-height: 33px;
}

.contact__title {
  display: block;
  font-size: 1.125rem;
  line-height: 42px;
}

.contact__links {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  justify-content: center;
  list-style: none;
}

.contact__link {
  align-items: center;
  color: #1B1B19;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 20px;
  padding-bottom: 13px;
  text-decoration: none;
}
.contact__link .icon {
  color: #A39161;
  height: 16px;
  margin-bottom: 5px;
  width: 16px;
}

a.contact__link:hover,
a.contact__link:focus-visible {
  color: #A39161;
}

/* ANSÖKNINGSFORMULÄR (application_form)
Formuläret renderas av col-application_form.php och tas emot av inc/applications.php.
 */
.application-form {
  padding-bottom: 50px;
}

.application-form__fields {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
}

.application-form__group {
  align-items: center;
  display: flex;
  flex: 0 0 100%;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 0 5px;
}
@media all and (min-width: 768px) {
  .application-form__group--third {
    flex-basis: 33.333%;
  }
  .application-form__group--two-thirds {
    flex-basis: 66.666%;
  }
  .application-form__group--half {
    flex-basis: 50%;
  }
}

.application-form__section-heading {
  font-size: 1.8rem;
  margin: 0.5rem 0 1rem;
}

.application-form__label {
  display: block;
  width: 100%;
  font-family: "alternate-gothic-no-3-d", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  padding-bottom: 5px;
}

.application-form__required {
  color: #d9534f;
  margin-left: 3px;
}

.application-form__input {
  background-color: #fff;
  border: 1px solid #69727D;
  border-radius: 6px;
  color: #1B1B19;
  display: block;
  font-size: 1.125rem;
  line-height: 1.4;
  min-height: 40px;
  padding: 8px 16px;
  width: 100%;
}
.application-form__input:focus {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  outline: 0;
}

textarea.application-form__input {
  padding: 5px 14px;
  resize: vertical;
}

.application-form__file {
  border-radius: 6px;
  display: block;
  font-size: 1.125rem;
  height: 33px;
  width: 100%;
}

.application-form__option {
  align-items: center;
  display: inline-flex;
  font-size: 1.125rem;
  gap: 5px;
  line-height: 1.4;
}
.application-form__option input {
  height: 13px;
  width: 13px;
}

.application-form__hp {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.application-form__group--submit {
  margin-bottom: 0;
}

.application-form__submit {
  border-radius: 5px;
  color: #fff;
  min-height: 40px;
  padding: 10px;
  transform: none;
  width: 100%;
}
.application-form__submit:hover, .application-form__submit:focus-visible {
  transform: none;
}
.application-form__submit[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.application-form__field-error,
.application-form__input,
.application-form__file {
  flex: 1 1 100%;
}

.application-form__message {
  font-size: 1.125rem;
  margin: 10px 0;
}

.application-form__message--success {
  color: #5cb85c;
}

.application-form__message--error {
  color: #d9534f;
}

.application-form__field-error {
  color: #d9534f;
  display: block;
  font-size: 0.9rem;
  margin-top: 5px;
}

input[type=date].application-form__input:invalid:not(:focus)::-webkit-datetime-edit {
  color: transparent;
}

/*# sourceMappingURL=style.css.map */
