/* ===== Base styles ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #adaca7;
}

a,
a:visited {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline; /* optional */
}


/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

.site-header {
  background: #7C7D75;
  color: white;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  margin: 0;
}

/* ===== about-block ===== */
.about-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #222;
}

/* Image styling */
.about-image {
  position: relative;
  width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 6px;
}

.about-image img {
  width: 100%;
  height: auto;
  background: #adaca7;
  transition: opacity 0.8s ease;
  display: block;
}

/* Mobile */
@media (max-width: 800px) {
  .about-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem auto;
  }

  .about-image {
    order: 2;
  }

  .about-text {
    order: 1;
  }
}

/* ===== about-block end ===== */

/* ===== Navigation ===== */
.main-nav a {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* ===== Sections ===== */
section {
  margin-bottom: 3rem;
}

h2 {
  margin-bottom: 1.0rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #777873;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.btn,
.btn:visited,
.btn:active,
.btn:hover {
  color: #fff;
  text-decoration: none;
}

.btn:hover {
  background: #5f605b;
}

/* ===== Footer ===== */
.site-footer {
  background: #d9dadf;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.about {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 2rem;
}


/* ===== Mobile ===== */
@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav a {
    margin: 0.5rem 0 0 0;
    display: block;
  }
}

/* ===== Articles ===== */
.article {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.article-intro {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.article-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
}

.article-image {
  width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 6px;
}

.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.article-back {
  margin-top: 2rem;
}

.article-button {
    text-align: center;
}


/* ===== CenterImage ===== */
.center-image {
  display: block;
  text-align: center;
  margin: 2rem 0;
}

.center-image img {
  max-width: 100%;
  height: auto;
}

/* ===== carousele ===== */
.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 80%;
  scroll-snap-align: center;
  text-decoration: none;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.slide:hover img {
  transform: scale(1.03);
}

/* ===== all photos 150515 ===== */

.all-photos {
  max-width: 1400px;
  margin: 3rem auto;
  column-count: 2;
  column-gap: 2rem;
}

.all-photos img {
  width: 100%;
  display: block;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  break-inside: avoid;
}

/* Når billedet scroller ind */
.all-photos img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobil */
@media (max-width: 768px) {
  .all-photos {
    column-count: 1;
  }
}

/* Two Boxes Container */

/* =========================================
   TWO BOXES – ARTIKLER OG FOTOGALLERI
   ========================================= */

.two-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 35px 0 45px;
}

/* Selve boksene */

.two-boxes .box {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;

  background-color: #d5d4cf;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 15px;

  color: #222;
  text-align: left;
  text-decoration: none;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

/* Billeder */

.two-boxes .box img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border-radius: 0;

  transition: transform 0.5s ease;
}

/* Overskrifter */

.two-boxes .box h2 {
  margin: 22px 24px 10px;
  color: #222;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

/* Brødtekst */

.two-boxes .box p {
  margin: 0 24px 24px;
  color: #55544f;
  font-size: 14px;
  line-height: 1.7;
}

/* Fremhævet linktekst */

.two-boxes .box b {
  display: inline-block;
  margin-top: 12px;
  color: #222;
  font-weight: 600;
}

/* Hover */

.two-boxes .box:hover {
  background-color: #deddd8;
  transform: translateY(-4px);
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.two-boxes .box:hover img {
  transform: scale(1.04);
}

/* Fjern understregning ved hover */

.two-boxes .box:focus-visible {
  outline: 2px solid #444;
  outline-offset: 4px;
}

/* Tablet */

@media (max-width: 900px) {
  .two-boxes {
    gap: 16px;
  }

  .two-boxes .box h2 {
    font-size: 20px;
    margin: 18px 18px 10px;
  }

  .two-boxes .box p {
    margin: 0 18px 20px;
  }
}

/* Mobil */

@media (max-width: 650px) {
  .two-boxes {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 25px 0 35px;
  }

  .two-boxes .box h2 {
    font-size: 20px;
    margin: 20px 22px 10px;
  }

  .two-boxes .box p {
    font-size: 14px;
    margin: 0 22px 22px;
  }
}

/* Reducer animation hvis brugeren ønsker det */





/* =========================================
   GALLERY NAVIGATION
   Kun gældende for de fem fotokort
   ========================================= */

.gallery-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 35px 0 45px;
}

.gallery-navigation .gallery-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-width: 0;
  min-height: 255px;
  padding: 0;
  overflow: hidden;
  background-color: #d5d4cf;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  color: #222;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              background-color 0.25s ease;
}

.gallery-navigation .gallery-card__image {
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.gallery-navigation .gallery-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 255px;
  margin: 0;
  padding: 0;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  transition: transform 0.5s ease;
}

.gallery-navigation .gallery-card__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 20px 24px;
}

