/*
Theme Name: TBC Explainer
Theme URI: https://dev.logo4life.nl/tbc-explainer/
Description: Maatwerk Wordpress thema voor TBC Explainer
Version: 1.0
Author: SHOCK Digital
Author URI: https://www.shockdigital.nl/
*/
body {
    background: url(images/bg-explainer.jpg);
    background-size: cover;
   	min-height: 100dvh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    font-family: "League Spartan", serif;
    gap: 25px;    
    background-repeat: no-repeat;
    background-position-y: bottom;
}
button{
	font-family: "League Spartan", serif;
}
body .is-layout-flex {
	margin: 0;
	word-break: break-word;
}

html {
	scroll-behavior: smooth;
	word-break: break-word;
}

img {
	width: 100%;
	height: auto;
}

ul {
	margin: 0;
	padding:0;
}

ul li::marker {
	color: #00244F;
}

a {
	text-decoration: none;
	color: #00244F;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	color: #00244F;
	margin: 0;
}

h1 {
	font-weight: 700;
	font-size: 51px;
	line-height: 46.92px;
	letter-spacing: 2.05px;
}

h2 {
	font-weight: 700;
	font-size: 30px;
	line-height: 27.6px;
	letter-spacing: 0px;
}

h3 {
	font-size: 22px;
	line-height: 27.6px;
}

h4 {
	font-size: 18px;
	line-height: 30px;
}

img {
	vertical-align: bottom;
}

.container {
	margin: 0 auto;
	padding-right: calc((100% - 1320px) / 2);
	padding-left: calc((100% - 1320px) / 2);
	width: 100%;
	box-sizing: border-box;
}

.order-1 {
	order: 1;
}

.order-2 {
	order: 2;
}

.btn {
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
	color: #fff;
	background-color: #CDAE6A;
	transition: background-color 0.3s ease-in-out;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	text-decoration: none;
	overflow: hidden;
	padding: 12px 30px;
}

/* Homepage */
.video-section-container {
    background: #046ED6;
    padding: 40px;
    border-radius: 45px;
    max-width: 1164px;
    margin: 0 auto;
    text-align: center;
    position: relative;
	width:100%;
}
.video-header-notch {
    background: #E87D3E;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.9px;
    color: #fff;
    padding: 14px 20px 12px 20px;
    border-radius: 45px 45px 0 0;
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 216px;
    text-align: center;
    margin: 0;
}

.video-section-title {
    color: #fff;
    margin-bottom: 25px;
	text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.video-title-icon {
	display: inline-block;
    width: 45px;
    height: 45px;
    background: url(https://dev.logo4life.nl/tbc-explainer/wp-content/uploads/2025/02/play-button.svg) no-repeat center center;
    background-size: contain;
    margin: 0 2px;
    margin-bottom: 8px;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    overflow-y: auto;
    gap: 30px;
    padding: 0;
    padding-right: 20px;
   	max-height: calc(100vh - 330px);
}
.video-category-item {
    border-radius: 23px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
	border:2px solid #FFFFFF;
	height: calc((100vh - 310px - (2 * 30px)) / 2);
	box-sizing:border-box;
}
/* .video-thumbnail {
    width: 100%;
    height: calc((100vh - 330px - 30px) / 2);
	max-height: 295px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 23px;
    display: flex;
    align-items: flex-end;
	cursor:pointer;
} */
.video-grid-3x .video-category-item {
	height: calc((100vh - 330px - (3 * 30px)) / 3);
}
.video-thumbnail {
    width: 100%;
    /*height: calc((100vh - 310px - (2 * 30px)) / 2);
    max-height: 295px;*/
	height:100%;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 23px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.video-title-overlay {
   	width: 100%;
    position: absolute;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0001) 62.91%, rgba(0, 0, 0, 0.5) 100%);
    height: 100%;
}
.video-category-title {
    font-weight: 600;
    font-size: 30px;
    line-height: 27.6px;
    letter-spacing: 0px;
    margin: 0;
    text-align: left;
    color: #fff;
    position: absolute;
    width: calc(100% - 40px);
    padding: 0 20px;
    bottom: 20px;
    z-index: 10;
}
.video-count {
	position: absolute;
    top: 20px;
    right: 20px;
    background: #E87536;
    padding: 12px 16px 10px 40px;
    border-radius: 15.94px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0;
}
.video-count::before {
    content: "";
    background: url('https://dev.logo4life.nl/tbc-explainer/wp-content/uploads/2025/02/play-button.svg') no-repeat center center;
    background-size: contain;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 10px;
	top:7px;
}
.main-content-wrap-desk{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
	padding-top:60px;
}
/* Custom Scrollbar */
.video-grid::-webkit-scrollbar {
    width: 14px;
}
.video-grid::-webkit-scrollbar-track {
    background: rgba(253, 253, 253, 0.6);
    border-radius: 7px;
    margin: 10px 0;
}
.video-grid::-webkit-scrollbar-thumb {
    background: #FDFDFD;
    border-radius: 7px;
    border: 14px solid #FDFDFD;
    height: 50px;
}
/* Footer */

footer {
    margin-bottom: 25px !important;
	position: relative;
    bottom: 0;
    margin: 0 !important;
    margin-bottom: 12px !important;
}

footer a{
	color:#fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: auto;
    position: relative;
}

.footer-item {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 15px;
    flex: 1;
}

.footer-item.footer-item-2{
	justify-content: right;
}

.footer-logo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: none;
}
.footer-logo img{
	width:75px;
}
.footer-qr {
    width: 50px;
    height: 50px;
}
.footer-text {
    font-weight: 700;
    font-size: 18px;
    line-height: 16.56px;
    letter-spacing: 2.63px;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-icon {
    width: 23px;
    height: 23px;
    margin-top: -2px;
}

/* Tax page */
.video-grid-3x {
    grid-template-columns: repeat(3, 1fr);
    padding-right: 10px;
	gap: 20px;
}
.video-grid-3x  .video-thumbnail{
	height: calc((100vh - 350px - (3 * 20px)) / 3);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
}
.video-play-icon img {
    width: 100%;
    height: 100%;
}

/* single */
body.video-popover-open > * {
    filter: blur(30px);
    transition: filter 0.3s ease-in-out;
}

.video-popover-container {
	display: none;
    position: fixed;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    filter: none !important;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.video-popover-container .video-popover {
    width: 90%;
    max-width: 1164px;
    text-align: center;
    margin: 0 auto;
}

.video-popover-container .video-popover-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
    position: absolute;
    bottom: 60px;
    left: 30px;
}

.video-popover-container .video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.video-popover-container .video-frame video,
.video-popover-container .video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 23px;
    border: 3px solid rgba(255, 255, 255, 1);
}

