:root {
	--hibk-orange: #f36d27;
	--hibk-orange-light: #ff8a47;
	--hibk-ink: #0c0c0d;
	--hibk-panel: #171719;
	--hibk-panel-light: #202023;
	--hibk-line: rgba(255, 255, 255, 0.1);
	--hibk-text: #f5f5f4;
	--hibk-muted: #aaa8a5;
}

html,
body.hibk-teams-page {
	background: var(--hibk-ink);
}

.hibk-teams-page,
.hibk-teams-page button,
.hibk-teams-page input {
	font-family: "Outfit", sans-serif;
}

.hibk-teams-page__main {
	overflow: hidden;
	background: var(--hibk-ink);
}

.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;
	height: 100svh;
	min-height: 640px;
}

.hibk-hero {
	position: relative;
	background: #090909;
}

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

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

.hibk-hero__shade {
	background:
		linear-gradient(90deg, rgba(5, 5, 6, 0.93) 0%, rgba(5, 5, 6, 0.7) 42%, rgba(5, 5, 6, 0.22) 72%, rgba(5, 5, 6, 0.5) 100%),
		linear-gradient(0deg, rgba(9, 9, 10, 0.88) 0%, transparent 38%);
	z-index: 1;
}

.hibk-hero__glow {
	background: radial-gradient(circle at 22% 56%, rgba(243, 109, 39, 0.2), transparent 32%);
	z-index: 2;
}

.hibk-hero__watermark {
	inset: auto -4vw -12vh auto;
	display: block;
	width: min(51vw, 900px);
	height: min(82vh, 880px);
	background: url("../img/gaupe.png") center bottom / contain no-repeat;
	opacity: 0.16;
	filter: sepia(0.25) saturate(1.15);
	z-index: 2;
}

.hibk-hero__container {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: flex-end;
	height: 100%;
	padding-top: 100px;
	padding-bottom: clamp(118px, 11vh, 150px);
}

.hibk-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: min(760px, 75%);
	isolation: isolate;
}

.hibk-hero__eyebrow {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 32px;
	color: var(--hibk-orange-light);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.2;
	text-transform: uppercase;
}

.hibk-hero__eyebrow-line {
	display: block;
	width: 48px;
	height: 2px;
	background: var(--hibk-orange);
}

.hibk-hero__title {
	position: relative;
	z-index: 1;
	max-width: 850px;
	margin: 0;
	color: #fff;
	font-size: clamp(3.25rem, 7vw, 7.25rem);
	font-weight: 800;
	letter-spacing: -0.055em;
	line-height: 0.9;
	text-transform: uppercase;
	text-wrap: balance;
}

.hibk-hero__text {
	max-width: 600px;
	margin: 28px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: clamp(1rem, 1.5vw, 1.22rem);
	font-weight: 400;
	line-height: 1.65;
}

