/* NXTweb – Uncode Swiper Fix */

.acf-swiper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.acf-swiper .swiper-wrapper {
  display: flex !important;
  width: 100%;
}

.acf-swiper .swiper-slide {
  width: 100% !important;
  flex-shrink: 0 !important;
}

.acf-swiper img {
  width: 100%;
  height: auto;
  display: block;
}

.acf-swiper .swiper-button-prev,
.acf-swiper .swiper-button-next {
  color: #000;
  z-index: 10;
}

/* =========================================
   Fjern Uncode blå overlay ved Swiper-init
========================================= */

/* Generell Uncode overlay */
.uncode-overlay,
.uncode-overlay--active,
.uncode-loader,
.page-loader,
.loading-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Hvis Uncode setter body-klasse */
body.loading,
body.overlay-active {
  overflow: auto !important;
}
/* ===============================
   FAST BILDEFORMAT 1400x900
================================ */

.acf-swiper {
  aspect-ratio: 14 / 8; /* 1400x900 */
  width: 100%;
  overflow: hidden;
}

.acf-swiper .swiper-slide {
  height: 100%;
}

.acf-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ===============================
   RUNDE HJØRNER PÅ SLIDER
================================ */

.acf-swiper {
  border-radius: 40px; /* juster etter smak */
  overflow: hidden;   /* viktig */
}
/* ===============================
   PILER – HVITE MED SIRKEL
================================ */

.acf-swiper .swiper-button-prev,
.acf-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  background: #9e72fd !important;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.acf-swiper .swiper-button-prev:hover,
.acf-swiper .swiper-button-next:hover {
  background: #fff;
  transform: scale(1.05);
}

/* Juster ikon-størrelse */
.acf-swiper .swiper-button-prev::after,
.acf-swiper .swiper-button-next::after {
  font-size: 16px;
  font-weight: bold;
}
/* ===============================
   PAGINATION DOTS
================================ */

.acf-swiper .swiper-pagination {
  bottom: 14px;
  text-align: center;
}

.acf-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  opacity: 1;
  margin: 0 5px !important;
}

.acf-swiper .swiper-pagination-bullet-active {
  background: #fff;
}
/* ===============================
   SKJUL PILER PÅ MOBIL
================================ */

@media (max-width: 767px) {
  .acf-swiper .swiper-button-prev,
  .acf-swiper .swiper-button-next {
    display: none !important;
  }
}
@media (max-width: 767px) {
.acf-swiper {
  aspect-ratio: 14 / 9; /* 1400x900 */
  width: 100%;
  overflow: hidden;
}
}
@media (max-width: 767px) {
.acf-swiper {
  border-radius: 0px; /* juster etter smak */
  overflow: hidden;   /* viktig */
}
}
/* ===============================
   ACF-felter
================================ */
.ACF-ingress {
  color: #303133;          /* tekstfarge */
  font-size: 25px;         /* basis font-størrelse */
}
.ACF-tekst {
  color: #303133;          /* tekstfarge */
  font-size: 18px;         /* basis font-størrelse */
}
.ACF-pris {
  color: #303133;          /* tekstfarge */
  font-size: 25px;         /* basis font-størrelse */
  font-weight: 900;
}
.data-field-label {
	font-size: .9em;
	display: block;
	margin-bottom: 2px;
	color: #777777 !important;
}
.ACF-enhet {
	background-color: #9e72fd !important;
	color: #fff;
	padding: 10px !important;
	margin-left: -10px;
		margin-right: -10px;
}
.ACF-enhet .detail-label {
	color: #fff !important;
}
.ACF-lenke-button1 {
	display: inline-flex;
	padding: 14px 28px;
	background-color: #9e72fd;
	color: #fff !important;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	width: 210px;
	align-items: center;      /* Vertikalt */
	justify-content: center;  /* Horisontalt */
	
}
.ACF-lenke-button1:hover {
	background-color: #8a5df0;
	transform: translateY(-2px);
	
}
.ACF-lenke-button2 {
	display: inline-flex;
	padding: 14px 28px;
	background-color: #ff7a00;
	color: #fff !important;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	width: 210px;
	align-items: center;      /* Vertikalt */
	justify-content: center;  /* Horisontalt */
	
}
.ACF-lenke-button2:hover {
	background-color: #e86f00;
	transform: translateY(-2px);
	
}
.ACF-lenke-button3 {
	display: inline-flex;
	padding: 14px 28px;
	background-color: #777777;
	color: #fff !important;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	width: 210px;
	align-items: center;      /* Vertikalt */
	justify-content: center;  /* Horisontalt */
	
}
.ACF-lenke-button3:hover {
	background-color: #636363;
	transform: translateY(-2px);
	
}

/* ===============================
   Read More
================================ */
.acf-toggle {
  display: inline-block;
  margin-top: 5px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
  color: #ff7a00;
}
/* ===============================
   BADGE
================================ */
/* Viktig: gjør at badgen kan ligge oppå hele slideren */
.acf-swiper{
  position: relative;
}

/* Base badge – her styrer du størrelse/form */
.acf-swiper-badge{
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 50;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* STØRRELSE */
  padding: 10px 14px;     /* øk/reduser */
  font-size: 22px;        /* tekststørrelse */
  font-weight: 600;
  line-height: 1;

  /* FORM */
  border-radius: 999px;   /* pill */
  /* border-radius: 12px; */  /* alternativ: avrundet */
  /* border-radius: 0; */     /* alternativ: helt firkant */

  /* Felles styling */
  color: #fff;
  background: #111;       /* fallback */
  pointer-events: none;   /* IKKE klikkbar */
  user-select: none;
}

/* ✅ FARGER PER STATUS (SLUG) */
/* Bytt disse slugene om dine heter noe annet */
.acf-swiper-badge--til-salgs{
  background: #ff7a00;
}

.acf-swiper-badge--solgt{
  background: #777777;
}

.acf-swiper-badge--kommer-for-salg{
  background: #141618;
}

.acf-swiper-badge--referanseprosjekter{
  background: #9e72fd;
}





