:root {
	--hibk-orange: #ff6b00;
	--hibk-orange-light: #ff8a45;
	--hibk-orange-dark: #c7470b;
	--hibk-black: #0c0c0c;
	--hibk-white: #f8f5f1;
	--hibk-ink: #101012;
	--hibk-surface: #171719;
	--hibk-surface-light: #202024;
	--hibk-border: rgba(255, 255, 255, 0.1);
	--hibk-text: #f8f5f1;
	--hibk-muted: #b9b0aa;
}

.hibk-member-page,
.hibk-member-page .body,
.hibk-member-page__main {
	background: var(--hibk-black);
	color: var(--hibk-text);
}

.hibk-member-page__main {
	overflow: hidden;
}

.hibk-hero,
.hibk-hero__carousel,
.hibk-hero__carousel .owl-stage-outer,
.hibk-hero__carousel .owl-stage,
.hibk-hero__carousel .owl-item,
.hibk-hero__slide {
	height: 100vh;
	min-height: 680px;
}

.hibk-hero {
	position: relative;
	background: var(--hibk-black);
}

.hibk-hero__slide {
	position: relative;
	overflow: hidden;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.hibk-hero__shade,
.hibk-hero__glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hibk-hero__shade {
	background:
		linear-gradient(90deg, rgba(8, 7, 6, 0.94) 0%, rgba(12, 9, 8, 0.76) 37%, rgba(9, 8, 7, 0.22) 72%, rgba(8, 8, 8, 0.40) 100%),
		linear-gradient(0deg, rgba(8, 8, 8, 0.80) 0%, transparent 42%, rgba(8, 8, 8, 0.24) 100%);
}

.hibk-hero__glow {
	background:
		radial-gradient(circle at 18% 30%, rgba(255, 107, 0, 0.32), transparent 32%),
		linear-gradient(115deg, rgba(95, 29, 4, 0.32), transparent 52%);
	mix-blend-mode: screen;
}

.hibk-hero__watermark {
	position: absolute;
	right: -4vw;
	bottom: -14%;
	z-index: 1;
	width: min(50vw, 820px);
	aspect-ratio: 1936 / 2048;
	background: linear-gradient(145deg, rgba(255, 121, 27, 0.98), rgba(174, 50, 5, 0.58));
	opacity: 0.11;
	-webkit-mask: url('../img/gaupe.png') center / contain no-repeat;
	mask: url('../img/gaupe.png') center / contain no-repeat;
	pointer-events: none;
}

.hibk-hero__container {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: flex-end;
	height: 100%;
	padding-bottom: clamp(7.5rem, 15vh, 10.5rem);
}

.hibk-hero__content {
	width: min(830px, 78%);
}

.hibk-hero__eyebrow,
.hibk-section-heading__eyebrow {
	display: flex;
	align-items: center;
	gap: 13px;
	margin: 0 0 1.1rem;
	color: var(--hibk-orange);
	font-size: clamp(0.78rem, 1.2vw, 1rem);
	font-weight: 800;
	letter-spacing: 0.17em;
	line-height: 1.5;
	text-transform: uppercase;
}

.hibk-hero__eyebrow-line {
	display: block;
	width: 3.25rem;
	height: 3px;
	background: var(--hibk-orange);
}

.hibk-hero__title {
	max-width: 920px;
	margin: 0;
	color: #fff;
	font-size: clamp(3.8rem, 8.2vw, 8.8rem);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 0.84;
	text-transform: uppercase;
	text-wrap: balance;
	text-shadow: 0 8px 34px rgba(0, 0, 0, 0.34);
}

.hibk-hero__text {
	max-width: 610px;
	margin: 1.5rem 0 0;
	color: rgba(248, 245, 241, 0.80);
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	font-weight: 500;
	line-height: 1.6;
}

.hibk-hero__counter {
	position: absolute;
	right: clamp(1.5rem, 5vw, 5rem);
	bottom: clamp(4.8rem, 8vh, 6.5rem);
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.hibk-hero__counter i {
	display: block;
	width: 3.5rem;
	height: 1px;
	background: rgba(255, 255, 255, 0.35);
}

.hibk-hero .owl-dots {
	position: absolute;
	left: 50%;
	bottom: 2.2rem;
	z-index: 5;
	transform: translateX(-50%);
}

.hibk-hero .owl-dot span {
	background: rgba(255, 255, 255, 0.28) !important;
}

.hibk-hero .owl-dot.active span {
	background: var(--hibk-orange) !important;
}

.hibk-hero .owl-nav button {
	border-color: rgba(255, 255, 255, 0.18) !important;
	background: rgba(12, 12, 12, 0.28) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff !important;
}

.hibk-hero .owl-nav button:hover {
	border-color: var(--hibk-orange) !important;
	background: var(--hibk-orange) !important;
}

.hibk-member-page__surface {
	position: relative;
	overflow: hidden;
	color: var(--hibk-white);
	background:
		radial-gradient(circle at 7% 8%, rgba(255, 107, 0, 0.30), transparent 28rem),
		radial-gradient(circle at 95% 42%, rgba(124, 43, 10, 0.24), transparent 34rem),
		radial-gradient(circle at 24% 88%, rgba(216, 72, 8, 0.16), transparent 30rem),
		linear-gradient(145deg, #281107 0%, #15100e 35%, #0c0c0c 72%, #17100d 100%);
}

.hibk-member-page__surface::before {
	content: "";
	position: absolute;
	top: 18%;
	right: -8vw;
	z-index: 0;
	width: min(58vw, 880px);
	aspect-ratio: 1936 / 2048;
	background: linear-gradient(145deg, rgba(255, 107, 0, 0.95), rgba(176, 54, 7, 0.52));
	opacity: 0.09;
	-webkit-mask: url('../img/gaupe.png') center / contain no-repeat;
	mask: url('../img/gaupe.png') center / contain no-repeat;
	pointer-events: none;
}

.hibk-section {
	position: relative;
	z-index: 1;
	padding: clamp(4.5rem, 8vw, 8.5rem) 0;
}

.hibk-section + .hibk-section {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hibk-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 32px;
}

.hibk-section-heading h2,
.hibk-member-intro h2,
.hibk-member-info h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(2.05rem, 4vw, 3.8rem);
	font-weight: 850;
	letter-spacing: -0.04em;
	line-height: 1.03;
}

.hibk-section-heading h2 span,
.hibk-member-intro h2 span {
	color: var(--hibk-orange);
}

.hibk-member-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
	gap: clamp(45px, 7vw, 100px);
	align-items: center;
}

.hibk-member-copy {
	color: var(--hibk-muted);
	font-size: 1.04rem;
	line-height: 1.85;
}

.hibk-member-intro__content .hibk-member-copy {
	max-width: 760px;
	margin-top: 28px;
}

.hibk-member-copy p:last-child,
.hibk-member-copy br:last-child {
	margin-bottom: 0;
}

.hibk-member-copy a {
	color: var(--hibk-orange-light);
}

.hibk-member-cta {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 0;
	padding: clamp(2rem, 3vw, 3.25rem);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 22px;
	background: linear-gradient(145deg, rgba(243, 109, 39, 0.96), rgba(174, 61, 13, 0.94));
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
	container-name: member-cta;
	container-type: inline-size;
}

.hibk-member-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.21), transparent 35%);
}

