.c-billeder-page {
padding: 72px 0 96px;
background: var(--color-surface);
}
.c-billeder-page__heading {
width: 100%;
max-width: 1100px;
margin: 0 auto 52px;
padding: 0;
text-align: left;
}
.c-billeder-page__eyebrow {
margin: 0 0 8px;
color: var(--color-primary, #123b5d);
font-size: 13px;
font-weight: 600;
letter-spacing: 0.08em;
line-height: 1.4;
text-transform: uppercase;
}
.c-billeder-page__heading h1 {
margin: 0 0 14px;
color: var(--color-heading, #123b5d);
font-family: var(--font-display, Georgia, 'Times New Roman', serif);
font-size: clamp(38px, 5vw, 56px);
line-height: 1.05;
}
.c-billeder-page__heading > p:last-child {
max-width: 700px;
margin: 0;
color: var(--color-text, #405261);
font-size: 17px;
line-height: 1.7;
} .c-billeder-carousel {
position: relative;
width: 60%;
max-width: 660px;
margin: 0 auto;
}
.c-billeder-carousel__viewport {
position: relative;
width: 100%;
height: 422px;
overflow: visible;
background: #eef0ed;
}
.c-billeder-carousel__slide {
display: none;
margin: 0;
}
.c-billeder-carousel__slide.is-active {
display: block;
} .c-billeder-carousel__image-wrap {
width: 100%;
height: 422px;
overflow: hidden;
background: #eef0ed;
display: flex;
align-items: center;
justify-content: center;
}
.c-billeder-carousel__image {
display: block;
width: auto !important;
height: auto !important;
max-width: 100% !important;
max-height: 422px !important;
object-fit: contain !important;
flex: 0 0 auto;
}
.c-billeder-carousel__caption {
margin: 0;
padding: 16px 20px 18px;
background: #ffffff;
color: var(--color-text, #405261);
font-size: 15px;
line-height: 1.55;
text-align: left;
}
.c-billeder-carousel__button {
position: absolute;
top: 50%;
z-index: 3;
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
margin: 0;
padding: 0;
border: 0;
border-radius: 50%;
background: rgba(18, 59, 93, 0.88);
color: #ffffff;
font-family: Arial, sans-serif;
font-size: 36px;
font-weight: 300;
line-height: 1;
cursor: pointer;
transform: translateY(-50%);
transition: background 180ms ease, transform 180ms ease;
}
.c-billeder-carousel__button:hover,
.c-billeder-carousel__button:focus-visible {
background: rgba(18, 59, 93, 1);
transform: translateY(-50%) scale(1.04);
}
.c-billeder-carousel__button:focus-visible {
outline: 3px solid rgba(0, 119, 182, 0.35);
outline-offset: 3px;
}
.c-billeder-carousel__button--prev { left: 20px; }
.c-billeder-carousel__button--next { right: 20px; }
.c-billeder-carousel__counter {
margin-top: 14px;
color: var(--color-text, #607080);
font-size: 13px;
line-height: 1.4;
text-align: center;
}
@media (max-width: 767px) {
.c-billeder-page { padding: 52px 0 72px; }
.c-billeder-page__heading { margin-bottom: 36px; }
.c-billeder-page__heading h1 { font-size: clamp(36px, 10vw, 48px); }
.c-billeder-page__heading > p:last-child { font-size: 16px; } .c-billeder-carousel {
width: 100%;
max-width: 660px;
}
.c-billeder-carousel__viewport,
.c-billeder-carousel__image-wrap {
height: min(422px, 64vw);
}
.c-billeder-carousel__image {
max-height: min(422px, 64vw) !important;
}
.c-billeder-carousel__button {
width: 42px;
height: 42px;
font-size: 31px;
}
.c-billeder-carousel__button--prev { left: 12px; }
.c-billeder-carousel__button--next { right: 12px; }
.c-billeder-carousel__caption {
padding: 13px 16px 15px;
font-size: 14px;
}
} .c-billeder-lightbox {
position: fixed !important;
inset: 0 !important;
z-index: 999999 !important;
display: none;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
padding: 28px;
box-sizing: border-box;
background: rgba(0, 0, 0, 0.90);
}
.c-billeder-lightbox.is-open {
display: flex !important;
}
.c-billeder-lightbox__backdrop {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.90);
cursor: pointer;
}
.c-billeder-lightbox__content {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: min(94vw, 1500px);
max-height: 94vh;
box-sizing: border-box;
}
.c-billeder-lightbox__image {
display: block;
width: auto !important;
height: auto !important;
max-width: 94vw !important;
max-height: 82vh !important;
object-fit: contain !important;
}
.c-billeder-lightbox__caption {
display: block;
max-width: 900px;
margin: 14px auto 0;
padding: 10px 16px;
color: #ffffff;
font-size: 15px;
line-height: 1.5;
text-align: center;
}
.c-billeder-lightbox__caption[hidden] {
display: none !important;
}
.c-billeder-lightbox__close,
.c-billeder-lightbox__button {
position: absolute;
z-index: 3;
display: flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
margin: 0;
padding: 0;
border: 0;
border-radius: 50%;
background: rgba(18, 59, 93, 0.94);
color: #ffffff;
cursor: pointer;
font-family: Arial, sans-serif;
line-height: 1;
}
.c-billeder-lightbox__close {
top: -8px;
right: -8px;
font-size: 28px;
}
.c-billeder-lightbox__button {
top: 50%;
font-size: 34px;
transform: translateY(-50%);
}
.c-billeder-lightbox__button--prev {
left: -62px;
}
.c-billeder-lightbox__button--next {
right: -62px;
}
.c-billeder-lightbox__close:hover,
.c-billeder-lightbox__close:focus-visible,
.c-billeder-lightbox__button:hover,
.c-billeder-lightbox__button:focus-visible {
background: rgba(18, 59, 93, 1);
}
.c-billeder-lightbox__close:focus-visible,
.c-billeder-lightbox__button:focus-visible {
outline: 3px solid rgba(255, 255, 255, 0.55);
outline-offset: 3px;
}
.c-billeder-carousel__image {
cursor: zoom-in;
}
body.c-billeder-lightbox-open {
overflow: hidden !important;
}
@media (max-width: 767px) {
.c-billeder-lightbox {
padding: 16px;
}
.c-billeder-lightbox__content {
width: 96vw;
max-height: 92vh;
}
.c-billeder-lightbox__image {
max-width: 96vw !important;
max-height: 76vh !important;
}
.c-billeder-lightbox__button {
width: 42px;
height: 42px;
font-size: 30px;
}
.c-billeder-lightbox__button--prev {
left: 4px;
}
.c-billeder-lightbox__button--next {
right: 4px;
}
.c-billeder-lightbox__close {
top: -4px;
right: 0;
}
.c-billeder-lightbox__caption {
max-width: 90vw;
font-size: 14px;
}
} .c-billeder-categories {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 24px;
max-width: 1100px;
margin: 0 auto;
}
.c-billeder-category-card {
display: flex;
flex-direction: column;
min-width: 0;
padding: 0;
overflow: hidden;
border: 1px solid rgba(18, 59, 93, .12);
border-radius: 8px;
background: #fff;
color: var(--color-heading, #123b5d);
text-align: left;
cursor: pointer;
box-shadow: 0 5px 18px rgba(20, 45, 65, .08);
transition: transform .2s ease, box-shadow .2s ease;
}
.c-billeder-category-card:hover,
.c-billeder-category-card:focus-visible {
transform: translateY(-3px);
box-shadow: 0 12px 28px rgba(20, 45, 65, .15);
}
.c-billeder-category-card:focus-visible { outline: 3px solid var(--color-primary, #123b5d); outline-offset: 3px; }
.c-billeder-category-card__visual {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
aspect-ratio: 16 / 10;
overflow: hidden;
background: #e9eef0;
}
.c-billeder-category-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.c-billeder-category-card__video,
.c-billeder-category-card__play {
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-weight: 700;
}
.c-billeder-category-card__video { width: 100%; height: 100%; background: #405261; }
.c-billeder-category-card__play {
position: absolute;
right: 14px;
bottom: 14px;
width: 42px;
height: 42px;
border-radius: 50%;
background: rgba(0, 0, 0, .65);
}
.c-billeder-category-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 18px; }
.c-billeder-category-card__meta strong { font-size: 18px; }
.c-billeder-category-card__meta small { color: var(--color-text, #607080); white-space: nowrap; }
.c-billeder-empty { max-width: 1100px; margin: 0 auto; color: var(--color-text, #405261); }
.c-billeder-lightbox {
position: fixed !important;
inset: 0 !important;
z-index: 999999 !important;
display: none;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
padding: 24px;
box-sizing: border-box;
background: rgba(0, 0, 0, .94);
}
.c-billeder-lightbox.is-open { display: flex !important; }
.c-billeder-lightbox__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: default; }
.c-billeder-lightbox__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(94vw, 1500px); max-height: 94vh; }
.c-billeder-lightbox__media { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 120px; }
.c-billeder-lightbox__image { display: block; max-width: 88vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.c-billeder-lightbox__video { display: block; max-width: 88vw; max-height: 82vh; width: auto; height: auto; }
.c-billeder-lightbox__caption { max-width: 900px; margin: 12px auto 0; color: #fff; font-size: 15px; line-height: 1.5; text-align: center; }
.c-billeder-lightbox__counter { margin-top: 8px; color: rgba(255,255,255,.75); font-size: 13px; }
.c-billeder-lightbox__close,
.c-billeder-lightbox__button { position: absolute; z-index: 4; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(18,59,93,.92); color: #fff; font: 32px/1 Arial,sans-serif; cursor: pointer; }
.c-billeder-lightbox__close { top: -18px; right: -18px; }
.c-billeder-lightbox__button { top: 50%; transform: translateY(-50%); }
.c-billeder-lightbox__button--prev { left: -58px; }
.c-billeder-lightbox__button--next { right: -58px; }
.c-billeder-lightbox__button[hidden] { display: none; }
body.c-billeder-lightbox-open { overflow: hidden; }
@media (max-width: 900px) {
.c-billeder-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-billeder-lightbox__button--prev { left: 8px; }
.c-billeder-lightbox__button--next { right: 8px; }
}
@media (max-width: 600px) {
.c-billeder-categories { grid-template-columns: 1fr; gap: 16px; }
.c-billeder-category-card__meta { padding: 14px 16px; }
.c-billeder-lightbox { padding: 12px; }
.c-billeder-lightbox__image, .c-billeder-lightbox__video { max-width: 94vw; max-height: 76vh; }
.c-billeder-lightbox__close { top: 8px; right: 8px; }
.c-billeder-lightbox__button { width: 38px; height: 38px; font-size: 27px; }
} .c-billeder-lightbox,
.c-billeder-lightbox:hover,
.c-billeder-lightbox:focus,
.c-billeder-lightbox:focus-within,
.c-billeder-lightbox__backdrop,
.c-billeder-lightbox__backdrop:hover {
background-color: rgba(0, 0, 0, 0.94) !important;
}
.c-billeder-lightbox__close:hover,
.c-billeder-lightbox__close:focus,
.c-billeder-lightbox__close:focus-visible,
.c-billeder-lightbox__button:hover,
.c-billeder-lightbox__button:focus,
.c-billeder-lightbox__button:focus-visible {
background-color: rgba(18, 59, 93, 0.92) !important;
color: #ffffff !important;
}