.video-popover-container .video-frame video {
	webkit-background-size:cover !important;
    -moz-background-size:cover !important;
    -o-background-size:cover !important;
    background-size:cover !important;
}

.playPauseVideo {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
	font-weight: 700;
    text-transform: capitalize;    
	cursor:pointer;
	font-family: "League Spartan", serif;
	left:50%;
	top:50%;
}

.playIcon, .pauseIcon {
    width: 65px;
    height: auto;
}

.video-popover-container .related-videos {
    margin-top: 20px;
    text-align: center;
}

.video-popover-container .related-videos-grid {
    display: flex;
    gap: 100px;
    justify-content: center;
    position: relative;
    margin-top: 50px;
}

.video-popover-container .related-video-item {
    display: flex;
    width: 50%;
    flex-direction: row-reverse;
    cursor: pointer;
    align-items: center;
    gap: 40px;
}
.video-popover-container .related-video-item:not(:last-child)::after {
    content: "";
    position: absolute;
    height: 90%;
    width: 1px;
    background-color: white;
    right: 50%;
    top: 10%;
    transform: translateX(50%);
}
.video-popover-container .related-video-item:nth-child(2){
	flex-direction: row;
}

.video-popover-container .related-thumbnail {
    width: 200px;
    height: 113px;
    position: relative;
    background-size: cover;
    border-radius: 23px;
    border: 2px solid rgba(255, 255, 255, 1);
}

.video-popover-container .related-title {
    font-size: 24px;
    color: #fff;
}
.video-button-top-right{
  	background: rgba(232, 117, 54, 1);
    font-family: "League Spartan", serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0px;
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 50px;
    padding: 18px 25px 15px;
    color: #fff;
	text-transform:uppercase;
}
.display-none-default{
	display:none;
}
.mob-label{
	display:none;
}
.video-close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(232, 117, 54, 1);
    padding: 18px 25px 15px;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0px;
    cursor: pointer;
    font-family: "League Spartan", serif;
    display: none; 
    z-index: 1000;
	text-transform:uppercase;
}
body.video-popover-open > .video-close-btn {
    filter: none !important;
    display: block;
}
p.no-videos {
	display:block;
	text-align:center;
	color:white;
}

.mob {
	display:none;
}

/* Responsive */
@media (min-width: 10px) and (max-width: 1320px) {
    .container {
		padding-right: 15px;
		padding-left: 15px;
		width: 100%;
	}
	.video-section-container {
		max-width: 100%;
		width: calc(100% - 80px);
	}
	.video-button-top-right {
		top: 13px;
		right: 20px;
		padding: 13px 15px;
	}
	.video-close-btn {
		top: 13px;
		right: 20px;
		padding: 13px 15px;
	}
	.main-content-wrap-desk {
		padding-top: 70px;
	}
}

