/* ========================= */ /* GRUND */ /* ========================= */ * { margin: 0; padding: 0; box-sizing: border-box; } html { height: 100%; } body { min-height: 100vh; display: flex; flex-direction: column; font-family: Arial, Helvetica, sans-serif; background: #f8f5ef; color: #222; } /* ========================= */
/* MENY OCH STATUSRAD */
/* ========================= */

.sidhuvud {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #f8f5ef;
  border-bottom: 1px solid rgba(154, 122, 24, 0.35);
}

.sidhuvud nav {
  position: static;
  padding: 15px;
  text-align: center;
  background: transparent;
  border-bottom: 1px solid rgba(154, 122, 24, 0.22);
}

.sidhuvud nav a {
  display: inline-block;
  margin: 0 10px;
  color: #222;
  font-weight: bold;
  text-decoration: none;
}

.sidhuvud nav a:hover {
  color: #9a7a18;
}

.sidhuvud nav a[aria-current="page"] {
  color: #9a7a18;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.oppet-status {
  display: none;
  width: 100%;
  padding: 9px 18px 10px;
  background: #f8f5ef;
}

.oppet-status.synlig {
  display: block;
}

.oppet-status-innehall {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 14px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.oppet-status-huvud {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.oppet-status-prick {
  display: block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #999;
}

.oppet-status.ar-oppen .oppet-status-prick {
  background: #198754;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.16);
}

.oppet-status.ar-stangd .oppet-status-prick {
  background: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.14);
}

.oppet-status-text {
  color: #222;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.informations-avdelare {
  color: rgba(154, 122, 24, 0.65);
}

.informations-meddelande {
  display: none;
  align-items: center;
  gap: 7px;
  color: #765c12;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.informations-meddelande.synlig {
  display: inline-flex;
}

/* ========================= */ /* STARTSIDA */ /* ========================= */ .landing { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 35px 30px 20px; } .logo { width: 340px; max-width: 85%; margin-bottom: 20px; } h1 { font-size: 2.8rem; margin-bottom: 12px; } h2 { margin-bottom: 18px; } .undertitel { max-width: 550px; margin-bottom: 25px; color: #666; font-size: 1.2rem; line-height: 1.6; } /* ========================= */ /* KNAPPAR */ /* ========================= */ .knappar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; } .knappar a { padding: 16px 28px; color: #222; background: #d4af37; text-decoration: none; font-weight: bold; border-radius: 50px; transition: background 0.2s ease, color 0.2s ease; } .knappar a:hover { color: white; background: #222; } /* ========================= */ /* INTRO */ /* ========================= */ .intro { max-width: 800px; margin: auto; padding: 45px 25px; } .intro h2 { text-align: center; margin-bottom: 20px; } .intro p { text-align: center; line-height: 1.8; margin-bottom: 15px; } /* ========================= */ /* UNDERSIDOR */ /* ========================= */ .page-header { text-align: center; padding: 35px 20px; } .page-header p { color: #666; line-height: 1.6; } .logo-small { width: 260px; max-width: 90%; margin-bottom: 20px; } /* ========================= */ /* GALLERI */ /* ========================= */ .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1300px; width: 100%; margin: 30px auto; padding: 20px; } .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); } /* ========================= */ /* LIGHTBOX */ /* ========================= */ .lightbox { display: none; position: fixed; inset: 0; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.95); z-index: 9999; } .lightbox img { max-width: 90%; max-height: 90%; } #close { position: absolute; top: 25px; right: 40px; color: white; font-size: 45px; cursor: pointer; } .prev, .next { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 60px; cursor: pointer; } .prev { left: 30px; } .next { right: 30px; } /* ========================= */ /* KONTAKT */ /* ========================= */ .kontakt { max-width: 900px; width: 100%; margin: 30px auto; padding: 20px; text-align: center; } .kontakt section { margin-bottom: 25px; padding: 30px; background: #f7f2e8; border-radius: 12px; } .kontakt p { line-height: 1.8; } .kontakt a { color: #222; text-decoration: none; } .kontakt a:hover { color: #9a7a18; text-decoration: underline; } /* ========================= */ /* ÖPPETTIDER */ /* ========================= */ .oppettider { width: 100%; max-width: 430px; margin: 20px auto; } .oppettid-rad { display: grid; grid-template-columns: minmax(105px, 1fr) auto; align-items: center; column-gap: 10px; min-height: 40px; padding: 8px 6px; border-bottom: 1px solid rgba(0, 0, 0, 0.12); } .oppettid-rad:first-child { border-top: 1px solid rgba(0, 0, 0, 0.12); } .oppettid-dag { font-weight: bold; text-align: left; } .oppettid-tid { text-align: right; white-space: nowrap; } .oppettider-information { max-width: 550px; margin: 16px auto 0; color: #666; font-size: 0.9rem; line-height: 1.6; } /* ========================= */ /* GATUVY */ /* ========================= */ .gatuvy { display: block; width: 100%; max-width: 900px; margin: 20px auto; border-radius: 12px; } /* ========================= */ /* KARTKNAPP */ /* ========================= */ .knapp-karta { display: inline-block; padding: 15px 25px; color: #222; background: #d4af37; text-decoration: none; font-weight: bold; border-radius: 50px; transition: background 0.2s ease, color 0.2s ease; } .knapp-karta:hover { color: white; background: #222; } /* ========================= */ /* FOOTER */ /* ========================= */ footer { width: 100%; margin-top: auto; padding: 25px; color: white; background: #222; text-align: center; } .sociala { margin-top: 20px; } .sociala a { margin: 0 12px; color: white; font-size: 32px; text-decoration: none; } .sociala a:hover { color: #d4af37; } /* ========================= */ /* MOBIL */ /* ========================= */ @media (max-width: 600px) {
  .sidhuvud nav {
    padding: 10px 8px;
  }

  .sidhuvud nav a {
    margin: 5px 6px;
    font-size: 0.9rem;
  }

  .oppet-status {
    padding: 8px 12px 9px;
  }

  .oppet-status-innehall {
    gap: 6px;
  }

  .oppet-status-huvud {
    justify-content: center;
  }

  .oppet-status-text,
  .informations-meddelande {
    font-size: 0.88rem;
  }

  .informations-avdelare {
    display: none;
  }

  .informations-meddelande.synlig {
    width: 100%;
    justify-content: center;
  } .landing { padding: 30px 18px 20px; } h1 { font-size: 2.2rem; } .kontakt { padding: 12px; } .kontakt section { padding: 25px 18px; } .oppettider { max-width: 360px; } .oppettid-rad { grid-template-columns: minmax(95px, 1fr) auto; column-gap: 8px; min-height: 38px; padding: 7px 4px; } .oppettid-dag, .oppettid-tid { font-size: 0.95rem; } .prev, .next { font-size: 42px; } .prev { left: 12px; } .next { right: 12px; } #close { top: 15px; right: 20px; font-size: 40px; } } /* ========================= */ /* DATOR */ /* ========================= */ @media (min-width: 900px) { .logo { width: 680px; } h1 { font-size: 4rem; } .undertitel { font-size: 1.4rem; } }
/* Öppettider på startsidan */

.oppettider-sektion {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 24px;
  text-align: center;
}

.oppettider-sektion h2 {
  margin-bottom: 30px;
}

.oppettider-lista {
  max-width: 520px;
  margin: 0 auto;
  padding: 26px 30px;
  background: #ffffff;
  border: 1px solid rgba(175, 130, 70, 0.25);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(30, 24, 18, 0.08);
}

.avvikande-oppettider {
  margin-top: 36px;
}

.avvikande-oppettider h3 {
  margin-bottom: 12px;
}

#avvikande-oppettider-lista {
  width: 100%;
  max-width: 458px;
  margin: 0 auto;
}

#avvikande-oppettider-lista .oppettid-rad {
  padding: 10px 6px;
}

.oppettider-rad {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid #ece7df;
}

.oppettider-rad:last-child {
  border-bottom: 0;
}

.oppettider-dag {
  font-weight: 700;
  text-align: left;
}

.oppettider-tid {
  text-align: right;
}

@media (max-width: 520px) {
  .oppettider-lista {
    padding: 20px;
  }

  .oppettider-rad {
    gap: 15px;
  }
}
/* ===========================
   FOOTER
=========================== */

footer {
    background: #111;
    color: #f5f5f5;
    text-align: center;
    padding: 35px 20px 20px;
}

footer p {
    margin: 0;
}

.sociala {
    margin: 18px 0 14px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.sociala a {
    color: #ffffff;
    font-size: 1.8rem;
    transition: 0.25s ease;
}

.sociala a:hover {
    color: #c8a34a;
    transform: translateY(-3px);
}

.copyright {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 0.85rem;
    color: #a8a8a8;
    letter-spacing: .4px;
    line-height: 1.6;
}

.designer {
    color: #c8a34a;
    font-weight: 600;
    transition: color .25s ease;
}

.designer:hover {
    color: #e0bf69;
}

/* =========================================================
   RESPONSIVT FIREBASE-GALLERI – FIX 4
   Dessa regler ligger sist för att vinna över äldre regler.
========================================================= */
main > .gallery,
main > #gallery.gallery,
main > #nyGallery.gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 300px)) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: 18px !important;
  width: min(100%, 1300px) !important;
  max-width: 1300px !important;
  margin: 20px auto 50px !important;
  padding: 20px !important;
}

.gallery .gallery-item {
  display: block;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #eee9df;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
}

.gallery .gallery-item img,
#gallery .gallery-item img,
#nyGallery .gallery-item img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .gallery .gallery-item:hover img {
    transform: scale(1.035);
  }
}

