/* HEADER CUSTOM */

.custom-widget-container {
	display: flex;

	width: 100%;
}

.custom-widget-posts {
	display: flex;

	flex-direction: column;

	width: 70%;
}

.custom-widget-posts-video {
	width: 65%;
}

.custom-video-widget-wrapper {
	width: 50%;
}

.custom-widget-text-container,
.second-custom-widget-text-container,
.page-header-text-container {
	display: flex;

	width: 30%;
}

.custom-widget-text {
	padding: 50px;

	display: flex;

	flex-direction: column;

	justify-content: flex-end;

	align-items: flex-start;

	height: 100%;

	height: 745px;
}

.custom-widget-text-video-container {
	width: 60%;

	flex-direction: column;
}

.button-container {
	display: flex;

	justify-content: center;

	align-items: center;

	flex: 1;
}

.custom-widget-text-video {
	background-color: #eaeaea75;
}

.custom-widget-text-video p {
	margin: 0 0 44px 0;
}

.custom-widget-space {
	width: 20%;
}

.custom-widget-text h1 {
	font-size: 48px;
}

.custom-widget-text-video h1 {
	position: absolute;

	width: 540px;

	left: 122px;

	overflow: hidden;

	text-overflow: ellipsis;

	display: -webkit-box;

	-webkit-line-clamp: 3;

	line-clamp: 3;

	-webkit-box-orient: vertical;
}

.custom-widget-excerpt-video {
	width: 100%;

	display: flex;

	justify-content: flex-end;
}

.custom-widget-excerpt-video .excerpt-paragraph {
	position: absolute;

	width: 366px;

	margin: 70px 0 0 0;

	left: 287px;

	overflow: hidden;

	text-overflow: ellipsis;

	display: -webkit-box;

	-webkit-line-clamp: 3;

	line-clamp: 3;

	-webkit-box-orient: vertical;
}

.custom-widget-text p {
	font-size: 22px;

	color: #656a77;
}

.big-post,
.big-post-second,
.page-header-image {
	background-size: cover;

	background-repeat: no-repeat;

	height: 745px;

	display: flex;
}

.big-post {
	background-position: center center;
}

.big-post-info-conatiner,
.page-header-wrapper {
	display: flex;

	flex-direction: column;

	justify-content: flex-end;

	align-items: flex-start;

	height: 100%;

	padding: 50px;

	width: 60%;
}

.big-post-info-conatiner-mobile,
.page-header-wrapper-mobile {
	display: none;
}

.big-post-info-conatiner h2 {
	font-size: 48px !important;

	font-weight: 700 !important;
}

.big-post-info-conatiner p {
	font-size: 22px;

	margin: 0 0 44px 0;
}

.read-more-button,
.read-more-button-second {
	width: 250px;

	height: 50px;

	display: flex;

	justify-content: center;

	align-items: center;

	background: #792777;
}

.read-more-button-text,
.read-more-button-img,
.read-more-button-text-second,
.read-more-button-img-second {
	display: flex;

	justify-content: center;

	align-items: center;

	height: 100%;
}

.read-more-button-text,
.read-more-button-text-second {
	width: 200px;

	color: #fff;

	font-weight: 700;

	font-size: 12px;
}

.read-more-button-img,
.read-more-button-img-second {
	width: 50px;
}

.read-more-button-img img,
.read-more-button-img-second img {
	width: 15px;
}

.big-post-play-conatiner {
	display: flex;

	flex: 1;

	justify-content: flex-end;

	align-items: flex-end;
}

.big-post-play-conatiner img {
	max-width: 120px !important;

	width: 120px !important;

	height: 120px !important;
}

.big-post-play-conatiner-mobile {
	display: none;
}

.small-post-number {
	color: #15181f;
	word-break: normal;
	font-size: 18px;
	margin: 0;
	font-weight: 600;
}

.small-post-number-news {
	color: #787d88;
	font-size: 24px;
	font-weight: 700;
	margin: 0px 0px 20px 0px;
}

.latest-post-container /*.small-post-number*/ {
	font-size: 18px;
	margin: 20px 0 10px 0;
}

/* .post-thumbnail {
	height: 200px;
} */
.small-post-number-video {
	color: #008ab4;
}

.small-post-title {
	/* color: #1d212c !important; */
	color: #000;

	font-size: 18px !important;
}

.small-posts-video .small-post-title.small-post-title-video {
	color: #ffffff !important;
}

.small-post-cat-container {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
}

