/* =========================================================================
   STARTSIDAN – hero, "vad vi gör", case-karusell, nyheter och kontakt
   ========================================================================= */

/* STARTSIDA */

.indexBtn {
	background-color: white !important;
    border: solid 1px black !important;
    color: black !important;
}

.indexBtn:hover {
	background-color: var(--rippler-green) !important;
    border: solid 1px black !important;
    color: white !important;
}

/* HERO */

#hero {
	background: white;
	position: relative;
    width: 100%;
    height: fit-content;
}

#hero #videoContainer {
	position: relative;
    width: 100%;
    height: 100%;
}

#hero #videoContainer video {
	height: 100%;
    width: 100%;
}

#heroShadow {
	background: black;
	opacity: 0;
	position: absolute;
	top: 0;
}

/* whatWeDo2 */
#whatWeDo2 {
	display: flex;
    min-height: 370px;
    overflow: hidden;
    position: relative;
    align-items: flex-end;
}

#whatWeDo2 .exampleContainer2 {
	display: flex;
    width: 100%;
	height: 300px;
    overflow-x: scroll;
    cursor: grab;
	user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    align-items: center;
}

#whatWeDo2 .exampleContainer2:active {
    cursor: grabbing; /* Change cursor to grabbing when dragging */
}

#whatWeDo2 .exampleContainer2 .example2 {
	min-height: 240px;
    width: 465px;
    max-width: 465px;
    padding: 40px 40px 40px 40px;
    flex-shrink: 0;
	margin-left: 40px;
	border-radius: 20px;
    box-shadow: #00000024 0px 0px 10px 0px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background: white;
}

#whatWeDo2 .exampleContainer2 .example2:hover {
    transform: scale(1.05); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
}

#whatWeDo2 .exampleContainer2 .example2 h2 {
	font-size: 24px;
    line-height: 1;
    letter-spacing: 0px;
    color: #000000;
}

#whatWeDo2 .exampleContainer2 .example2 p {
    font-size: 20px;
	color: #000000;
}

#whatWeDo2 .exampleContainer2 .example2 h2, 
#whatWeDo2 .exampleContainer2 .example2 p {
    pointer-events: none; 
}

/* Hide scrollbar for Chrome, Safari, and Opera */
#whatWeDo2 .exampleContainer2::-webkit-scrollbar {
    display: none; /* Hide the scrollbar */
}

/* Hide scrollbar for IE, Edge, and Firefox */
#whatWeDo2 .exampleContainer2 {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* CASE */

#case {
	position: relative;
    margin: 0 10% 80px 10%;
    margin: 80px 5% 80px 5%;
}

#case a {
	display: block;
	width: fit-content;
	text-decoration: none !important;
}

.case:hover .img-container img{
	border: transparent;
	border-radius: 15px;
}

#case .text-container {
    position: relative;
    display: flex;
    font-size: 26px;
    line-height: 52.8px;
    text-align: center;
    color: black;
    align-items: center;
    justify-content: center;
	margin-bottom: 52px;
}

#case .text-container h2 {
    margin: 0;
    width: 100%;
    margin-left: 30px;
    text-align: left;
    font-size: 50px;
}

#case .case-container {
    position: relative;
    height: fit-content;    
	width: 100%;
    max-width: fit-content;
    display: flex;
    overflow: auto;
    scroll-behavior: smooth;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
	scrollbar-width: none;
    -ms-overflow-style: none;
	gap: 20px;
}

#case .case-container::-webkit-scrollbar {
    display: none;
}

#case .case-container .case .img-container {
    position: relative;
    min-width: unset;
    min-width: 450px;
    width: fit-content;
    width: 30vw;
    min-height: unset;
    min-height: 450px;
    height: 30vw;
	transition: border-radius 1s ease;
}

#case .case-container .case .img-container-case {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#case .case-container .case .img-container-case span {
	display: block;
	color: black;
}


#case .case-container .case .case-container-top {
    position: absolute;
    z-index: 15;
    margin: 16px 16px;
    background-color: white;
    padding: 8px 16px 6px 16px;
    border-radius: 50px;
	opacity: 0;
	transition: opacity 1s ease;
}

#case .case-container .case:hover .case-container-top {
	opacity: 1;
}

#case .case-container .case .case-container-top p{
    margin: 0;
    font-size: 12px;
    color: black;
    line-height: 1.3;
}