.hibk-member-cta__content {
	position: relative;
	z-index: 2;
	min-width: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.hibk-member-cta__icon,
.hibk-member-info__icon {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.15rem;
}

.hibk-member-cta__eyebrow {
	margin: 24px 0 5px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hibk-member-cta h3 {
	margin: 0 0 15px;
	color: #fff;
	font-size: clamp(2rem, 3vw, 2.8rem);
	font-weight: 850;
	letter-spacing: -0.04em;
	line-height: 0.96;
	overflow-wrap: normal;
	word-break: normal;
}

.hibk-member-cta p {
	max-width: 100%;
	color: rgba(255, 255, 255, 0.84);
	line-height: 1.65;
}

.hibk-member-cta__actions {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 145px;
	align-items: end;
	gap: clamp(1rem, 2vw, 1.5rem);
	width: 100%;
	margin-top: 2rem;
}

.hibk-member-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	min-height: 72px;
	margin: 0;
	padding: 13px 18px;
	overflow: hidden;
	box-sizing: border-box;
	border-radius: 9px;
	background: #151517;
	color: #fff;
	font-size: 0.86rem;
	font-weight: 800;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease;
}

.hibk-member-cta__button span {
	min-width: 0;
	line-height: 1.3;
	overflow-wrap: normal;
	word-break: normal;
}

.hibk-member-cta__button i {
	flex: 0 0 auto;
	margin-left: auto;
}

.hibk-member-cta__button:hover {
	transform: translateY(-2px);
	background: #000;
	color: #fff;
}

.hibk-member-cta__image {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	max-width: 145px;
	max-height: 145px;
	margin: 0 0 0 auto;
	object-fit: contain;
	object-position: center;
}

.hibk-member-fees {
	padding-top: 35px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 107, 0, 0.025));
}