.small-post-cat {
	color: #656a77;

	font-size: 14px;

	margin: 0;
}

.latest-post-container .small-post-cat {
	font-size: 16px;
}

.big-post img {
	max-width: 100%;

	height: auto;
}

.small-posts {
	display: flex;
}

.small-posts-video {
	background-color: #282d34;
}

.small-post {
	font-size: 18px;

	cursor: pointer;

	flex: 1;

	padding: 37px 60px 10px 0;
}

.small-posts-video .small-post {
	padding: 60px 60px 60px 60px;
}

/* SECOND CUSTOM */

.img-boxes-container {
	margin: 80px 0 0 0;

	/* height: 65vh; */

	display: flex;
}

.text-container {
	width: 49%;

	display: flex;

	justify-content: flex-end;
}

.text-container-wrapper {
	width: 70%;

	display: flex;

	flex-direction: column;

	justify-content: center;

	padding: 0 150px 0 0;
}

.text-container-wrapper h2 {
	font-size: 40px;
}

.text-container-wrapper p {
	font-size: 18px;

	color: #535353;
}

.image-container {
	width: 100%;

	display: flex;
	flex-direction: column;

	justify-content: center;

	position: relative;
}

.custom-html-widget-blue {
	height: 622px;

	width: 638px;

	background-color: #1b6f96;

	opacity: 46%;

	position: absolute;

	z-index: -1;

	left: 0;

	top: -102px;
}

.custom-html-widget-purple {
	height: 240px;

	width: 240px;

	background-color: #792777;

	opacity: 56%;

	position: absolute;

	bottom: -88px;

	right: -131px;

	z-index: -1;
}

.custom-html-widget-image {
	width: 960px;

	height: auto !important;

	margin: 0 0 0 120px;
}

/* SECOND CUSTOM POST */

.second-custom-widget-posts,
.page-header-container {
	display: flex;

	width: 100%;
}

.big-post-small-post-container {
	width: 70%;
}

.second-big-post-small-post-container,
.page-header-image-container {
	width: 100%;
}

.big-post-info-conatiner.second-big-post-info-conatiner,
.page-header-wrapper {
	justify-content: center;

	height: 745px;

	padding: 0 90px 0 0;
	width: 300px;
}

.page-header-wrapper {
	height: auto;
}

.second-big-post-title-conatiner,
.page-header-title-conatiner {
	margin: 0 0 30px 0;

	/* height: 200px; */
}

.second-big-post-title-conatiner h1,
.page-header-title-conatiner h1 {
	position: relative;

	width: 725px;

	font-size: 60px !important;
}

.second-big-post-title-conatiner h1 span,
.page-header-title-conatiner h1 span {
	background: #792777;

	/* color: #000; */

	padding: 10px 30px;

	-webkit-box-decoration-break: clone;

	box-decoration-break: clone;

	line-height: 80px;

	overflow: hidden;

	text-overflow: ellipsis;

	display: -webkit-box;

	-webkit-line-clamp: 3;

	line-clamp: 3;

	-webkit-box-orient: vertical;
}

.big-post-info-conatiner.second-big-post-info-conatiner p {
	font-size: 14px;

	color: #535353;
}

.page-header-wrapper p {
	font-size: 22px;
	color: #535353;
}

.big-post-info-conatiner.second-big-post-info-conatiner .author {
	text-transform: uppercase;

	font-weight: 700;

	font-size: 15px;

	color: #181c27;
}

/* HIGHLIGHTS POSTS */