.gallery .gallery-status {
  grid-column: 1 / -1;
  text-align: center;
}

@media (max-width: 1050px) {
  main > .gallery,
  main > #gallery.gallery,
  main > #nyGallery.gallery {
    grid-template-columns: repeat(3, minmax(0, 300px)) !important;
  }
}

@media (max-width: 760px) {
  main > .gallery,
  main > #gallery.gallery,
  main > #nyGallery.gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 12px !important;
  }

  .gallery .gallery-item {
    max-width: none;
  }
}

@media (max-width: 390px) {
  main > .gallery,
  main > #gallery.gallery,
  main > #nyGallery.gallery {
    grid-template-columns: 1fr !important;
    max-width: 340px !important;
  }
}

/* ========================= */
/* NYINKOMMET – KORTDESIGN 2.1 */
/* ========================= */
#nyGallery .nyinkommet-kort {
  overflow: hidden;
  border: 1px solid rgba(154, 122, 24, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

#nyGallery .nyinkommet-bildknapp {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #eee9df;
  cursor: pointer;
  overflow: hidden;
}

#nyGallery .nyinkommet-bildknapp img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.28s ease;
}

#nyGallery .nyinkommet-bildknapp:focus-visible {
  outline: 3px solid #9a7a18;
  outline-offset: -3px;
}