.hibk-hero__counter {
	position: absolute;
	right: clamp(24px, 4vw, 72px);
	bottom: 42px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

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

.hibk-hero .owl-dots {
	position: absolute;
	bottom: 42px;
	left: max(24px, calc((100vw - 1140px) / 2 + 12px));
	z-index: 5;
}

.hibk-hero .owl-nav button.owl-prev,
.hibk-hero .owl-nav button.owl-next {
	position: absolute;
	top: 50%;
	z-index: 6;
	display: grid;
	width: 42px;
	height: 54px;
	margin: 0;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.13) !important;
	background: rgba(8, 8, 9, 0.48) !important;
	box-shadow: none !important;
	color: #fff !important;
	transform: translateY(-50%);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.hibk-hero .owl-nav button.owl-prev {
	left: 0;
	border-left: 0 !important;
	border-radius: 0 7px 7px 0;
}

.hibk-hero .owl-nav button.owl-next {
	right: 0;
	border-right: 0 !important;
	border-radius: 7px 0 0 7px;
}

.hibk-hero .owl-nav button.owl-prev:hover,
.hibk-hero .owl-nav button.owl-next:hover,
.hibk-hero .owl-nav button.owl-prev:focus,
.hibk-hero .owl-nav button.owl-next:focus {
	border-color: var(--hibk-orange) !important;
	background: var(--hibk-orange) !important;
	color: #fff !important;
}

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

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

.hibk-teams-page__surface {
	position: relative;
	background:
		radial-gradient(circle at 0% 2%, rgba(139, 53, 14, 0.58), transparent 34%),
		radial-gradient(circle at 100% 32%, rgba(100, 37, 12, 0.34), transparent 37%),
		linear-gradient(135deg, #1b0d08 0%, #14100e 42%, #0b0b0c 100%);
}

.hibk-teams-page__surface::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: url("../img/gaupe.png") right 110px / min(54vw, 980px) auto no-repeat;
	opacity: 0.1;
	filter: saturate(0.85) sepia(0.22);
}

.hibk-section {
	position: relative;
	z-index: 1;
	padding: clamp(76px, 8vw, 120px) 0;
}

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

.hibk-section-heading__eyebrow {
	margin: 0 0 10px;
	color: var(--hibk-orange);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.17em;
	text-transform: uppercase;
}

.hibk-section-heading h2 {
	margin: 0;
	color: var(--hibk-text);
	font-size: clamp(2.5rem, 5vw, 4.6rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

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

.hibk-teams__lead {
	max-width: 680px;
	margin: 0 0 clamp(36px, 5vw, 58px);
	color: var(--hibk-muted);
	font-size: 1.08rem;
	line-height: 1.7;
}

.hibk-team-accordion {
	display: grid;
	gap: 15px;
}

.hibk-team-item.accordion-item {
	position: relative;
	border: 1px solid var(--hibk-line);
	border-radius: 16px !important;
	background: rgba(24, 24, 26, 0.82);
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.17);
	overflow: hidden;
	backdrop-filter: blur(13px);
	-webkit-backdrop-filter: blur(13px);
}

.hibk-team-item::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 3px;
	background: var(--hibk-orange);
	transform: scaleY(0);
	transition: transform 0.28s ease;
}

.hibk-team-item:has(.hibk-team-toggle:not(.collapsed))::before {
	transform: scaleY(1);
}

.hibk-team-toggle.accordion-button {
	display: flex;
	gap: 18px;
	min-height: 94px;
	padding: 18px 24px;
	border: 0;
	background: transparent;
	box-shadow: none !important;
	color: var(--hibk-text);
}

.hibk-team-toggle.accordion-button::after {
	display: none;
}

.hibk-team-toggle.accordion-button:hover,
.hibk-team-toggle.accordion-button:focus,
.hibk-team-toggle.accordion-button:not(.collapsed) {
	background: linear-gradient(90deg, rgba(243, 109, 39, 0.1), rgba(255, 255, 255, 0.018));
	color: #fff;
}

.hibk-team-toggle__icon {
	display: grid;
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	place-items: center;
	border: 1px solid rgba(243, 109, 39, 0.34);
	border-radius: 14px;
	background: rgba(243, 109, 39, 0.09);
	color: var(--hibk-orange-light);
	font-size: 1.15rem;
}

.hibk-team-toggle__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	text-align: left;
}

.hibk-team-toggle__text small {
	color: var(--hibk-orange-light);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.hibk-team-toggle__text strong {
	color: inherit;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	font-weight: 700;
	line-height: 1.15;
}

.hibk-team-toggle__action {
	display: grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid var(--hibk-line);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.68);
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.3s ease;
}

.hibk-team-toggle:not(.collapsed) .hibk-team-toggle__action {
	border-color: var(--hibk-orange);
	background: var(--hibk-orange);
	color: #fff;
	transform: rotate(45deg);
}

.hibk-team-body.accordion-body {
	padding: clamp(24px, 4vw, 44px);
	border-top: 1px solid var(--hibk-line);
	background: rgba(8, 8, 9, 0.28);
}

.hibk-team-column-heading {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 18px;
}