.latest-post-container {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

/* .latest-post .post-thumbnail img {
	width: 388px !important;
	height: 200px !important;
	object-fit: cover;
} */

.latest-post .post-thumbnail img {
	width: 100%;
	height: auto; /* låt höjden följa med */
	aspect-ratio: 194 / 100; /* ~388x200 proportion */
	object-fit: cover;
	max-width: 100%;
}

.latest-post:hover .post-thumbnail,
.latest-post:hover .small-post-title-container {
	opacity: 80%;
}

.elementor-spacer {
	display: none;
}

.post-title h2 {
	color: #15181f !important;
	font-weight: 600;
	font-size: 16px !important;
}

.latest-post-container .post-title h2 {
	font-size: 18px !important;
	margin: 2px 0 0 0;
}

.small-post-title-container {
	display: flex;
	gap: 10px;
	align-items: start;
	justify-content: start;
	margin: 20px 0px 15px 0px;
}

.post-cat-container {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.small-post-cat-link {
	padding: 5px 10px 5px 10px;
	color: #000000 !important;
	font-size: 12px;
	margin: 0px;
	border: solid 1.5px #a7a7a7;
	font-weight: 400 !important;
}

.small-post-cat-link:hover,
.show-categories a:hover {
	background-color: #a7a7a7;
	color: white !important;
}

.uc_post_list_content_inside {
	display: flex;
	flex-direction: column;
}

.uc_post_list_title {
	order: 1;
}
.ue-grid-item-category {
	order: 2; /* detta är där kategorierna ligger */
	margin-top: 10px;
}
.uc_post_list_image {
	height: 270px !important;
}

/* CUSTOM BUTTON */

.custom-button,
.custom-news-button {
	display: flex;

	gap: 1px;
}

.custom-button-text {
	display: flex;

	justify-content: center;

	align-items: center;

	width: 200px;

	height: 50px;

	color: #fff;

	font-weight: 700;

	font-size: 12px;

	background-color: #792777;
}

.custom-button-img {
	display: flex;

	justify-content: center;

	align-items: center;

	width: 50px;

	height: 50px;

	background-color: #792777;
}

.custom-button-img img {
	width: 15px;
}

/* FORM HEADER */

.header-without-image-title-container {
	margin: 50px 0 0 0;
	width: 100%;
}

.header-without-image-title-wrapper {
	width: 750px;
	margin: 0 0 0 150px;
}

.header-without-image-title-container h1 {
	font-size: 60px;
}

.form-header-conatiner,
.header-without-image-container {
	display: flex;

	flex-direction: column;

	width: 100%;

	height: 272px;
}

.form-header-wrapper,
.header-without-image-wrapper {
	display: flex;

	width: 100%;

	height: 100%;
}

.first-form-header-wrapper,
.first-header-without-image-wrapper {
	width: 25%;

	height: 100%;
}

.form-header-square,
.header-without-image-square {
	height: 50%;

	width: 100%;

	background: rgba(121, 39, 119, 0.46);
}

.second-form-header-wrapper,
.second-header-without-image-wrapper {
	width: 10%;

	height: 100%;

	display: flex;

	align-items: end;
}

.form-header-symbol,
.header-without-image-symbol {
	background: #eceaea;

	height: 50%;

	width: 100%;
}

.third-form-header-wrapper {
	width: 65%;
}

.form-header-img {
	height: 100%;

	width: 100%;

	background-repeat: no-repeat;

	background-size: cover;
}

.form-header-title-container {
	display: flex;

	height: 50px;
}

.form-header-title-wrapper {
	position: absolute;

	background: #792777;

	padding: 4px 40px;

	left: 160px;
	max-width: 50%;
	/* bottom: -28px; */
	bottom: -38px;
}

.form-header-title-wrapper h1 {
	font-size: 60px;

	color: #fff !important;
}

/* CA PLAY */

.elementor-widget-play_header {
	width: 100%;
}

.play-header {
	display: flex;
	width: 100%;
	min-height: 600px;
	gap: 40px;
	overflow: hidden;
}

.play-header__content {
	display: flex;
	flex-direction: column;
	width: 30%;
	gap: 20px;
}

.play-header__title {
	font-size: 40px;
	line-height: 56px !important;
}

.play-header__description {
	font-size: 14px;
	color: #535353;
}

.play-header__categories {
	display: flex;
	gap: 5px;
	margin: 0 0 20px 0;
}

.play-header__category {
	color: #000 !important;
	font-size: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
	/* background: #e5e5e5; */
	/* border-radius: 7px; */
	/* padding: 6px 20px 4px 20px; */
	padding: 10px 20px;
	border: solid 1.5px #a7a7a7;
	font-weight: 400 !important;
}
.play-header__category:hover {
	background-color: #a7a7a7;
	color: white !important;
}

.play-header__video {
	display: flex;
	width: 70%;
}

.play-header__video > div {
	width: 100%;
}

.categories-container {
	display: flex;
	gap: 5px;
	margin: 0 0 70px 0;
	flex-wrap: wrap;
}

.all-category.play-header__category {
	padding: 8px 30px 6px 30px;
	font-size: 16px;
}

.elementor-widget-play_grid {
	width: 100%;
}

.video-container {
	margin-bottom: 100px;
}

.video-category-container {
	display: flex;
	flex-direction: column;
	margin-bottom: 30px;
}

.category-box {
	background: #008ab5;
	padding: 14px 30px 9px 30px;
	width: fit-content;
}

.category-box h2 {
	color: #ffffff !important;
	font-size: 24px !important;
	margin: 0;
}

.category-line {
	display: inline-block;
	height: 5px;
	background: #008ab5;
	width: auto;
	min-width: 30px; /* valfritt, ser ofta bättre ut */
}

.video-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.featured-video h2 {
	font-size: 40px !important;
	margin: 15px 0 10px;
}

.featured-video h2 a {
	color: #15181f !important;
}

.featured-video p {
	color: #535353;
	font-size: 14px;
}

.video-sidebar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.video-card,
.featured-video {
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.video-card img {
	width: 100%;
	height: auto;
}

.video-card h3 {
	font-size: 20px !important;
	margin: 10px 0 5px;
}

.video-card h3 a {
	color: #15181f !important;
}

.video-card .category {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.video-card .category a {
	font-size: 14px;
	font-weight: 500 !important;
	color: #535353;
}

.more-button-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 50px;
}

#load-more-videos {
	width: 240px;
	height: 56px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	border: #bfc3cf 1px solid;
	font-size: 12px;
	font-weight: 700;
	color: #181c27;
}

.load-more-videos {
	width: 240px;
	height: 56px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	border: #bfc3cf 1px solid;
	font-size: 12px;
	font-weight: 700;
	color: #181c27;
}

.load-more-videos:hover {
	background-color: #008ab5;
	color: white;
}

.disclaimer-start {
	font-size: 12px;
	margin-top: 5px;
	margin-bottom: 0px;
	font-style: italic;
}

.item-description-wrapper p {
	margin-bottom: 20px;
}

.custom-news-video-disclaimer {
	font-size: 12px !important;
	margin: 0px;
	padding-left: 120px;
	font-style: italic;
}

@media (max-width: 1703px) {
	.custom-widget-text-video-container,
	.small-posts-video,
	.custom-video-widget-wrapper {
		display: none;
	}

	.big-post-info-video-conatiner-mobile {
		display: flex;

		flex-direction: column;

		height: auto;

		width: 100%;

		padding: 35px;
	}

	.custom-widget-posts-video {
		width: 100%;
	}
}

@media (max-width: 1203px) {
	.play-header {
		flex-direction: column-reverse;
		height: auto;
		padding: 10px;
		gap: 20px;
	}

	.play-header__title,
	.featured-video h2 {
		font-size: 20px !important;
		line-height: 32px !important;
	}

	.video-grid {
		grid-template-columns: 1fr;
	}
	.disclaimer-start {
		padding-left: 20px;
	}

	.ai-disclaimer {
		padding-left: 35px;
		font-style: italic;
		margin-top: 5px !important;
	}

	.play-header__video,
	.featured-video,
	.play-header__content {
		width: 100%;
	}

	.play-header__content {
		gap: 10px;
	}

	.video-container,
	.categories-container {
		padding: 10px;
	}

	.first-form-header-wrapper,
	.second-form-header-wrapper {
		display: none;
	}

	.third-form-header-wrapper {
		width: 100%;
	}

	.form-header-title-wrapper {
		position: static;

		width: 100%;

		display: flex;

		justify-content: center;

		align-items: center;
	}

	.form-header-title-container {
		height: auto;
	}

	.form-header-title-wrapper h1 {
		font-size: 40px;
	}

	.big-post-info-conatiner-mobile.second-big-post-info-conatiner-mobile {
		display: flex;

		flex-direction: column;

		height: auto;

		width: 100%;

		padding: 35px;
	}

	.page-header-wrapper-mobile {
		display: flex;

		flex-direction: column;

		height: auto;

		width: 100%;

		padding: 17.5px 35px 35px 35px;
	}

	.second-custom-widget-text-container,
	.page-header-text-container {
		display: none;
	}

	.second-big-post-small-post-container .small-posts {
		display: none;
	}
	.custom-widget-container {
		padding: 0px;
	}
}

@media (max-width: 950px) {
	.small-posts:not(.small-posts-video),
	.big-post-info-conatiner,
	.page-header-wrapper,
	.big-post-play-conatiner {
		display: none;
	}

	.big-post-info-conatiner-mobile:not(.big-post-info-video-conatiner-mobile) {
		display: flex;

		flex-direction: column;

		height: auto;

		width: 100%;

		padding: 30px;
	}
	.disclaimer-start {
		padding-left: 30px;
	}
	.big-post-play-conatiner-mobile {
		display: flex;

		flex: 1;

		justify-content: flex-end;

		align-items: flex-end;
	}

	.big-post-play-conatiner-mobile img {
		max-width: 72px !important;

		width: 72px !important;

		height: 72px !important;
	}

	.big-post,
	.big-post-second,
	.page-header-image {
		height: 420px;

		display: flex;
	}

	.big-post-info-conatiner-mobile h2,
	.second-big-post-info-conatiner-mobile h1,
	.page-header-wrapper-mobile h1 {
		font-size: 40px;

		font-weight: 700;

		line-height: 1.3 !important;
	}

	.big-post-info-conatiner-mobile p {
		font-size: 16px;

		margin: 0 0 23px 0;
	}

	.read-more-button {
		width: 250px;

		height: 50px;

		display: flex;

		justify-content: center;

		align-items: center;

		background: #792777;
	}

	.text-container-wrapper {
		width: 95% !important;
	}

	.text-container-wrapper h2 {
		font-size: 24px !important;
	}

	.text-container-wrapper p {
		font-size: 16px;
	}

	.form-header-conatiner {
		height: 10vh;
	}

	.form-header-title-wrapper h1 {
		font-size: 22px;
	}

	/* .img-boxes-container {

    height: 90vh !important;

  } */

	.img-boxes-container {
		flex-direction: column;
	}

	.text-container-wrapper {
		padding: 30px;
	}

	h1,
	h2 {
		line-height: 1.3 !important;
	}

	.big-post,
	.big-post-second {
		height: 30vh !important;
	}

	.page-header-image {
		height: 50vh !important;
	}
	.form-header-title-wrapper {
		padding: 4px;
	}
	.custom-news-video-title {
		margin-top: 20px;
	}
	.custom-news-video-disclaimer {
		padding-left: 35px;
	}
}

@media (max-width: 1550px) {
	.custom-widget-posts,
	.second-custom-widget-posts,
	.page-header-container {
		width: 100%;
	}

	.custom-widget-text-container {
		width: 100%;
	}

	.custom-widget-text {
		height: auto;
		padding: 30px;
	}

	.custom-widget-text p {
		font-size: 16px;
	}

	.big-post-info-conatiner-mobile h2 {
		font-size: 24px !important;
	}

	.custom-widget-container {
		flex-direction: column;
	}

	/* SECOND CUSTOM */

	.custom-html-widget-purple,
	.custom-html-widget-blue {
		display: none;
	}

	.img-boxes-container {
		/* flex-direction: column; */

		margin: 0 0 0 0;
	}

	.custom-html-widget-image {
		margin: 0;
	}

	.custom-html-widget-image {
		width: 100%;
	}

	.text-container {
		width: 100%;

		justify-content: center;
	}

	.text-container-wrapper {
		padding: 0;

		width: 83%;

		background: #fff;
	}

	.small-posts {
		padding: 0 0 0 20px;
	}

	/* .big-post, */
	.big-post-second,
	.page-header-image {
		height: 70vh;
	}
}
@media (max-width: 1340px) {
	.custom-widget-container {
		margin: 0px 40px 0px 40px;
	}
}

@media (max-width: 1203px) {
	.custom-widget-container {
		margin: 0px;
	}
	.custom-widget-container {
		padding: 0px 60px;
	}
	.custom-widget-text {
		padding: 30px 0px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.video-grid {
		grid-template-columns: 1fr;
	}

	.video-sidebar {
		grid-template-columns: 1fr;
	}
	/* Matilda har lagt in för padding på första sidan */
	.text-container-wrapper {
		padding: 0px 20px;
	}
	.play-header {
		min-height: auto;
	}
	/*Matilda har lagt till*/
	.category-item {
		width: 100%;
	}
	.all-category.play-header__category {
		width: 100%;
	}
	.categories-container {
		margin-bottom: 30px;
	}
	.video-container {
		margin-bottom: 50px;
	}
	.header-without-image-title-wrapper {
		width: auto;
		margin: 0;
		padding: 20px;
	}
	.header-without-image-title-wrapper h1 {
		font-size: 32px;
	}
	.header-without-image-title-container {
		margin: 0;
	}
	.header-without-image-container {
		height: 66px;
	}
	.custom-news-video-disclaimer {
		padding-left: 30px;
	}
	.custom-widget-container {
		padding: 0px;
	}
	.custom-widget-text {
		padding: 30px;
	}
	.custom-widget-text h1 {
		font-size: 32px;
	}
}