#nyGallery .nyinkommet-info {
  min-height: 83px;
  padding: 15px 16px 17px;
  text-align: left;
}

#nyGallery .nyinkommet-titel {
  margin: 0 0 7px;
  color: #222;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
}

#nyGallery .nyinkommet-datum {
  margin: 0;
  color: #9a7a18;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  #nyGallery .nyinkommet-kort:hover {
    transform: translateY(-4px);
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.14);
  }

  #nyGallery .nyinkommet-kort:hover .nyinkommet-bildknapp img {
    transform: scale(1.045);
  }
}


.nya-plagg-notis {
  display: none;
  align-items: center;
  gap: 7px;
  color: #6f5610;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nya-plagg-notis.synlig {
  display: inline-flex;
}

.nya-plagg-notis:hover,
.nya-plagg-notis:focus-visible {
  color: #222;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nya-plagg-notis:focus-visible {
  outline: 2px solid #9a7a18;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 700px) {
  .nya-plagg-notis.synlig {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   VERSION 2.4.3 – FÖRBÄTTRAD LIGHTBOX FÖR BILDER
   ========================================================= */
.lightbox {
  padding: 42px 86px;
  box-sizing: border-box;
}

.lightbox img,
#lightboxImage {
  display: block;
  width: auto;
  height: auto;
  max-width: min(78vw, 1100px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45);
}

.lightbox .prev,
.lightbox .next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 76px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: rgba(20, 20, 20, 0.66);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox .prev:hover,
.lightbox .next:hover {
  background: rgba(212, 175, 55, 0.92);
}

.lightbox .prev {
  left: 22px;
}

.lightbox .next {
  right: 22px;
}

.lightbox #close,
.lightbox .lightbox-close {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 20, 20, 0.72);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.lightbox #close:hover,
.lightbox .lightbox-close:hover {
  color: #222;
  background: #d4af37;
}

@media (max-width: 700px) {
  .lightbox {
    padding: 68px 54px 42px;
  }

  .lightbox img,
  #lightboxImage {
    max-width: calc(100vw - 112px);
    max-height: 76vh;
    border-radius: 6px;
  }

  .lightbox .prev,
  .lightbox .next {
    width: 42px;
    height: 62px;
    border-radius: 8px;
    font-size: 32px;
  }

  .lightbox .prev {
    left: 6px;
  }

  .lightbox .next {
    right: 6px;
  }

  .lightbox #close,
  .lightbox .lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 32px;
  }
}