.gallery-navigation .gallery-number {
  display: block;
  margin-bottom: 5px;
  color: #999891;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -2px;
}

.gallery-navigation .gallery-category {
  display: block;
  margin-bottom: 12px;
  color: #686761;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.gallery-navigation .gallery-card__content h3 {
  margin: 0 0 10px;
  color: #222;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}

.gallery-navigation .gallery-card__content p {
  margin: 0 0 18px;
  color: #55544f;
  font-size: 14px;
  line-height: 1.6;
}

.gallery-navigation .gallery-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid rgba(0, 0, 0, 0.17);
  color: #222;
  font-size: 14px;
  font-weight: 600;
}

.gallery-navigation .gallery-arrow {
  display: inline-block;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.gallery-navigation .gallery-card:hover {
  background-color: #deddd8;
  transform: translateY(-4px);
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.gallery-navigation .gallery-card:hover .gallery-card__image img {
  transform: scale(1.04);
}

.gallery-navigation .gallery-card:hover .gallery-arrow {
  transform: translate(4px, -4px);
}

.gallery-navigation .gallery-card:focus-visible {
  outline: 2px solid #444;
  outline-offset: 4px;
}

/* Singles - fuld bredde */

.gallery-navigation .gallery-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: 45% 55%;
  min-height: 210px;
}

.gallery-navigation .gallery-card--wide .gallery-card__image img {
  min-height: 210px;
}

.gallery-navigation .gallery-card--wide .gallery-card__content {
  padding: 22px 30px;
}

/* Tablet */

@media (max-width: 900px) {
  .gallery-navigation {
    gap: 16px;
  }

  .gallery-navigation .gallery-card {
    grid-template-columns: 42% 58%;
    min-height: 240px;
  }

  .gallery-navigation .gallery-card__image img {
    min-height: 240px;
  }

  .gallery-navigation .gallery-card__content {
    padding: 17px;
  }

  .gallery-navigation .gallery-card__content h3 {
    font-size: 18px;
  }

  .gallery-navigation .gallery-card__content p {
    font-size: 13px;
  }

  .gallery-navigation .gallery-number {
    font-size: 31px;
  }
}

/* Mobil */

@media (max-width: 650px) {
  .gallery-navigation {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 25px 0 35px;
  }

  .gallery-navigation .gallery-card,
  .gallery-navigation .gallery-card--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gallery-navigation .gallery-card__image {
    height: 210px;
  }

  .gallery-navigation .gallery-card__image img,
  .gallery-navigation .gallery-card--wide .gallery-card__image img {
    height: 210px;
    min-height: 210px;
  }

  .gallery-navigation .gallery-card__content,
  .gallery-navigation .gallery-card--wide .gallery-card__content {
    padding: 20px 22px;
  }

  .gallery-navigation .gallery-number {
    font-size: 32px;
    margin-bottom: 6px;
  }

  .gallery-navigation .gallery-category {
    margin-bottom: 9px;
  }

  .gallery-navigation .gallery-card__content h3 {
    font-size: 20px;
  }

  .gallery-navigation .gallery-card__content p {
    font-size: 14px;
    margin-bottom: 18px;
  }
}



/* =========================================
   404 PAGE – KUREK.SE
   Independent styling
========================================= */

.error-404 {
  max-width: 1100px;
  margin: 2rem auto 4rem;
}

/* Intro */

.error-404-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.error-404-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #777;
  margin-bottom: 1rem;
}

.error-404-intro h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 600;
  color: #292929;
  margin: 0 0 1rem;
}

.error-404-lead {
  font-size: 1.2rem;
  color: #444;
  margin: 0 0 0.75rem;
}

.error-404-text {
  max-width: 650px;
  margin: 0 auto;
  color: #666;
  line-height: 1.7;
}

/* Image */

.error-404-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #777;
}

.error-404-image img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
}

.error-404-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.2rem;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  background: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.65)
  );
}

/* Bottom section */

.error-404-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid #888;
}

.error-404-bottom-text h2 {
  font-size: 1.5rem;
  color: #333;
  margin: 0 0 0.5rem;
}

.error-404-bottom-text p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.error-404-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.error-404-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.4rem;
  background: #333;
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease,
              transform 0.2s ease;
}

.error-404-button:hover {
  background: #555;
  transform: translateY(-2px);
  text-decoration: none;
}

.error-404-button span {
  font-size: 1.2rem;
}