.hibk-team-column-heading > span {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 12px;
	background: rgba(243, 109, 39, 0.12);
	color: var(--hibk-orange-light);
}

.hibk-team-column-heading small {
	display: block;
	margin-bottom: 1px;
	color: var(--hibk-muted);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.hibk-team-column-heading h4 {
	margin: 0;
	color: var(--hibk-text);
	font-size: 1.23rem;
	font-weight: 700;
}

.hibk-team-list {
	display: grid;
	gap: 12px;
}

.hibk-info-card {
	position: relative;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.085);
	border-radius: 13px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
}

.hibk-info-card__label {
	margin: 0 0 4px;
	color: var(--hibk-orange-light);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hibk-info-card h5 {
	margin: 0;
	color: var(--hibk-text);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.3;
}

.hibk-contact-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 14px;
}

.hibk-contact-card__links a,
.hibk-training-card__venue {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: #cbc9c6;
	font-size: 0.9rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hibk-contact-card__links a:hover,
.hibk-training-card__venue:hover {
	color: var(--hibk-orange-light);
}

.hibk-contact-card__links i,
.hibk-training-card__venue i {
	flex: 0 0 auto;
	color: var(--hibk-orange);
}

.hibk-contact-card__links span,
.hibk-training-card__venue span {
	overflow-wrap: anywhere;
}

.hibk-training-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.hibk-training-card__clock {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid rgba(243, 109, 39, 0.25);
	border-radius: 50%;
	color: var(--hibk-orange-light);
}

.hibk-training-card__venue {
	margin-top: 14px;
}

.hibk-training-card__info {
	margin: 14px 0 0;
	padding-top: 13px;
	border-top: 1px solid rgba(255, 255, 255, 0.075);
	color: var(--hibk-muted);
	font-size: 0.88rem;
	line-height: 1.55;
}

.hibk-team-empty {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 76px;
	padding: 17px 18px;
	border: 1px dashed rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	color: var(--hibk-muted);
	font-size: 0.9rem;
}

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

.hibk-team-body__footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--hibk-line);
}

.hibk-team-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 48px;
	padding: 12px 20px;
	border: 1px solid var(--hibk-orange);
	border-radius: 9px;
	background: var(--hibk-orange);
	color: #fff;
	font-size: 0.83rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hibk-team-page-link:hover {
	border-color: var(--hibk-orange-light);
	background: var(--hibk-orange-light);
	color: #fff;
	transform: translateY(-2px);
}

.hibk-team-page-link i {
	transition: transform 0.2s ease;
}

.hibk-team-page-link:hover i {
	transform: translateX(3px);
}

.hibk-teams-empty {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 30px;
	border: 1px solid var(--hibk-line);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.025);
	color: var(--hibk-muted);
}

.hibk-teams-empty > i {
	color: var(--hibk-orange);
	font-size: 1.7rem;
}

.hibk-teams-empty h3 {
	margin: 0 0 3px;
	color: var(--hibk-text);
	font-size: 1.2rem;
}

.hibk-teams-empty p {
	margin: 0;
}

