@font-face {
  font-family: 'Literata';
  src: url('/Literata-VariableFont_opsz,wght.ttf') format('truetype-variations');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('/Switzer-Variable.ttf') format('truetype-variations');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

h1,
h2,
h3 {
  font-family: 'Literata' !important;
}

h4,
h5,
h6 {
  font-family: 'Switzer' !important;
}

div,
p,
span {
  font-family: 'Switzer' !important;
}

.ck-content a {
  font-size: 20px;
}

.ck-content ul, .ck-content ol{
  font-size: 18px;
  list-style-position: outside !important;
}

.ck-content li > p {
  display: inline;
  font-size: inherit;
}

.eventintro p {
  color: var(--portalThemeColor4);
  font-family: 'Literata' !important;
}

#segmentLoading {
  color: var(--portalThemeColor4);
  font-size:12px;
}

.passesBlock.is-validating-passes {
  opacity: 0.6;
  pointer-events: none;
}

.notification-message[data-notification-name="eventWaitlisted"] > div {
  font-size: 18px;
  padding:10px;
}

.wrapper-body{
  min-height: calc(100% - 500px) !important;
}

.nav-item a.nav-link {
  color: var(--portalThemeColor8) !important;
  text-decoration: none !important;
  font-family: 'Switzer' !important;
  font-weight: 800 !important;
}

.nav-item a.nav-link:hover,
.nav-item a.nav-link:active {
  color: var(--portalThemeColor8) !important;
  text-decoration: underline var(--portalThemeColor2) !important;
  text-underline-offset: 10px;
  outline: none !important;
  font-family: 'Switzer' !important;
  font-weight: 800 !important;
}

.nav-item a.headerSignInButton {
  color: var(--portalThemeColor8) !important;
  text-decoration: none !important;
  font-family: 'Switzer' !important;
  font-weight: 800 !important;
}

.nav-item a.headerSignInButton:hover,
.nav-item a.headerSignInButton:active {
  color: var(--portalThemeColor8) !important;
  text-decoration: underline var(--portalThemeColor2) !important;
  text-underline-offset: 10px;
  outline: none !important;
  font-family: 'Switzer' !important;
  font-weight: 800 !important;
}

#galleryIntersectionObserverParent {
  justify-content: start !important;
  gap:25px;
}

/*** FOOTER ***/
.footer-center-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer-wrapper p {
  font-size: 16px;
}

.footer-column {
  color: var(--portalThemeColor8);
}

footer div.footer-column-contact p{
  margin-bottom: 10px;
}

footer .footer-column-cta {
    justify-self: end;
    text-align: right;
}

/* Ekstra: navn på organisationen */
.footer-wrapper .footer-org-name {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

/* Links genbruges fra din eksisterende */
.footer-wrapper .footer-link, .footer-bottom .footer-link {
  color: var(--portalThemeColor2);
  text-decoration: none;
  font-weight: 600;
  margin-right:10px;
}

.footer-wrapper .footer-link:hover, .footer-bottom .footer-link:hover {
  color: var(--portalThemeColor2);
  text-decoration: underline;
}

/* CTA-knap "Bliv medlem" */
.footer-cta-button {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--portalThemeColor2);
  padding: 8px 22px;
  border-radius: 2px;
  font-size: 14px;
  text-decoration: none;
  color: var(--portalThemeColor2) !important;
  background: #fff !important;
}

.footer-cta-button:hover {
  background-color: var(--portalThemeColor2) !important;
  color: #fff !important;
}

.footer-cta-icon {
  font-size: 1.2rem;
  margin-right: 8px;
}

/* Sociale ikoner + bundlinje */

.footer-socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.footer-social {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  text-decoration: none;
  font-size: 12px;
}

/* Bundlinjen under kolonnerne */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.footer .footer-bottom p {
  color: var(--portalThemeColor8)
}

.footer-bottom-right {
  text-align: right;
}

/* Privacy-link kan styles lidt mere, hvis du vil */
.footer-link--privacy {
  text-decoration: underline;
}

/* Din eksisterende override til knapper osv. */
.ms_lay1_card button {
  border: none !important;
}

.static-top.navbar .menu-bar>.navbar-nav>li>a:hover {
  text-decoration: underline;
  background-color: initial !important;
  /* color: #520044; */
}

.static-top.navbar .menu-bar>.navbar-nav>li>a:focus {
  text-decoration: underline;
  background-color: initial !important;
  /* color: #520044; */
}

.ms_lay1_card {
  background-color: #fff;
  padding: 20px 30px !important;
}

/* Mobil-tilpasning */
@media (max-width: 768px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom-right {
    text-align: center;
  }
}