.error-404-link {
  color: #444 !important;
  font-weight: 600;
  white-space: nowrap;
}

.error-404-link:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 768px) {

  .error-404 {
    margin: 1rem auto 2rem;
  }

  .error-404-intro {
    margin-bottom: 1.5rem;
  }

  .error-404-image img {
    height: 320px;
  }

  .error-404-image-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.5rem 1rem 1rem;
    font-size: 0.6rem;
  }

  .error-404-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }

  .error-404-actions {
    flex-wrap: wrap;
    gap: 1rem;
  }

}

@media (max-width: 480px) {

  .error-404-image img {
    height: 250px;
  }

  .error-404-actions {
    flex-direction: column;
    align-items: flex-start;
  }

}

/* ===== Divider – sort vandret linje ===== */
hr.divider {
  border: 0;
  border-top: 1px solid #000;
  height: 0;
  margin: 2rem 0;
  opacity: 1;
}

/* ===== infoboks - artikler ===== */

.info-box--yellow {
    background-color: #FCF8D8;
    color: #7C7D75;
    padding: 32px;
    border-radius: 18px;
    width: 100%;
    margin: 24px 0;
    line-height: 1.6;
}

.info-box--yellow h2 {
    color: #7C7D75;
    font-size: 22px;
    margin: 0 0 20px;
}

.info-box--yellow h3 {
    color: #7C7D75;
    font-size: 16px;
    margin: 18px 0 4px;
}

.info-box--yellow p {
    margin: 0;
    font-size: 15px;
}

/* Tablet */
@media (max-width: 768px) {
    .info-box--yellow {
        padding: 26px;
        border-radius: 16px;
    }
}

/* Mobil */
@media (max-width: 500px) {
    .info-box--yellow {
        padding: 20px;
        border-radius: 14px;
        margin: 16px 0;
    }

    .info-box--yellow h2 {
        font-size: 19px;
    }

    .info-box--yellow h3 {
        font-size: 15px;
    }

    .info-box--yellow p {
        font-size: 14px;
    }
    .info-box--yellow__conclusion {
    margin-top: 22px;
    }
}
    
/* =========================================================
   ARTICLES2 – styling kun til den nye artikelside
   Den globale /css/style.css styrer fortsat header, footer,
   baggrund, grundtypografi og fælles knapper.
   ========================================================= */

.articles2 {
  max-width: 1120px;
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

/* Intro */
.articles2__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin: 1rem auto 3rem;
}

.articles2__eyebrow {
  margin: 0 0 .65rem;
  color: #55584f;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.4;
}

.articles2__intro h1 {
  margin: 0 0 1.1rem;
  color: #222;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.articles2__intro-copy p:not(.articles2__eyebrow) {
  max-width: 650px;
  margin: 0 0 1rem;
  color: #30312e;
  font-size: 1rem;
  line-height: 1.75;
}

.articles2__intro-image {
  height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #d5d4cf;
}

.articles2__intro-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Featured articles */
.articles2__featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 4.5rem;
}

.articles2__feature-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 13px;
  background: #d5d4cf;
  color: #222;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.articles2__feature-card:hover,
.articles2__feature-card:focus-visible {
  background: #deddd8;
  box-shadow: 0 9px 24px rgba(0,0,0,.12);
  text-decoration: none;
  transform: translateY(-3px);
}

.articles2__feature-card:focus-visible {
  outline: 2px solid #444;
  outline-offset: 4px;
}

.articles2__feature-image {
  position: relative;
  height: 225px;
  overflow: hidden;
  background: #c9c8c2;
}

.articles2__feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform .45s ease;
}

.articles2__feature-card:hover .articles2__feature-image img {
  transform: scale(1.035);
}

.articles2__feature-label {
  position: absolute;
  bottom: 13px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 3px;
  background: rgba(35,36,32,.82);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.articles2__feature-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 23px 23px;
}

.articles2__meta {
  margin: 0 0 8px;
  color: #62635d;
  font-size: .78rem;
  font-weight: 600;
}

.articles2__feature-content h2 {
  margin: 0 0 10px;
  color: #222;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.22;
  letter-spacing: -.025em;
}

.articles2__feature-content > p:not(.articles2__meta) {
  margin: 0 0 17px;
  color: #4c4d47;
  font-size: .91rem;
  line-height: 1.65;
}

.articles2__read-more {
  margin-top: auto;
  color: #34392e;
  font-size: .88rem;
  font-weight: 700;
}

.articles2__read-more span {
  display: inline-block;
  transition: transform .2s ease;
}

.articles2__feature-card:hover .articles2__read-more span {
  transform: translateX(4px);
}