/* Version 3.3 – skeleton loading för bildkort */
.image-card-loading {
  position: relative;
  overflow: hidden;
  background: #ece8e1;
}

.image-card-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: translateX(-100%);
  animation: container13-skeleton 1.25s ease-in-out infinite;
}

.image-card-loading img,
.image-card-loading .nyinkommet-info,
.image-card-loading .senaste-nytt-info {
  opacity: 0;
}

.image-card-loaded img,
.image-card-loaded .nyinkommet-info,
.image-card-loaded .senaste-nytt-info {
  opacity: 1;
  transition: opacity 0.28s ease;
}

.nyinkommet-kort.image-card-loading,
.senaste-nytt-kort.image-card-loading {
  min-height: 360px;
}

.gallery-image-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: inherit;
  background: #ece8e1;
}

.gallery-image-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

@keyframes container13-skeleton {
  to {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-card-loading::after {
    animation: none;
  }

  .image-card-loaded img,
  .image-card-loaded .nyinkommet-info,
  .image-card-loaded .senaste-nytt-info {
    transition: none;
  }
}


/* Version 3.4 – samma datumrad på Nyinkommet som på startsidan */
#nyGallery .nyinkommet-info {
  display: grid;
  align-content: start;
  gap: 7px;
}

#nyGallery .nyinkommet-titel {
  margin: 0;
}

#nyGallery .nyinkommet-datum {
  margin: 0;
  color: #9a7a18;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 600;
}

/* Version 3.4.1 – FIX: bildkortet får plats för titel och datum */
#nyGallery .gallery-item.nyinkommet-kort {
  aspect-ratio: auto !important;
  overflow: hidden !important;
}

#nyGallery .nyinkommet-bildknapp {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

#nyGallery .nyinkommet-bildknapp img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#nyGallery .nyinkommet-info {
  display: block !important;
  min-height: 78px;
  padding: 13px 15px 15px;
  background: rgba(255, 255, 255, 0.9);
}

#nyGallery .nyinkommet-titel + .nyinkommet-datum {
  margin-top: 7px;
}

#nyGallery .nyinkommet-datum {
  display: block !important;
  visibility: visible !important;
  opacity: 1;
}

#nyGallery .nyinkommet-kort.image-card-loading {
  min-height: 378px;
}


/* Version 3.4.4 – samma mjuka hover-effekt i Butiken som i Nyinkommet */
.gallery-image-shell {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-image-shell img {
  transition: transform 0.28s ease, opacity 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  #gallery .gallery-image-shell:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }

  #gallery .gallery-image-shell:hover img {
    transform: scale(1.045);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-image-shell,
  .gallery-image-shell img {
    transition: none;
  }
}


/* Version 3.4.5 – säker hover-effekt för Butiken */
#gallery .gallery-image-shell {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.10);
  transition: transform 0.30s ease, box-shadow 0.30s ease;
}

#gallery .gallery-image-shell img {
  transform: scale(1);
  transition: transform 0.38s ease, filter 0.30s ease, opacity 0.28s ease;
  will-change: transform;
}

#gallery .gallery-image-shell:hover,
#gallery .gallery-image-shell:focus-within {
  transform: translateY(-7px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

#gallery .gallery-image-shell:hover img,
#gallery .gallery-image-shell:focus-within img {
  transform: scale(1.075);
  filter: brightness(1.03);
}