@media (min-width: 10px) and (max-width: 1000px) {
	body{
		height:auto;
		min-height:auto;
		overflow-y: auto;
	}
    .video-grid {
		 height: auto;
		 max-height: 100%;
		 padding: 0;
    }
	.video-section-title {
		font-size: 40px;
	}
	.video-title-icon {
		width: 36px;
		height: 36px;
	}
	.video-section-container{
        width: calc(100% - 50px);
        padding: 25px;
	}
	.video-grid-3x {
		grid-template-columns: repeat(2, 1fr);
		padding-right: 0;
	}
	.video-grid-3x .video-thumbnail{
		height: calc((100vh - 350px - ( 3 * 20px )) / 3);
	}
	.video-popover-open{
		overflow:hidden;
	}
	.video-popover-container {
		top: 80px;
        transform: translate(-50%, 0);
	}
	.video-popover-container .video-popover {
		width: 95%;
	}
	.video-popover-container .related-thumbnail {
		width: 150px;
		height: 90px;
	}
}

@media (min-width: 10px) and (max-width: 850px) {
	.video-popover-container .related-video-item:nth-child(2) {
		flex-direction: column;
	}
	.video-popover-container .related-video-item {
		flex-direction: column;
		gap: 20px;
	}
	.video-popover-container .related-video-item:not(:last-child)::after {
		height: 100%;
		top: 0;
	}
}

@media screen and (max-height:700px) {
	
	.video-category-item {
		height: calc((100vh - 310px - (1 * 30px)));
	}
	
}

@media (max-width: 768px) {
	.video-popover-container .video-frame { 
		padding-top:100%;
	}
	.desktop {
		display:none;
	}
	.mob {
		display:block;
	}
	.main-content-wrap-desk {
		padding-top: 80px;
	}
    .video-grid {
        grid-template-columns: 1fr;
    }
	.video-category-item {
		height: calc((100vh - 240px - (2 * 30px)) / 2);
	}
	.video-thumbnail {
		height: calc((100vh - 240px - (2 * 30px)) / 2);
	}
	.video-grid-3x .video-category-item {
		height: calc((100vh - 50px - (3 * 30px)) / 3);
	}
	.video-grid-3x .video-category-item .video-thumbnail {
		height:100%;
	}
	.video-section-title {
		display: block;
		width: 500px;
		margin: 0 auto;
		margin-bottom: 20px;
	}
	.video-title-icon{
		margin: -3px;
		margin-left: -10px;
		margin-right: 3px;		
	}
	.footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-item {
        flex-direction: column;
        gap: 10px;
		display:none;
    }
	.footer-item.footer-item-2{
		display:block;
	}
	.footer-item.footer-item-2 .footer-qr{
		display:none;
	}
	.display-none-default{
		display:block;
	}
	.display-none-mob{
		display:none;
	}
	.footer-text{
		text-align: center;
        margin: 0 auto;
        display: block;
        margin-bottom: 20px;
        font-size: 14px;
	}
	.mob-label{
		display:block;
	}
	.desktop-label{
		display:none;
	}
	.video-button-top-right {
        padding: 10px 14px;
    }
	.video-header-notch {
		font-size: 14px;
		top: -40px;
	}
	.video-category-title {
		font-size: 20px;
		line-height: 18.4px;
	}
    .video-popover-container {
        top: 50%;
        transform: translate(-50%, -50%);
    }
	.video-count{
		font-size: 12px;
	}
	.video-button-top-right {
		font-size: 12px;
	}
	.video-close-btn{
		font-size: 12px;
		padding: 10px 14px;
	}
	.playPauseVideo {
        transform: translate(-50%, -50%);
        display: none;
    }
}

@media (max-width: 767px) {
    .playPauseVideo {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
    }
}

@media (min-width: 10px) and (max-width: 550px) {
	.video-section-title {
        font-size: 26px;
        width: 300px !important;
        line-height: 32px;
    }
	.video-title-icon {
        width: 29px;
        height: 25px;
    }
	.video-popover-container .related-thumbnail {
        width: 100%;
        height: 100px;
    }
	.video-popover-container .related-videos-grid {
		gap: 50px;
	}
	.video-popover-container .related-title {
		font-size: 16px;
		line-height: 14.72px;
		text-align: right;
		margin-left: auto;
	}
	.video-popover-container .related-video-item:nth-child(2) .related-title{
        text-align: left;
        margin-right: auto;
        margin-left: 0;
	}
	.video-popover-container .video-popover {
        width: 93%;
    }
}

@media (min-width: 10px) and (max-width: 500px) {
	.video-button-top-right {
        top: 10px;
        right: 15px;
    }
	.video-close-btn{
		top: 10px;
        right: 15px;
	}
	
	.video-popover-container .video-popover {
        width: 92%;
    }
}

@media (min-width: 10px) and (max-width: 450px) {
	.main-content-wrap-desk {
		padding-top: 95px;
	}

}

@media screen and (max-height: 850px) {
	
	.video-grid-3x .video-category-item {
		height: calc((100vh - 330px - (1 * 30px)) / 2);
	}
	
	.video-grid-3x .video-thumbnail {
		height: calc((100vh - 350px - (1 * 20px)) / 2);
	}
	
}

@media screen and (max-height: 650px) {
	
	.video-grid-3x .video-category-item {
		height: calc((100vh - 330px - (0 * 30px)));
	}
	
	.video-grid-3x .video-thumbnail {
		height: calc((100vh - 330px - (0 * 20px)));
	}
	
}