html {
  scroll-behavior: smooth;
}

@media (max-width: 781px) {
	.wm-reverse-columns {
		flex-direction: column-reverse;
	}
}

.cta-link-header {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.cta-link-header.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

header.wp-block-template-part {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

header.wp-block-template-part.is-scrolled {
	background-color: var(--wp--preset--color--background);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

header .wp-block-site-logo.is-default-size img {
	width: 256px;
}

@media (max-width: 781px) {
	header .wp-block-site-logo.is-default-size img {
		width: 150px;
	}
}

/* CTA Button — delas mellan block-knappen (.cta-button) och Gravity Forms submit-knappen (.gform_button) */
.wp-block-button.cta-button .wp-block-button__link,
.gform_wrapper.gform-theme--orbital .gform_button {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	background: transparent !important;
	border: 1px solid rgba(200, 184, 166, 0.4) !important;
	border-radius: 0 !important;
	padding: 1rem 2rem !important;
	color: var(--wp--preset--color--champagne) !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.2em !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	font-family: inherit !important;
	line-height: normal !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: border-color 0.5s ease;
}

.wp-block-button.cta-button .wp-block-button__link::after,
.gform_wrapper.gform-theme--orbital .gform_button::after {
	content: "" !important;
	display: inline-block !important;
	height: 1px !important;
	width: 1.5rem !important;
	background-color: rgba(200, 184, 166, 0.5) !important;
	transition: width 0.5s ease, background-color 0.5s ease;
}

.wp-block-button.cta-button .wp-block-button__link:hover,
.gform_wrapper.gform-theme--orbital .gform_button:hover {
	border-color: var(--wp--preset--color--champagne) !important;
}

.wp-block-button.cta-button .wp-block-button__link:hover::after,
.gform_wrapper.gform-theme--orbital .gform_button:hover::after {
	width: 2.5rem !important;
	background-color: var(--wp--preset--color--lumina) !important;
}

.wp-block-button.cta-button .wp-block-button__link:focus-visible,
.gform_wrapper.gform-theme--orbital .gform_button:focus-visible {
	outline: none !important;
	box-shadow: 0 0 0 1px var(--wp--preset--color--lumina) !important;
}

.cta-link {
	display: inline-block;
	color: var(--wp--preset--color--champagne);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.875rem;
	text-decoration: none;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(200, 184, 166, 0.5);
	transition: all 0.5s ease;
}

.cta-link a {
	text-decoration: none !important;
}

.cta-link:hover {
	/* border-color: var(--wp--preset--color--lumina); */
	border-bottom: 1px solid rgba(200, 184, 166, 1);
}

.cta-link:focus-visible {
	outline: none;
	box-shadow: 0 0 0 1px var(--wp--preset--color--lumina);
}

.wm-usp-list .wp-block-column .wp-block-icon>svg {
	transition: all 0.5s ease;
	border: 1px solid rgba(200, 184, 166, 0.5) !important;
}

.wm-usp-list .wp-block-column:hover .wp-block-icon>svg {
	transition: all 0.5s ease;
	background-color: rgba(53, 229, 246, 0.1) !important;
	border: 1px solid rgba(53, 229, 246, 0.5) !important;
	color: var(--wp--preset--color--lumina) !important;
}

.vertical-fade-line {
	width: 1px;
	height: 100px;
	background: linear-gradient(to bottom,
			transparent 0%,
			rgba(200, 184, 166, 0.3) 40%,
			var(--wp--preset--color--lumina) 100%);
}

.category-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.category-item {
	position: relative;
	z-index: 0;
	width: 100%;
	border: 1px solid rgba(200, 184, 166, 0.18);
	background-color: rgba(4, 5, 6, 0.3);
	padding: 0.875rem 1.25rem;
	text-align: center;
	font-size: 0.75rem;
	font-weight: 300;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(250, 250, 250, 0.65);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: color 0.5s ease, border-color 0.5s ease;
	outline: none;
}

.category-item:hover,
.category-item:focus-within {
	z-index: 50;
	border-color: rgba(53, 229, 246, 0.5);
	color: var(--wp--preset--color--foreground);
}

@media (min-width: 781px) {
	.category-item {
		width: auto;
		text-align: left;
		font-size: 0.75rem;
	}
}

/* Tooltip — desktop (md) och uppåt */
.category-item__tooltip {
	display: none;
	pointer-events: none;
	visibility: hidden;
	position: absolute;
	bottom: 100%;
	left: 50%;
	z-index: 50;
	margin-bottom: 1rem;
	width: 22rem;
	max-width: 80vw;
	transform: translate(-50%, 0.5rem) scale(0.98);
	opacity: 0;
	transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s ease-out;
}

@media (min-width: 781px) {
	.category-item__tooltip {
		display: block;
	}
}

.category-item:hover .category-item__tooltip,
.category-item:focus-within .category-item__tooltip {
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, 0) scale(1);
}

.category-item__tooltip-border {
	display: block;
	padding: 1px;
	background: linear-gradient(to bottom, rgba(200, 184, 166, 0.4), rgba(200, 184, 166, 0.05));
	box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.95);
}

.category-item__tooltip-panel {
	display: block;
	background-color: rgba(4, 5, 6, 0.95);
	padding: 1.5rem 1.75rem;
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
}

.category-item__eyebrow {
	display: block;
	font-size: 0.65rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: rgba(200, 184, 166, 0.8);
}

.category-item__underline {
	display: block;
	margin-top: 1rem;
	height: 1px;
	width: 2.5rem;
	background-color: rgba(53, 229, 246, 0.6);
}

.category-item__description {
	display: block;
	margin-top: 1rem;
	text-align: left;
	font-size: 0.95rem;
	font-weight: 300;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.7;
	color: rgba(250, 250, 250, 0.85);
}

.category-item__arrow {
	position: absolute;
	left: 50%;
	top: 100%;
	height: 0.5rem;
	width: 0.5rem;
	transform: translate(-50%, -50%) rotate(45deg);
	border-bottom: 1px solid rgba(200, 184, 166, 0.25);
	border-right: 1px solid rgba(200, 184, 166, 0.25);
	background-color: rgba(4, 5, 6, 0.95);
}

/* Mobil: beskrivning alltid synlig under boxen */
.category-item__mobile-description {
	display: block;
	margin: 0.625rem auto 0;
	max-width: 26rem;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 300;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.6;
	color: rgba(250, 250, 250, 0.6);
}

@media (min-width: 781px) {
	.category-item__mobile-description {
		display: none;
	}
}

@media (max-width: 781px) {
  .category-item__mobile-description {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.35s ease;
  }

  .category-item.is-expanded .category-item__mobile-description {
    max-height: 300px; /* tillräckligt högt för längsta beskrivningen du har */
    opacity: 1;
    margin-top: 0.625rem;
  }
}

/* Gravity Forms — Orbital theme overrides */

/* Etiketter */
.gform_wrapper.gform-theme--orbital .gfield_label,
.gform_wrapper.gform-theme--orbital .gform-field-label {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 184, 166, 0.7);
  margin-bottom: 0.75rem;
}