@media (prefers-reduced-motion: reduce) {
  #gallery .gallery-image-shell,
  #gallery .gallery-image-shell img {
    transition: none;
  }
}

/* Version 3.4.6 – jämna rundade hörn i Butiken */
#gallery .gallery-item {
  aspect-ratio: auto !important;
  overflow: visible !important;
  border-radius: 14px !important;
  background: transparent !important;
  box-shadow: none !important;
}

#gallery .gallery-image-shell {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px !important;
  background: #ece8e1;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.10);
  isolation: isolate;
}

#gallery .gallery-image-shell img {
  border-radius: 14px !important;
}

#gallery .gallery-image-shell:hover,
#gallery .gallery-image-shell:focus-within {
  border-radius: 14px !important;
}

/* Version 3.4.7 – definitiv fix för hörn och hover i Butiken */
#gallery .gallery-image-shell,
#gallery .gallery-image-shell:hover,
#gallery .gallery-image-shell:focus-within {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  clip-path: inset(0 round 14px);
  -webkit-clip-path: inset(0 round 14px);
  contain: paint;
  background: transparent !important;
  transform: none !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.10) !important;
}

#gallery .gallery-image-shell::before,
#gallery .gallery-image-shell::after {
  border-radius: inherit !important;
  clip-path: inset(0 round 14px);
  -webkit-clip-path: inset(0 round 14px);
}

#gallery .gallery-image-shell img,
#gallery .gallery-image-shell:hover img,
#gallery .gallery-image-shell:focus-within img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  transform-origin: center center;
}

#gallery .gallery-image-shell:hover img,
#gallery .gallery-image-shell:focus-within img {
  transform: scale(1.055) !important;
  filter: brightness(1.02);
}

/* =========================================================
   VERSION 3.5.0 – BUTIKEN ANVÄNDER EXAKT SAMMA BILDKORT
   SOM NYINKOMMET
   ========================================================= */
#gallery .gallery-item.nyinkommet-kort.galleri-kort {
  display: block !important;
  width: 100% !important;
  max-width: 300px !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(154, 122, 24, 0.16) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10) !important;
  transform: translateY(0) !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  contain: none !important;
  isolation: auto !important;
}

#gallery .galleri-kort .nyinkommet-bildknapp {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #eee9df !important;
  cursor: pointer !important;
  overflow: hidden !important;
}

#gallery .galleri-kort .nyinkommet-bildknapp img,
#gallery .galleri-kort:hover .nyinkommet-bildknapp img,
#gallery .galleri-kort:focus-within .nyinkommet-bildknapp img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
  transition: transform 0.28s ease, opacity 0.28s ease !important;
}

#gallery .galleri-kort .nyinkommet-bildknapp:focus-visible {
  outline: 3px solid #9a7a18;
  outline-offset: -3px;
}

#gallery .galleri-kort.image-card-loading {
  min-height: 300px !important;
}

@media (hover: hover) and (pointer: fine) {
  #gallery .gallery-item.nyinkommet-kort.galleri-kort:hover,
  #gallery .gallery-item.nyinkommet-kort.galleri-kort:focus-within {
    transform: translateY(-4px) !important;
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.14) !important;
  }

  #gallery .galleri-kort:hover .nyinkommet-bildknapp img,
  #gallery .galleri-kort:focus-within .nyinkommet-bildknapp img {
    transform: scale(1.045) !important;
  }
}

@media (max-width: 760px) {
  #gallery .gallery-item.nyinkommet-kort.galleri-kort {
    max-width: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #gallery .gallery-item.nyinkommet-kort.galleri-kort,
  #gallery .galleri-kort .nyinkommet-bildknapp img {
    transition: none !important;
  }
}

/* VERSION 6.3.6 – ENHETLIG STOR LOGOTYP PÅ UNDERSIDOR */
.page-header {
  padding: 48px 20px 35px;
}

.page-header .logo-small {
  display: block;
  width: min(680px, 82vw);
  max-width: none;
  margin: 0 auto -50px;
}

.page-header h1 {
  margin: 0 0 12px;
}

@media (max-width: 700px) {
  .page-header {
    padding: 34px 18px 35px;
  }

  .page-header .logo-small {
    width: min(320px, 86vw);
    margin-bottom: 24px;
  }
}