/* Archive heading and search */
.articles2__archive-section {
  margin-bottom: 3.5rem;
}

.articles2__archive-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.articles2__archive-heading h2 {
  margin: 0 0 .35rem;
  color: #222;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -.045em;
  line-height: 1.1;
}

.articles2__archive-intro {
  margin: 0;
  color: #41423d;
  font-size: .94rem;
}

.articles2__search {
  display: block;
  flex: 0 0 260px;
}

.articles2__search input {
  width: 100%;
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid rgba(0,0,0,.17);
  border-radius: 4px;
  background: rgba(245,244,241,.8);
  color: #292a26;
  font: inherit;
  font-size: .88rem;
}

.articles2__search input:focus {
  border-color: #55584f;
  outline: 2px solid rgba(85,88,79,.2);
  outline-offset: 1px;
}

.articles2__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1rem;
}

.articles2__filter {
  min-height: 37px;
  padding: 7px 14px;
  border: 1px solid rgba(0,0,0,.17);
  border-radius: 3px;
  background: rgba(245,244,241,.72);
  color: #30312d;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.articles2__filter:hover {
  border-color: #55584f;
  background: #e2e1dc;
}

.articles2__filter.is-active {
  border-color: #62645d;
  background: #777873;
  color: #fff;
}

.articles2__filter:focus-visible {
  outline: 2px solid #333;
  outline-offset: 3px;
}

.articles2__result-count {
  min-height: 1.3em;
  margin: 0 0 .65rem;
  color: #55564f;
  font-size: .78rem;
}

/* Archive list */
.articles2__archive {
  overflow: hidden;
  padding: 4px 22px;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 10px;
  background: rgba(224,223,218,.76);
  box-shadow: 0 2px 8px rgba(0,0,0,.045);
}

/* Vigtigt: Bevar hidden-attributten, også på elementer med display:grid */
.articles2 [hidden] {
  display: none !important;
}

.articles2__year {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr);
  gap: 1rem;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,.13);
}

.articles2__year:last-child {
  border-bottom: 0;
}

.articles2__year h3 {
  margin: 0;
  color: #55584f;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -.04em;
}

.articles2__year-items {
  min-width: 0;
}

.articles2__article {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr) auto 18px;
  align-items: center;
  gap: 12px;
  min-height: 43px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,.09);
  color: #292a26;
  text-decoration: none;
}

.articles2__article:last-child {
  border-bottom: 0;
}

.articles2__article time {
  color: #62635d;
  font-size: .8rem;
  white-space: nowrap;
}

.articles2__article-title {
  min-width: 0;
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Kategoritekster skjules i artikellisten – kategorier vælges via filtrene */
.articles2__article-tag {
  display: none !important;
}

.articles2__arrow {
  color: #55584f;
  text-align: right;
  transition: transform .18s ease;
}

.articles2__article:hover {
  color: #4b563f;
  text-decoration: none;
}

.articles2__article:hover .articles2__article-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.articles2__article:hover .articles2__arrow {
  transform: translate(2px,-2px);
}

.articles2__article:focus-visible {
  outline: 2px solid #444;
  outline-offset: 2px;
}

.articles2__empty {
  padding: 1.5rem;
  color: #41423d;
  text-align: center;
}

.articles2__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Bottom cards – fotografier og tilbage til forsiden */
.articles2__more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 3.5rem 0 1.5rem;
}

.articles2__more-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 190px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  transition: transform .2s ease, background .2s ease;
}

.articles2__more-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.48);
}

.articles2__more-card > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.articles2__more-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 22px;
}

.articles2__more-card h3 {
  margin: 0 0 .55rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.articles2__more-card p {
  margin: 0 0 1rem;
  color: #41423d;
  font-size: .92rem;
  line-height: 1.5;
}

.articles2__more-card-content > span {
  margin-top: auto;
  font-size: .9rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 800px) {
  .articles2__intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: .5rem;
  }

  .articles2__intro-image {
    height: 260px;
  }

  .articles2__featured {
    gap: 16px;
    margin-bottom: 3.5rem;
  }

  .articles2__feature-image {
    height: 185px;
  }

  .articles2__feature-content {
    padding: 17px;
  }

  .articles2__archive-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .articles2__search {
    flex-basis: auto;
    max-width: 360px;
  }
}

