:root {
	--hibk-orange: #ff6b00;
	--hibk-orange-dark: #c7470b;
	--hibk-black: #0c0c0c;
	--hibk-white: #f8f5f1;
	--hibk-muted: #b9b0aa;
	--hibk-line: rgba(255, 255, 255, 0.12);
}

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

.hibk-training-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-training-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);
}

/* Hero */
.hibk-hero,
.hibk-hero__carousel,
.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__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 {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 1.1rem;
	color: var(--hibk-orange);
	font-size: clamp(0.78rem, 1.2vw, 1rem);
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

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

.hibk-hero__title {
	max-width: 920px;
	margin: 0;
	color: var(--hibk-white);
	font-size: clamp(3.8rem, 8.2vw, 8.8rem);
	font-weight: 900;
	line-height: 0.84;
	letter-spacing: -0.055em;
	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__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__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.32) !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;
}

/* Overskrift */
.hibk-section-heading {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hibk-section-heading__eyebrow,
.hibk-sponsors__label {
	margin: 0 0 0.25rem;
	color: var(--hibk-orange);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hibk-section-heading h2 {
	margin: 0;
	color: var(--hibk-white);
	font-size: clamp(2.4rem, 5vw, 5rem);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.045em;
	text-transform: uppercase;
}

.hibk-section-heading h2 span {
	display: block;
	margin-top: 0.45rem;
	color: var(--hibk-muted);
	font-size: 0.28em;
	font-weight: 700;
	letter-spacing: 0.1em;
}

/* Treningstider */
.hibk-training {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 107, 0, 0.025));
}

.hibk-training-accordion {
	display: grid;
	gap: 0.85rem;
}

.hibk-training-accordion__item {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 10px;
	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-training-accordion__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 78px;
	padding: 1.25rem 1.5rem;
	border: 0;
	box-shadow: none !important;
	background: linear-gradient(105deg, rgba(185, 56, 5, 0.96), rgba(255, 107, 0, 0.92));
	color: var(--hibk-white);
	font-size: 1.05rem;
	font-weight: 900;
	text-align: left;
	transition: background 180ms ease, color 180ms ease;
}

/* Overstyrer Bootstraps blå/lilla active-color når accordion-feltet er åpent. */
.hibk-training-page .hibk-training-accordion__button:not(.collapsed),
.hibk-training-page .hibk-training-accordion__button:not(.collapsed):hover,
.hibk-training-page .hibk-training-accordion__button:not(.collapsed):focus {
	color: var(--hibk-white);
}

.hibk-training-page .hibk-training-accordion__button:not(.collapsed) i {
	color: var(--hibk-white);
}

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

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

.hibk-training-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);
	font-size: 0.78rem;
	transition: transform 180ms ease, background-color 180ms ease;
}

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

.hibk-training-accordion__body {
	padding: 1.15rem;
	background: linear-gradient(125deg, rgba(255, 107, 0, 0.065), transparent 45%), rgba(9, 8, 7, 0.34);
}

.hibk-training-table-wrap {
	overflow-x: auto;
}

.hibk-training-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 0.65rem;
}

.hibk-training-table th {
	padding: 0 1rem 0.25rem;
	border: 0;
	color: rgba(248, 245, 241, 0.55);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hibk-training-table td {
	padding: 1.15rem 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.11);
	border-bottom: 1px solid rgba(255, 255, 255, 0.11);
	background: rgba(255, 255, 255, 0.055);
	color: rgba(248, 245, 241, 0.82);
	font-size: 0.90rem;
	vertical-align: middle;
}

.hibk-training-table td:first-child {
	border-left: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 7px 0 0 7px;
}

.hibk-training-table td:last-child {
	border-right: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 0 7px 7px 0;
}

.hibk-training-table__day,
.hibk-training-table__time {
	white-space: nowrap;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.hibk-training-table a {
	color: rgba(248, 245, 241, 0.82);
	font-weight: 700;
}

.hibk-training-table a i {
	margin-right: 0.35rem;
	color: var(--hibk-orange);
}

.hibk-training-table a:hover,
.hibk-training-card a:hover {
	color: var(--hibk-orange);
	text-decoration: none;
}

.hibk-training-table__info {
	width: 1%;
	text-align: right;
}

.hibk-training-info-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 36px;
	padding: 0.45rem 0.75rem;
	border: 1px solid rgba(255, 107, 0, 0.48);
	border-radius: 5px;
	background: rgba(255, 107, 0, 0.12);
	color: var(--hibk-white);
	font-size: 0.70rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: background-color 180ms ease, border-color 180ms ease;
}

.hibk-training-info-button:hover {
	border-color: var(--hibk-orange);
	background: var(--hibk-orange);
	color: #fff;
}

.hibk-training-cards {
	display: grid;
	gap: 0.75rem;
}

.hibk-training-card {
	padding: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.055);
}