#case .case-container .case .img-container img {
	position: relative;
    position: absolute;
    height: 100%;
	width: auto;
	width: 100%;
	max-width: unset;
	max-width: 100%;
    z-index: 2;
    transition: all 0.5s ease;
	object-fit: cover;
}

#case .case-container .case span{
    display: none;
    font-size: 20px;
    padding: 5%;
    color: white;
}

#case .case-container .case h3{
    font-size: 20px;
    color: black;
	display: none;
}

.slide-btns {
	display: flex;
    margin: 40px 0;
    align-items: center;
	justify-content: space-between;
}

#prev-case {
	width: fit-content;
	cursor: pointer;
}

#nxt-case {
	width: fit-content;
	margin-left: 20px;
	cursor: pointer;
}

#prev-case svg{
    height: 35px;
	width: auto;
}

#nxt-case svg{
    height: 35px;
	width: auto;
}

#nxt-case svg {
	transform:rotatey(180deg);
}

#case button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 transparent;
}


#news {
	display: block;
}

#news .news-container {
	display: flex;
	flex-direction: column;
	margin: 0 5% 0 5%;
}

#news .news-container ul {
	padding: 0;
}

#news .news-container .post-container {
    min-height: 60px;
    display: flex;
    align-items: center;
	border-bottom: 2px solid #00000045;
}

#news .news-container ul .post-thumbnail {
	display: none;
}

#news .news-container ul .post-tags {
	display: none;
}

#news .news-container ul h3 {
	font-size: 24px;
	font-weight: 400;
}

#news .news-container ul a {
	text-decoration: none;
}

.allNews {
	font-size: 24px;
	margin-top: 20px;
}

/* CONTACT */

#contact {
	margin: 80px 5% 80px 5%;
    display: flex;
    justify-content: center;
    background: url("/wp-content/uploads/2025/11/Har.png");
    background-size: cover;
    background-position: center;
    height: 575px;
}

#contact .bannerTextContainer {
	padding: 90px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact .bannerTextContainer span {
    font-size: 24px;
    font-weight: bold;
    padding: 0 18% 35px 18%;
    color: white;
    text-align: center;
    line-height: 1.2;
    max-width: 1300px;
}

#contact a {
    font-size: 24px;
    color: white;
    font-weight: bold;
    margin: 0 100px;
    vertical-align: middle;
}

/* MAP */
.linkArrow {
	height: 20px;
    width: auto;
    padding-left: 10px;
	text-decoration: none;
}

.linkArrow path:hover {
	fill: var(--e-global-color-162d076);	
}

.linkArrowDark{
	height: 20px;
    width: auto;
    padding-left: 10px;
}

.linkArrowDark path {
	fill: black;
}

@media (max-width: 1366px) {
	#hero {
		position: relative;
		width: 100%;
		height: fit-content;
	}

	#hero #videoContainer {
		position: relative;
		width: 100%;
		height: 100%;
		max-height: calc(100vh - 70px);
	}

	#hero #videoContainer video {
		height: 100%;
		max-height: calc(100vh - 70px);
		width: 100%;
	}
}

@media (max-width: 1050px) {
	
	#contact a {
		margin: 0 50px;
	}
}

@media (max-width: 767px) {
	
	#hero {
		position: relative;
		width: 100%;
		height: fit-content;
		margin-top: 70px;
	}

	#hero #videoContainer {
		position: relative;
		width: 100%;
		height: fit-content;
	}

	#hero #videoContainer video {
		height: auto;
		width: 100%;
	}
	
	#whatWeDo2 {
		margin-bottom: 40px;
	}
	
	#whatWeDo2 .exampleContainer2 .example2 {
        min-height: fit-content;
        height: 230px;
        width: 250px;
        padding: 20px 20px 20px 20px;
	}
	
	
	#whatWeDo2 .exampleContainer2 .example2 h3 {
		font-size: 20px;
	}
	
	#whatWeDo2 .exampleContainer2 .example2 p {
		font-size: 16px;
	}
	
	#case .case-container .case .img-container {
		min-width: 300px;
		min-height: 300px;
	}
	
	#case .case-container .case h3 {
		font-size: 18px;
	}
	
	#news .news-container ul h3 {
		font-size: 20px;
	}
	
	#contact img {
		width: 100%;
	}
	
	#contact .hittaOss {
		display: none;
	}
	
}