@media (max-width: 620px) {
  .articles2__more {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 2.5rem;
  }

  .articles2__more-card {
    min-height: 160px;
  }

  .articles2__more-card > img {
    min-height: 160px;
  }

  .articles2__more-card-content {
    padding: 16px;
  }

  .articles2 {
    padding-top: 1.2rem;
  }

  .articles2__intro {
    margin-bottom: 2.2rem;
  }

  .articles2__intro-image {
    height: 215px;
  }

  .articles2__featured {
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }

  .articles2__feature-image {
    height: 205px;
  }

  .articles2__archive {
    padding: 2px 14px;
  }

  .articles2__year {
    grid-template-columns: 1fr;
    gap: .45rem;
    padding: 15px 0;
  }

  .articles2__year h3 {
    font-size: 1.25rem;
  }

  .articles2__article {
    grid-template-columns: 78px minmax(0,1fr) 15px;
    gap: 7px;
    align-items: start;
    padding: 9px 0;
  }

  .articles2__article time {
    padding-top: 1px;
    font-size: .72rem;
  }

  .articles2__article-title {
    font-size: .84rem;
  }

  .articles2__arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .articles2__filters {
    gap: 6px;
  }

  .articles2__filter {
    min-height: 35px;
    padding: 6px 10px;
    font-size: .76rem;
  }
}

/* ===== Accessibility: respect reduced-motion preferences ===== */
@media (prefers-reduced-motion: reduce) {
  .two-boxes .box,
  .two-boxes .box img,
  .gallery-navigation .gallery-card,
  .gallery-navigation .gallery-card__image img,
  .gallery-navigation .gallery-arrow,
  .articles2__feature-card,
  .articles2__feature-image img,
  .articles2__read-more span,
  .articles2__arrow,
  .articles2__filter {
    transition: none;
  }

  .two-boxes .box:hover,
  .gallery-navigation .gallery-card:hover {
    transform: none;
  }

  .two-boxes .box:hover img,
  .gallery-navigation .gallery-card:hover .gallery-card__image img {
    transform: none;
  }
}


/* =========================================
   RELATEREDE ARTIKLER
========================================= */

.related-articles {
    margin: 35px 0 25px;
    padding: 18px 28px;
    background: #D9DADF;
    border-radius: 18px;
}

.related-articles__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.related-articles h2 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    color: #171717;
}

.related-articles__intro {
    margin: 0 0 30px;
    font-size: 17px;
    line-height: 1.6;
    color: #555;
}

.related-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.related-articles__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    background: #fff;
    border: 1px solid #d9dce0;
    border-radius: 12px;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.related-articles__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.related-articles__category {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #626a73;
}

.related-articles__card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    color: #171717;
}

.related-articles__card p {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.6;
    color: #454545;
}

.related-articles__card a {
    display: inline-block;
    margin-top: auto;
    font-size: 16px;
    font-weight: 500;
    color: #0759a5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.related-articles__card a:hover {
    color: #003d75;
    text-decoration-thickness: 2px;
}

/* TABLET */
@media (max-width: 850px) {
    .related-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBIL */
@media (max-width: 600px) {
    .related-articles {
        margin: 40px 0 30px;
        padding: 25px 18px;
        border-radius: 14px;
    }

    .related-articles h2 {
        font-size: 23px;
    }

    .related-articles__intro {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .related-articles__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .related-articles__card {
        padding: 22px;
    }

    .related-articles__card h3 {
        font-size: 19px;
    }
}


/* TEST – Related Articles */

#related-articles1-placeholder .related-articles {
    display: block !important;
    width: 100%;
    background: #D9DADF !important;
    padding: 18px 28px;
    border-radius: 18px;
}

#related-articles1-placeholder .related-articles__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

#related-articles1-placeholder .related-articles__card {
    display: flex !important;
    flex-direction: column;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
}

@media (max-width: 600px) {
    #related-articles1-placeholder .related-articles__grid {
        grid-template-columns: 1fr;
    }
}

/* Tabel til artikler */
.tabel-artikler {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
  line-height: 1.6;
  border: none;
  background-color: #FCF8D8;
}

.tabel-artikler th,
.tabel-artikler td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #7C7D75;
  background-color: #FCF8D8;
}

.tabel-artikler th {
  font-weight: 600;
  color: #222;
}

.tabel-artikler td:first-child {
  font-weight: 600;
  width: 30%;
}

/* Mouse-over effekt */
.tabel-artikler tbody tr:hover td {
  background-color: #D9DADF;
}

/* Fjern den sidste bundlinje */
.tabel-artikler tbody tr:last-child td {
  border-bottom: none;
}

/* Responsiv tabel */
@media (max-width: 768px) {
  .tabel-artikler th,
  .tabel-artikler td {
    padding: 12px 10px;
    font-size: 0.95rem;
  }

  .tabel-artikler td:first-child {
    width: 35%;
  }
}