.hibk-training-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.9rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.hibk-training-card__day {
	color: var(--hibk-orange);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.hibk-training-card__time {
	color: var(--hibk-white);
	font-size: 0.86rem;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
}

.hibk-training-card__team {
	display: block;
	margin-bottom: 0.45rem;
	color: var(--hibk-white);
	font-size: 1rem;
	font-weight: 800;
}

.hibk-training-card__hall {
	display: block;
	margin-bottom: 0.9rem;
	color: var(--hibk-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.hibk-training-card__hall i {
	margin-right: 0.3rem;
	color: var(--hibk-orange);
}

.hibk-training-empty {
	padding: clamp(2rem, 6vw, 4rem);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.045);
	text-align: center;
}

.hibk-training-empty i {
	margin-bottom: 1rem;
	color: var(--hibk-orange);
	font-size: 2rem;
}

.hibk-training-empty h3 {
	margin-bottom: 0.5rem;
	color: var(--hibk-white);
}

.hibk-training-empty p {
	margin: 0;
	color: var(--hibk-muted);
}

/* Treningsmodal */
.hibk-training-modal .modal-content {
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 14px;
	background: rgba(24, 18, 15, 0.88);
	box-shadow: 0 35px 90px rgba(0, 0, 0, 0.58), 0 0 45px rgba(255, 107, 0, 0.08);
	-webkit-backdrop-filter: blur(22px) saturate(135%);
	backdrop-filter: blur(22px) saturate(135%);
	color: var(--hibk-white);
}

.hibk-training-modal .modal-body {
	position: relative;
	padding: clamp(1.75rem, 5vw, 3rem);
}

.hibk-training-modal h3 {
	margin: 0;
	padding-right: 3rem;
	color: var(--hibk-white);
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 900;
	line-height: 1;
}

.hibk-modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: background-color 180ms ease, border-color 180ms ease;
}

.hibk-modal__close:hover {
	border-color: var(--hibk-orange);
	background: var(--hibk-orange);
}

.hibk-modal__divider {
	width: 100%;
	height: 1px;
	margin: 1.5rem 0;
	background: rgba(255, 255, 255, 0.12);
}

.hibk-training-modal__facts {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 1.4rem;
	padding: 0;
	list-style: none;
}

.hibk-training-modal__facts li {
	display: grid;
	grid-template-columns: 1.5rem 1fr;
	color: rgba(248, 245, 241, 0.76);
}

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

.hibk-training-modal__text {
	margin: 0;
	color: rgba(248, 245, 241, 0.84);
	line-height: 1.7;
}

.modal-backdrop.show {
	opacity: 0.78;
}

/* Sponsor-roll: sponsor_roll2 bruker lyse logoer, derfor ingen hvit bakgrunn. */
.hibk-sponsors {
	padding-top: 2rem;
}

.hibk-sponsors__glass {
	position: relative;
	overflow: hidden;
	padding: clamp(2rem, 5vw, 4rem);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 14px;
	background: linear-gradient(120deg, rgba(255, 107, 0, 0.12), transparent 34%), rgba(255, 255, 255, 0.055);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
	-webkit-backdrop-filter: blur(16px) saturate(125%);
	backdrop-filter: blur(16px) saturate(125%);
}

.hibk-sponsors__glass::after {
	content: "";
	position: absolute;
	top: -10rem;
	right: -8rem;
	width: 24rem;
	height: 24rem;
	border-radius: 50%;
	background: rgba(255, 107, 0, 0.13);
	filter: blur(35px);
	pointer-events: none;
}

.hibk-sponsors__label,
.hibk-sponsors__glass .owl-carousel,
.hibk-sponsors__glass img {
	position: relative;
	z-index: 2;
}

.hibk-sponsors__label {
	margin-bottom: 1.8rem;
}

.hibk-sponsors__glass .owl-stage {
	display: flex;
	align-items: center;
}

.hibk-sponsors__glass .owl-item,
.hibk-sponsors__glass .owl-item a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.hibk-sponsors__glass .owl-item {
	min-height: 92px;
}

.hibk-sponsors__glass .owl-item > div {
	width: 100%;
	padding: 0 1.15rem;
}

.hibk-sponsors__glass .owl-item a {
	height: 86px;
}

.hibk-sponsors__glass .owl-item img {
	width: auto !important;
	max-width: 100%;
	max-height: 72px;
	margin: 0 auto;
	object-fit: contain;
	opacity: 0.88;
	transition: opacity 180ms ease, transform 180ms ease;
}

.hibk-sponsors__glass .owl-item a:hover img {
	opacity: 1;
	transform: scale(1.035);
}

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

	.hibk-hero__content {
		width: 92%;
	}

	.hibk-hero__counter {
		display: none;
	}
}

@media (max-width: 767px) {
	.hibk-training-page__surface::before {
		top: 24%;
		right: -30vw;
		width: 92vw;
		opacity: 0.075;
	}

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

	.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-hero__container {
		padding-bottom: 7rem;
	}

	.hibk-hero__content {
		width: 100%;
	}

	.hibk-hero__watermark {
		right: -34vw;
		bottom: 2%;
		width: 92vw;
		opacity: 0.085;
	}

	.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__text {
		font-size: 0.98rem;
	}

	.hibk-training-accordion__button {
		min-height: 66px;
		padding: 1rem;
		font-size: 0.94rem;
	}

	.hibk-training-accordion__button i {
		width: 2.25rem;
		height: 2.25rem;
	}

	.hibk-training-accordion__body {
		padding: 0.75rem;
	}

	.hibk-sponsors__glass {
		padding: 1.6rem 1rem;
	}

	.hibk-sponsors__glass .owl-item > div {
		padding: 0 0.55rem;
	}

	.hibk-sponsors__glass .owl-item a {
		height: 64px;
	}

	.hibk-sponsors__glass .owl-item img {
		max-height: 52px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hibk-training-accordion__button,
	.hibk-training-accordion__button i,
	.hibk-training-info-button,
	.hibk-modal__close,
	.hibk-sponsors__glass .owl-item img {
		transition: none;
	}
}
