/*
Theme Name:   Voxel (child theme)
Theme URI:    https://getvoxel.io/
Author:       27collective
Author URI:   https://27collective.net/
Template:     voxel
Version:      1.0
Text Domain:  voxel-child
*/

body.wp-theme-voxel {
  --e-global-typography-text-font-family: "TikTok Sans Light", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --e-global-typography-primary-font-family: "TikTok Sans Light", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --e-global-typography-secondary-font-family: "TikTok Sans Light", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --e-global-typography-accent-font-family: "TikTok Sans Light", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  font-family: "TikTok Sans Light", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

b, strong {
    font-weight: 600!important;
}

.go-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: opacity 0.15s;
}

.elementor .e-button-base {
    border-radius: 100px!important;
	justify-content: center;
    align-items: center!important;
}

.elementor .button-size-large {
    height: 48px;
	line-height: 24px;
    font-weight: 500;
    font-size: 1rem;
    padding-block-start: 12px;
    padding-block-end: 12px;
    padding-inline-start: 20px;
    padding-inline-end: 20px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center!important;
}

.elementor .button-color-accent {
    color: var(--white);
    background-color: var(--accent);
}

.button-shine {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.button-shine::before {
	content: "";
	position: absolute;
	top: 0;
	left: -85%;
	width: 55%;
	height: 100%;
	background: linear-gradient(
		115deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.10) 35%,
		rgba(255, 255, 255, 0.28) 50%,
		rgba(255, 255, 255, 0.10) 65%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(-18deg);
	animation: shine-sweep-airbnb 5.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
	pointer-events: none;
	z-index: 1;
}

.button-shine {
	z-index: 0;
}

.button-action a.ts-action-con, .button-action .ts-action-con, .button-action .ts-action>.ts-action-con, .button-action .ts-action>.ts-action-wrap>.ts-action-con {
    padding: 7px 16px 7px 16px;
    height: 32px;
	background-color: var(--subtle);
    border-radius: 100px;
	color: var(--dark);
	--ts-icon-color: var(--dark);
	font-size: 0.875rem;
    font-weight: 500;
}
.button-action .ts-action .ts-action-icon {
	--ts-icon-color: var(--dark);
}

.button-action a.ts-action-con .ts-action-icon, .button-action .ts-action-con .ts-action-icon {
    --ts-icon-size: 16px;
}
.button-action .ts-action-con, .button-action span.ts-initial {
    grid-gap: 6px;
}

@media (max-width: 767px) {
.button-action a.ts-action-con, .button-action .ts-action-con, .button-action .ts-action>.ts-action-con, .button-action .ts-action>.ts-action-wrap>.ts-action-con {
    font-size: 0px;
}
.button-action .ts-action-con, .button-action span.ts-initial {
    grid-gap: 0px;
}
}

/* V2 */

.button-actions a.ts-action-con, .button-actions .ts-action-con, .button-actions .ts-action>.ts-action-con, .button-actions .ts-action>.ts-action-wrap>.ts-action-con {
    padding: 7px 16px 7px 16px;
    height: 40px;
	background-color: var(--white);
    border-radius: 5px;
	border: 1px solid var(--border);
	color: var(--dark);
	--ts-icon-color: var(--dark);
	font-size: 0.875rem;
    font-weight: 500;
	--tw-shadow: 0 1px 4px 0 #0000001a;
    box-shadow: 0 1px 4px 0 #0000001a;
}
.button-actions a.ts-action-con:hover, .button-actions .ts-action-con:hover, .button-actions .ts-action>.ts-action-con:hover, .button-actions .ts-action>.ts-action-wrap>.ts-action-con:hover {
	border-color: var(--dark);
}
.button-actions .ts-action .ts-action-icon {
	--ts-icon-color: var(--dark);
}

.button-actions a.ts-action-con .ts-action-icon, .button-actions .ts-action-con .ts-action-icon {
    --ts-icon-size: 16px;
}
.button-actions .ts-action-con, .button-actions span.ts-initial {
    grid-gap: 6px;
}

@media (max-width: 767px) {
.button-actions a.ts-action-con, .button-actions .ts-action-con, .button-actions .ts-action>.ts-action-con, .button-actions .ts-action>.ts-action-wrap>.ts-action-con {
    font-size: 0px;
}
.button-actions .ts-action-con, .button-actions span.ts-initial {
    grid-gap: 0px;
}
}


.button-dialog button.vx-native-dialog__trigger.ts-btn.ts-btn-1 {
	border: 1px solid var(--border);
    color: var(--dark);
	width: 100%;
    border-radius: 4px;
    height: 54px;
    font-size: 1rem;
    font-weight: 500;
	--tw-shadow: 0 1px 4px 0 #0000001a;
    box-shadow: 0 1px 4px 0 #0000001a;
}


@keyframes shine-sweep-airbnb {
	0% {
		left: -85%;
	}

	42% {
		left: 130%;
	}

	100% {
		left: 130%;
	}
}

.attributes span:not(:last-child):after {
    content: "·";
    margin: 0 8px;
    position: relative;
}
.attributes-tigher span:not(:last-child):after {
    content: "·";
    margin: 0 4px;
    position: relative;
}
.attributes-space span:not(:last-child):after {
    content: " ";
    margin: 0 8px;
    position: relative;
}
.bullet-list {
    font-size: 1rem;
    color: var(--secondary);
}



.listing-meta {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  color: var(--dark);
}

.listing-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.listing-item dt,
.listing-item dd {
  margin: 0;
  min-width: 0;
}

.listing-item dt {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
}

.listing-item dd {
  font-size: 1rem;
  line-height: 1.25;
  text-align: right;
	font-weight: 500;
  white-space: nowrap;
}

.listing-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
  display: block;
  opacity: .75;
}