.gform_wrapper.gform-theme--orbital .gfield_required {
  display: none; /* dölj "(Required)"-texten, som i din bild */
}

/* Textfält, e-post, telefon och dropdowns -> underline istället för box */
.gform_wrapper.gform-theme--orbital input[type="text"],
.gform_wrapper.gform-theme--orbital input[type="email"],
.gform_wrapper.gform-theme--orbital input[type="tel"],
.gform_wrapper.gform-theme--orbital select {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(200, 184, 166, 0.3) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0.5rem 0 !important;
  color: var(--wp--preset--color--foreground) !important;
  font-size: 1rem;
  font-weight: 300;
  transition: border-color 0.4s ease;
  appearance: none;
}

.gform_wrapper.gform-theme--orbital input[type="text"]:focus,
.gform_wrapper.gform-theme--orbital input[type="email"]:focus,
.gform_wrapper.gform-theme--orbital input[type="tel"]:focus,
.gform_wrapper.gform-theme--orbital select:focus {
  border-bottom-color: var(--wp--preset--color--lumina) !important;
  outline: none !important;
}

/* Select-fält: undvik textklippning/radbrytning på iOS Safari m.fl. */
.gform_wrapper.gform-theme--orbital select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#input_1_7_6_container {
	inline-size: 100% !important;
}

.gform_wrapper.gform-theme .gform_validation_errors {
	display: none !important;
}

.gform_wrapper.gform-theme .gfield_description.validation_message {
	color: var(--wp--preset--color--champagne) !important;
}

.gform_wrapper.gform-theme .gform_confirmation_message {
	color: var(--wp--preset--color--champagne) !important;
	text-align: center;
	margin-top: 90px;
	margin-bottom: 90px;
	padding-top: 20px;
}
.gform_wrapper.gform-theme .gform_confirmation_message::before {
	content: "";
	height: 1px;
	width: 64px;
	background-color: var(--wp--preset--color--lumina);
	display: inline-block;
}
.gform_wrapper.gform-theme .gform_confirmation_message h2 {
	font-size: 28px;
	font-weight: 300;
	color: var(--wp--preset--color--white-translucent);
}
.gform_wrapper.gform-theme .gform_confirmation_message p {
	font-size: 16px;
}

.gform_wrapper.gform-theme .gform-footer {
	padding-top: 20px !important;
}







.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



footer a.wp-block-navigation-item__content {
	text-decoration: none !important;
	outline: 0 !important;
	transition: all 0.5s ease;
}

footer a.wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--champagne) !important;
}