.hibk-member-fees .container {
	max-width: 1140px;
}

.hibk-member-accordion {
	display: grid;
	gap: 14px;
}

.hibk-member-accordion__item {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.13) !important;
	border-radius: 10px !important;
	background: rgba(17, 14, 13, 0.60);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.20);
	-webkit-backdrop-filter: blur(14px) saturate(120%);
	backdrop-filter: blur(14px) saturate(120%);
}

.hibk-member-accordion__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 78px;
	padding: 1.25rem 1.5rem;
	border: 0;
	background: linear-gradient(105deg, rgba(185, 56, 5, 0.96), rgba(255, 107, 0, 0.92)) !important;
	box-shadow: none !important;
	color: var(--hibk-white) !important;
	font-size: 1.05rem;
	font-weight: 900;
	text-align: left;
	transition: background 180ms ease, color 180ms ease;
}

.hibk-member-accordion__button::after {
	display: none;
}

.hibk-member-accordion__button i {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 2.65rem;
	height: 2.65rem;
	margin-left: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: var(--hibk-white);
	font-size: 0.78rem;
	transition: transform 180ms ease, background-color 180ms ease;
}

.hibk-member-accordion__button.collapsed i {
	transform: rotate(180deg);
	background: rgba(255, 107, 0, 0.12);
	color: var(--hibk-orange);
}

.hibk-member-accordion__button:not(.collapsed) {
	color: var(--hibk-white) !important;
}

.hibk-member-accordion__button.collapsed {
	background: rgba(255, 255, 255, 0.045) !important;
	color: var(--hibk-white) !important;
}

.hibk-member-accordion__body {
	padding: 1.15rem;
	background: linear-gradient(125deg, rgba(255, 107, 0, 0.065), transparent 45%), rgba(9, 8, 7, 0.34);
	color: var(--hibk-muted);
	line-height: 1.75;
}

.hibk-fee-list__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	padding: 17px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hibk-fee-list__row:last-child {
	border-bottom: 0;
}

.hibk-fee-list__row span {
	color: #e7e3de;
}

.hibk-fee-list__row strong {
	flex: 0 0 auto;
	color: var(--hibk-orange-light);
	font-size: 1rem;
}

.hibk-license {
	padding-top: 24px;
}

.hibk-license__notice {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 13px;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hibk-license__notice i {
	color: var(--hibk-orange);
}

.hibk-license__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	color: var(--hibk-orange-light);
	font-weight: 800;
	text-decoration: none;
}

.hibk-license__link:hover {
	color: #fff;
}

.hibk-member-info {
	padding-top: 25px;
}

.hibk-member-info__panel {
	padding: clamp(28px, 5vw, 58px);
	border: 1px solid var(--hibk-border);
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
	box-shadow: 0 22px 65px rgba(0, 0, 0, 0.18);
}

.hibk-member-info__heading {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 28px;
}

.hibk-member-info__heading .hibk-section-heading__eyebrow {
	margin-bottom: 5px;
}

.hibk-member-info__icon {
	flex: 0 0 auto;
	border-color: rgba(243, 109, 39, 0.35);
	background: rgba(243, 109, 39, 0.12);
	color: var(--hibk-orange);
}