.hibk-sponsors {
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.hibk-sponsors__label {
	margin: 0 0 24px;
	color: var(--hibk-muted);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-align: center;
	text-transform: uppercase;
}

@media (max-width: 991.98px) {
	.hibk-hero__content {
		width: min(720px, 88%);
	}

	.hibk-team-body .col-lg-6 + .col-lg-6 {
		margin-top: 12px;
	}
}

@media (max-width: 767.98px) {
	.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: 560px;
	}

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

	.hibk-hero__shade {
		background: linear-gradient(90deg, rgba(5, 5, 6, 0.9), rgba(5, 5, 6, 0.55)), linear-gradient(0deg, rgba(9, 9, 10, 0.9), transparent 48%);
	}

	.hibk-teams-page__surface::before {
		background-position: 145% 150px;
		background-size: 92vw auto;
		opacity: 0.075;
	}

	.hibk-hero__container {
		align-items: flex-end;
		padding-top: 120px;
		padding-bottom: 125px;
	}

	.hibk-hero__watermark {
		right: -27vw;
		bottom: -4vh;
		width: 100vw;
		height: 68vh;
		opacity: 0.11;
	}

	.hibk-hero__content {
		width: 100%;
	}

	.hibk-hero__eyebrow {
		gap: 10px;
		margin-bottom: 27px;
		font-size: 0.7rem;
	}

	.hibk-hero__eyebrow-line {
		width: 32px;
	}

	.hibk-hero__title {
		font-size: clamp(2.65rem, 14vw, 4.5rem);
		line-height: 0.94;
	}

	.hibk-hero__text {
		margin-top: 19px;
		font-size: 0.96rem;
		line-height: 1.55;
	}

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

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

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

	.hibk-team-toggle.accordion-button {
		gap: 13px;
		min-height: 82px;
		padding: 14px 15px;
	}

	.hibk-team-toggle__icon {
		flex-basis: 46px;
		width: 46px;
		height: 46px;
		border-radius: 12px;
	}

	.hibk-team-toggle__action {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
	}

	.hibk-team-body.accordion-body {
		padding: 22px 16px 20px;
	}

	.hibk-contact-card__links {
		flex-direction: column;
		align-items: flex-start;
	}

	.hibk-team-body__footer,
	.hibk-team-page-link {
		width: 100%;
	}
}

/* Porto-overstyringer for hero. Beholdes nederst for å vinne kaskaden. */
body.hibk-teams-page .hibk-hero .hibk-hero__container {
	position: absolute !important;
	inset: 0 !important;
	display: flex !important;
	align-items: flex-end !important;
	height: 100% !important;
	padding-top: 110px !important;
	padding-bottom: clamp(120px, 11vh, 150px) !important;
}

body.hibk-teams-page .hibk-hero .hibk-hero__content {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
}

body.hibk-teams-page .hibk-hero .hibk-hero__eyebrow {
	position: relative !important;
	z-index: 3 !important;
	margin: 0 0 38px !important;
	line-height: 1.2 !important;
}

body.hibk-teams-page .hibk-hero .hibk-hero__title {
	position: relative !important;
	z-index: 2 !important;
	margin: 0 !important;
}

body.hibk-teams-page .hibk-hero .owl-carousel .owl-nav button.owl-prev,
body.hibk-teams-page .hibk-hero .owl-carousel .owl-nav button.owl-next {
	border-color: rgba(255, 255, 255, 0.13) !important;
	background-color: rgba(8, 8, 9, 0.58) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #fff !important;
}

body.hibk-teams-page .hibk-hero .owl-carousel .owl-nav button.owl-prev:hover,
body.hibk-teams-page .hibk-hero .owl-carousel .owl-nav button.owl-next:hover,
body.hibk-teams-page .hibk-hero .owl-carousel .owl-nav button.owl-prev:focus,
body.hibk-teams-page .hibk-hero .owl-carousel .owl-nav button.owl-next:focus {
	border-color: var(--hibk-orange) !important;
	background-color: var(--hibk-orange) !important;
}

body.hibk-teams-page .hibk-hero .owl-carousel .owl-dots .owl-dot span {
	background-color: rgba(255, 255, 255, 0.72) !important;
}

body.hibk-teams-page .hibk-hero .owl-carousel .owl-dots .owl-dot.active span,
body.hibk-teams-page .hibk-hero .owl-carousel .owl-dots .owl-dot:hover span {
	background-color: var(--hibk-orange) !important;
}

@media (max-width: 767.98px) {
	body.hibk-teams-page .hibk-hero .hibk-hero__container {
		padding-top: 120px !important;
		padding-bottom: 125px !important;
	}

	body.hibk-teams-page .hibk-hero .hibk-hero__eyebrow {
		margin-bottom: 28px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hibk-teams-page *,
	.hibk-teams-page *::before,
	.hibk-teams-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