@media (max-width: 767px) {
  .listing-meta {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .listing-item {
    gap: 20px;
  }

  .listing-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}

/* Listing meta V2 */

.listing-meta-v2 {
    display: flex;
    flex-direction: column;
    gap: 20px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.listing-item-v2 {
    display: flex;
    align-items: center;
    gap: 14px;

    margin: 0;
    padding: 0;
}

.listing-icon-v2 {
    width: 21px;
    height: 21px;

    flex: 0 0 21px;

    fill: currentColor;
    color: #222;
}

.listing-text-v2 {
    font-size: 16px;
    line-height: 1.4;
    color: #292929;
}

.listing-text-v2 strong {
    font-weight: 600;
}


/* Slut på Listing meta V2 */

.infogrey {
    font-size: 12px;
    color: var(--text);
    line-height: 1.35em;
    padding: 16px;
    background-color: #f1f1f1;
}



/* Standard header */

.site-header {
    color: var(--dark);
    background-color: var(--bg-light);

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.site-header a,
.site-header svg {
    color: inherit;
}


/* Header över mörk hero */

body.header-on-dark header[data-elementor-type="header"]:not(.header-scrolled) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

body.header-on-dark header[data-elementor-type="header"]:not(.header-scrolled) .site-header {
    color: var(--bg-light);
    background-color: transparent;
}

body.header-on-dark header[data-elementor-type="header"]:not(.header-scrolled) .site-header a,
body.header-on-dark header[data-elementor-type="header"]:not(.header-scrolled) .site-header svg {
    color: var(--bg-light);
}


/* Scrollad header */

header[data-elementor-type="header"].header-scrolled .site-header {
    color: var(--dark);
    background-color: var(--bg-light);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

header[data-elementor-type="header"].header-scrolled .site-header a,
header[data-elementor-type="header"].header-scrolled .site-header svg {
    color: var(--dark);
}


.post-feed-header {
	padding-top: 24px;
    padding-left: 24px;
	padding-right: 24px;
	align-items: center;
}
@media (max-width: 767px) {
.post-feed-header {
    padding-top: 16px;
	padding-left: 16px;
	padding-right: 16px;
}
}


.object-card-link:hover h3 {
	text-decoration: underline;
}

.hb-tag-small {
	padding: 0.15rem 0.25rem;
	width: auto;
	font-size: .75rem;
	font-weight: 500;
	line-height: 1.0125rem;
	border-radius: 4px;
    align-self: start;
	width: fit-content;
	gap: 4px;
    display: flex;
	align-items: center;
}
.hb-tag-medium {
	padding: 0.25rem 0.5rem;
	width: auto;
	font-size: .875rem;
	font-weight: 500;
	line-height: 1.18125rem;
	border-radius: 4px;
    align-self: start;
	width: fit-content;
	gap: 0.375rem;
    display: flex;
	align-items: center;
}

.hb-tag-small svg {
    width: 12px;
    height: 12px;
}
.hb-tag-medium svg {
    width: 16px;
    height: 16px;
}
.hb-tag-black {
	color: var(--white);
	fill: var(--white);
    background-color: var(--dark);
}


.object-card-link .post-feed-nav {
    opacity: 0;
	transition: opacity 0.3s ease;
}
.object-card-link:hover .post-feed-nav {
    opacity: 100;
}


ul.listing-specs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    column-gap: 3rem;
    row-gap: 1rem;
	padding-inline-start: unset;
}
ul.listing-specs span {
	line-height: 1.5rem;
}
ul.listing-specs p {
    margin-top: .125rem;
	color: var(--dark);
	line-height: 1.35rem;
	font-weight: 500;
}

@media (max-width: 767px) {
ul.listing-specs {
    column-gap: 2rem;
}	
}