.hibk-member-info h2 {
	font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.hibk-sponsors {
	padding-top: 45px;
}

.hibk-sponsors__label {
	margin: 0 0 26px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-align: center;
	text-transform: uppercase;
}

@media (max-width: 991px) {
	.hibk-hero,
	.hibk-hero__carousel,
	.hibk-hero__carousel .owl-stage-outer,
	.hibk-hero__carousel .owl-stage,
	.hibk-hero__carousel .owl-item,
	.hibk-hero__slide {
		min-height: 620px;
	}

	.hibk-hero__content {
		width: 92%;
	}

	.hibk-hero__counter {
		display: none;
	}

	.hibk-member-intro__grid {
		grid-template-columns: 1fr;
	}

	.hibk-member-cta {
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.hibk-hero,
	.hibk-hero__carousel,
	.hibk-hero__carousel .owl-stage-outer,
	.hibk-hero__carousel .owl-stage,
	.hibk-hero__carousel .owl-item,
	.hibk-hero__slide {
		min-height: 600px;
		height: 100svh;
	}

	.hibk-hero__shade {
		background:
			linear-gradient(0deg, rgba(8, 7, 6, 0.97) 0%, rgba(9, 8, 7, 0.72) 52%, rgba(8, 8, 8, 0.24) 100%),
			linear-gradient(90deg, rgba(8, 7, 6, 0.72), transparent);
	}

	.hibk-member-page__surface::before {
		top: 24%;
		right: -30vw;
		width: 92vw;
		opacity: 0.075;
	}

	.hibk-hero__slide {
		background-position: 62% center;
	}

	.hibk-hero__container {
		padding-bottom: 7rem;
	}

	.hibk-hero__content {
		width: 100%;
		max-width: calc(100vw - 45px);
	}

	.hibk-hero__title {
		max-width: 100%;
		font-size: clamp(2.15rem, 9.8vw, 3.35rem);
		line-height: 0.92;
		letter-spacing: -0.06em;
		overflow-wrap: break-word;
	}

	.hibk-hero__counter {
		right: 20px;
		bottom: 27px;
	}

	.hibk-hero .owl-dots {
		bottom: 20px;
	}

	.hibk-section {
		padding: 65px 0;
	}

	.hibk-member-fees,
	.hibk-member-info,
	.hibk-sponsors {
		padding-top: 15px;
	}

	.hibk-member-cta {
		min-height: 0;
		padding: 28px;
	}

	.hibk-member-cta__content {
		max-width: 100%;
		padding: 0;
	}

	.hibk-member-cta__actions {
		grid-template-columns: minmax(0, 1fr) minmax(115px, 140px);
		gap: 16px;
		margin-top: 28px;
	}

	.hibk-member-cta__image {
		width: 100%;
		max-width: 140px;
		max-height: 140px;
		margin: 0 0 0 auto;
	}

	.hibk-member-accordion__button {
		min-height: 68px;
		padding: 18px;
	}

	.hibk-member-accordion__body {
		padding: 7px 18px 22px;
	}

	.hibk-fee-list__row {
		align-items: flex-start;
	}

	.hibk-member-info__heading {
		align-items: flex-start;
	}
}

@media (max-width: 420px) {
	.hibk-member-cta {
		min-height: 0;
	}

	.hibk-member-cta__actions {
		grid-template-columns: 1fr;
	}

	.hibk-member-cta__image {
		width: min(100%, 150px);
		max-width: 150px;
		max-height: 150px;
		margin: 0 auto;
		opacity: 1;
	}

	.hibk-member-cta__button {
		position: relative;
		z-index: 2;
	}

	.hibk-fee-list__row {
		gap: 15px;
	}
}

/* Tilpasser handlingsraden etter bredden på selve boksen, ikke viewporten. */
@container member-cta (max-width: 460px) {
	.hibk-member-cta__actions {
		grid-template-columns: minmax(0, 1fr) 125px;
		gap: 14px;
	}

	.hibk-member-cta__button {
		min-height: 66px;
		padding: 12px 14px;
		font-size: 0.78rem;
	}

	.hibk-member-cta__image {
		max-width: 125px;
		max-height: 125px;
	}
}

@container member-cta (max-width: 360px) {
	.hibk-member-cta__actions {
		grid-template-columns: minmax(0, 1fr) 105px;
		gap: 12px;
	}

	.hibk-member-cta__button {
		min-height: 62px;
		gap: 8px;
		padding: 10px 12px;
		font-size: 0.74rem;
	}

	.hibk-member-cta__image {
		max-width: 105px;
		max-height: 105px;
	}
}

@container member-cta (max-width: 285px) {
	.hibk-member-cta__actions {
		grid-template-columns: 1fr;
	}

	.hibk-member-cta__image {
		width: 120px;
		max-width: 120px;
		max-height: 120px;
		margin: 0 auto;
	}
}
