/*
Theme Name: Martin Huberman
Theme URI: https://bellop.io
Version: 1.0
Author: @bellop.io
Author URI: https://bellop.io
*/

:root,
[data-bs-theme=light]{

	/* Colors */
	--bs-heading-color: inherit; /* H1, H2 colors */

    --bs-body-color: #F03E13;
    --bs-body-bg: #FFF;

    --bs-primary: #F03E13;
    --bs-primary-rgb: 240,62,19;
    --bs-secondary: #F89F89;
    --bs-secondary-rgb: 108,117,125;
    --bs-white: #fff;
    --bs-light: #f2f6f8;
    --bs-dark: #151515;

	/* Links */
    --bs-link-color: #0d6efd;
    --bs-link-color-rgb: 13,110,253;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #0a58ca;
    --bs-link-hover-color-rgb: 10,88,202;

    /* BS Borders */
    --bs-border-width: 1px;
/*    --bs-border-color: #f03e13;*/
    --bs-border-radius: 50px;

}

/* Utilities */


.has-primary-color, .text-primary{ 
	color: var(--bs-primary) !important; 
}

.has-secondary-color, .text-secondary{ 
	color: var(--bs-secondary) !important; 
}

.has-primary-background-color, .bg-primary{ 
	background: var(--bs-primary) !important; 
}

.has-secondary-background-color, .bg-secondary{ 
	background: var(--bs-secondary) !important; 
}

.has-white-background-color, .bg-white{
	background: var(--bs-white) !important; 
}

.has-dark-background-color, .bg-dark{
	background: var(--bs-dark) !important; 
}

.has-black-background-color, .bg-black{
	background: var(--bs-black) !important; 
}

.bg-light{
	background: var(--bs-light) !important;
}


/* Btn */
.btn{
	border-radius: 0;
}

.btn-primary{
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-color: var(--bs-light);
    --bs-btn-border-color: var(--bs-primary);

    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-color: var(--bs-light);
    --bs-btn-hover-border-color: var(--bs-secondary);

    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-color: var(--bs-light);
    --bs-btn-active-border-color: var(--bs-secondary);
}
.btn-outline-primary{
    --bs-btn-bg: transparent;
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);

    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-color: var(--bs-light);
    --bs-btn-hover-border-color: var(--bs-primary);

    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-color: var(--bs-light);
    --bs-btn-active-border-color: var(--bs-primary);
}

/* 3. Structure */

html{
	scroll-behavior: smooth;
}

body{
	font-family: "adobe-kis",sans-serif;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.12;
	font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
}

body {
  visibility: hidden;
  /*overflow: hidden;*/
}

body.home {
	overflow: hidden !important;
}

/* Scrollbar */
/*html::-webkit-scrollbar {
  display: none;
}
html {
  scrollbar-width: none;
}
html {
  -ms-overflow-style: none; 
}*/



a{
	color: inherit;
	text-decoration: none;
	transition: 0.3s all;
}

h1, h2, h3, h4, h5, h6{
	font-weight: 600;	
}

h1 { font-size: 30px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

@media screen and (min-width: 992px) {
	h1 { font-size: 34px; }
	h2 { font-size: 30px; }
	h3 { font-size: 26px; }
	h4 { font-size: 24px; }
	h5 { font-size: 20px; }
	h6 { font-size: 18px; }
}


b, strong {
    font-weight: 700;
}

p {
    margin-bottom: 1.8rem;
}

/* 4. Structure > Framework */

.main {
	width: 100%;
	min-height: 100dvh;
	overflow: hidden;
}

.container,
.container-fluid{
	width: 100%;
	max-width: 100%;
}
.container{
	max-width: 1600px;
}
.container-fluid{
	max-width: 1920px;
}

@media screen and (min-width: 992px){
	.col-lg-5-2{
		-ms-flex: 0 0 20%;
	    flex: 0 0 20%;
	    max-width: 20%;
	}
}

@media screen and (min-width: 1440px){
	.container,
	.container-fluid{
		padding: 0 70px;
	}
}


/* Structure > extras */


.overh{
	overflow: hidden;
}

#pageloader{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--bs-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2em;
	transition: opacity 0.5s ease-in-out;
	z-index: 1000;
	opacity: 0;
	pointer-events: none;
}
#pageloader.show{
	opacity: 1;
	pointer-events: all;
}

.grecaptcha-badge{
	opacity:0;
}


/* Components > buttons */

.btn{
	min-width: 150px;
	--bs-btn-padding-x: 30px;
	--bs-btn-padding-y: 10px;
	--bs-btn-font-weight: 500;
}

button:focus{
	box-shadow: none !important;
}

/* Components > modals */

.modal{
	z-index: 99999;
	background: transparent;
}
.modal-backdrop{
	background: transparent;
	z-index: 9999;
}
.modal .modal-content{
	border: 0;
	border-radius: 0;
}

.modal .btn-close{
	position: absolute;
	top: -50px;
	right: 15px;	
	padding: 0;
	background: url('assets/img/icons/icon-cross.svg') no-repeat center;
	background-size: contain;
	z-index: 10;
	opacity: 0.5;
}

@media screen and (min-width: 992px) {
	.modal .btn-close{
		top: 20px;
		right: -50px;
	}
}

#modalVideo .modal-content{
	background-color: #000;
}
#modalVideo .modal-body{
	padding: 0;
}
#modalVideo .btn-close{
	top: -40px;
	right: 0;
	color: #fff;
	font-size: 30px;
	filter: brightness(0) invert(1);
}

#modalSlider .modal-body {
	padding: 50px;
}

#modalSlider  .btn-close{
	top: 10px;
	right: 10px;
	opacity: 1;
}
/*#modalSlider .swiper {
	padding: 0 50px;
}*/
#modalSlider .swiper img{
	height: 320px;
	object-fit: cover;
	margin-bottom: 20px;
}
#modalSlider .slider.swiper .swiper-button-next{
	right: 0;
}
#modalSlider .swiper-button-prev {
	left: -55px;
}
#modalSlider .swiper-button-next {
	right: -55px;
}
@media screen and (min-width: 992px){
	#modalSlider .modal-body {
		padding: 50px 70px;
	}
}


/* Components > socialmedia */

.socialmedia h4{
	font-size: 18px;
	line-height: 24px;
}

ul.socialmedia{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	gap: 5px;
	list-style: none;
}
ul.socialmedia li{
	display: inline-block;
	vertical-align: middle;
}
ul.socialmedia li a{
	display: block;
	font-size: 26px;
	padding: 5px;
}
ul.socialmedia li a:hover{
	color: var(--bs-primary);
}

@media screen and (min-width: 992px){	
	ul.socialmedia{
		justify-content: flex-start;
	}
	ul.socialmedia li a{
		font-size: 24px;
	}
}


/* Components > Slider  */

.slider{
	position: relative;
}

/* Components > Slider > Swiper */

.slider.swiper:has(.swiper-pagination){
    padding-bottom: 60px;
}
.swiper-pagination {
	bottom: 0;
}
.swiper-pagination-bullet{
	background: var(--bs-primary);
	opacity: 0.3;
}
.swiper-pagination-bullet-active {
	opacity: 1;
}

.swiper-button-next,
.swiper-button-prev{
	position: absolute;
	width: 45px;
	height: 45px;
    color: transparent;
    background-image: url('assets/img/icons/icon-arrow-prev.svg');
    background-repeat: no-repeat;
    background-position: center;
   	background-size: contain;
}
.circle.swiper-button-next,
.circle.swiper-button-prev{
	border: 1px solid var(--bs-dark);
	border-radius: 50%;
}
.swiper-button-next { background-image: url('assets/img/icons/icon-arrow-next.svg'); }

.swiper-button-prev:after,
.swiper-button-next:after{
	content: none;
}


/* Components > Title */

.title{
	position: relative;
	margin-bottom: 30px;
}


/* Components > Video Player */

.video-player{
	position: relative;
	width: 100%;
	padding: 25% 0;
	background: #000 no-repeat center;
	background-size: cover;
}
.video-player .play{
	display: none;
	position: absolute;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
	width: 60px;
	height: 60px;
	font-size: 24px;
	line-height: 60px;
	text-align: center;
	background: var(--bs-primary);
	color: #fff;
	border-radius: 50%;
	transition: 0.3s all;
	cursor: pointer;
}
.video-player.active .play,
.video-player:hover .play{
	background: var(--bs-primary);
	color: #fff;
}
.video-player .play:hover{
	transform: scale(1.1);
}
.video-player .play i{
	margin-left: 4px;
}

.video-player.allowed{
	cursor: pointer;
}
.video-player.allowed .play{
	display: block;
}
/*@media screen and (min-width: 1200px){

	.video-player .play{
		top: calc(50% - 28px);
		left: calc(50% - 28px);
		width: 56px;
		height: 56px;
		font-size: 24px;
		line-height: 58px;
	}
	.video-player .play i{
		margin-left: 5px;
	}
}*/


/* Components > Errors */

.errors {
	text-align: center;
	padding: 30px 0;
}
.errors.error-nologued {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60dvh;
}

.errors .smile {
	margin: 0;
	font-size: 50px;
	transform: rotate(90deg);
	color: var(--bs-primary);
}
@media screen and (min-width: 992px){
	.errors .smile {
		font-size: 80px;
	}
}


/* Structure */

.section{
	position: relative;
	padding: 50px 0;
}

@media screen and (min-width: 992px){
	.section{
		padding: 100px 0;
	}
}




/*
	Modules
*/

/* Module > Presentation */

.presentation{
	height:100dvh;	
	width: 100%;
	z-index: 1;
	position: relative;
}

.presentation a {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}
.presentation .title{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100dvh;
	padding: 40px 0;
}
.presentation .title h1{
	font-family: "fenwick",sans-serif; 
	text-transform: uppercase;
	font-size: 7vw;
  	font-weight: 700;
  	    line-height: 1em;
  	color: transparent;
 	-webkit-text-stroke: 1.5px var(--bs-primary);
}

.presentation .title p{
	color: var(--bs-primary);
	font-size: 1.8rem;
	font-size: clamp(18px, 0.9rem + 0.9vw, 28px);
	max-width: 870px;
	margin-bottom: 0;
}

.presentation .title p.description{
	margin-bottom: 30px;
	font-size: clamp(24px, 1.4342rem + 0.3509vw, 28px);
}

.presentation .title p.copyright{
	font-size: clamp(16px, 0.9rem + 0.7vw, 26px);
}
.presentation .title h1 .word {
	width: 100%;
	display: flex !important;
	justify-content: space-between;
	margin-bottom: 30px;
}

.presentation .title h1 br{
	display: none;
}

@media screen and (min-width: 992px){

	.presentation .title{
		padding: 70px 0;
	}
	.presentation .title h1{
		-webkit-text-stroke: 4px var(--bs-primary);
	}

	.presentation .title h1 .word {
		margin-bottom: 60px;
	}


	.presentation .info{
		display: flex;
		justify-content: space-between;
		align-items: end;	
	}
	.presentation .title p.description{
		margin-bottom: 0;
	}

}

/* Menu */

.menu{
	min-height: 100dvh;
	max-height: fit-content !important;
	background: var(--bs-body-bg);
	z-index: 2;
	position: relative;
	overflow-y: scroll !important;
  	transition: all 0.3s ease;
}

.menu .accordion {
	display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: flex-start;
    padding: 40px 0;
    padding-bottom: 120px;
}

.menu .accordion .item > a,
.single.projects .index .title a{
	display: block;
	font-family: "fenwick",sans-serif; 
	text-transform: uppercase;
	font-size: 7vw;
	line-height: 1em;
  	font-weight: 700;
  	color: transparent;
 	-webkit-text-stroke: 1.5px var(--bs-primary); 	
 	margin: 20px 0;
}
.menu .accordion .item > a .word,
.single.projects .index .title a .word {
	width: 100%;
	display: flex !important;
	justify-content: space-between;
}
/*
.menu .accordion .item > a:hover{
	color: var(--bs-primary);
}
*/

@media screen and (min-width: 992px){

	.menu .accordion {
		padding: 70px 0;
	}
	.menu .accordion .item > a,
	.single.projects .index .title a{
		-webkit-text-stroke: 4px var(--bs-primary);
		margin: 35px 0;
	}

}


/* Menu > About */
.item.about {
	letter-spacing: 0.03em;
}
.item.about .content .title  {
	font-size: 22px;
    max-width: 1135px;
}
.item.about .content .image,
.item.about .content .image img{
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
}
.item.about .content .items article{
	font-size: 20px;
	max-width: 1180px;
}

.item.about .content .items article.has-gallery {
  cursor: pointer;
}
.item.about .content .items article.has-gallery:hover h4{
	text-decoration: underline;
}

@media screen and (min-width: 992px){
	.item.about .content .title  {
		font-size: 42px;
	}
	.item.about .content .items article{
		font-size: 24px;
	}
}

.item.about .content .items article a {
	font-style: italic;
	color: var(--bs-secondary);
}
.item.about .content .items article a:hover{
	text-decoration: underline;
}

/* Menu > Contact */
.item.contact .content p{
	font-size: 	calc(1.2rem + 1.5vw);
}



/* Feed > Projects */

.feed-projects{
	margin: 0;
}
.feed-projects .projects-header{
	margin-bottom: 20px;
}
.feed-projects .projects-header, 
.feed-projects .project-item {
    display: flex;
    font-size: 24px;
    gap: 10px;
}
.feed-projects .project-item a {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	padding: 0;
	margin: 0;
	/*cursor: auto;*/
}
.feed-projects .project-item{
	position: relative;	
	margin-bottom: 20px;
}

.feed-projects .projects-header {
    cursor: context-menu;
    color: var(--bs-secondary);
}
.feed-projects  .column{
    flex: 1;
}

.feed-projects .project-item:hover:has(a) .column{
    color: var(--bs-secondary);
}

.feed-projects .column.year,
.feed-projects .column.type {
    flex: 0 0 10%;
}

.feed-projects .project-item .projects-body {
  position: relative;
}


.feed-projects .thumbnail {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 100%;
  max-height: 380px;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.8);
  z-index: 1000;
}

.feed-projects .thumbnail-mobile {
	display: none;
}
@media screen and (max-width: 991.99px){
	.feed-projects .projects-header {
		display: none;
	}

	.feed-projects .project-item {
		flex-direction: column;
	}

	.feed-projects .project-item .column.type,
	.feed-projects .project-item .column.client,
	.feed-projects .project-item .column.year {
		color: var(--bs-secondary);
		font-size: 20px;
	}
	.feed-projects .thumbnail-mobile {
		display: block;
		aspect-ratio: 4 / 3;
		max-width: 60%;
		min-height: 120px;
		text-align: right;
		align-self: end;
	}
	.feed-projects .thumbnail-mobile img {
		aspect-ratio: 4 / 3;
		object-fit: contain;
        object-position: right;
	}
}

/* Single > Ajax */
.ajax-content .single.projects .container{
	padding: 0;
}
.ajax-content .single.projects .section{
	padding: 20px 0;
}

/**/

.single.projects .menu{
	min-height: auto;
	overflow-y: auto !important;
}
.single.projects .menu .accordion {
	height: auto;
}

.single.projects{
	font-size: 20px;
	margin-bottom: 20px;
	letter-spacing: 0.02em;
}

.single.projects .section{
	padding: 20px 0;
}

.single.projects .module .title h3 {
	color: var(--bs-secondary);
	font-size: 17px;
	letter-spacing: 0.05em;
	line-height: 1em;
}

.single.projects .module.chapter.module-1 .title h3 {
	line-height: 1.4em;
}

.single.projects figcaption{
	color: var(--bs-secondary);
	font-size: 14px;
	font-style: italic;
	font-weight: 400;
	margin-top: 10px;
	letter-spacing: 0.1em;
}

.single.projects .module.slider .description{
	color: #EA5838;
}

@media screen and (min-width: 992px){

	.single.projects{
		font-size: 24px;
	}

	.single.projects .module .title h3 {
		font-size: 24px;
		margin-bottom: 30px;
	}

	.single.projects .module.chapter.module-1 .title h3 {
		font-size: 22px;
		margin-bottom: 50px;
	}

	.single.projects .module .description.column-2{
		column-count: 2;
	}
}


.single.projects blockquote {
	font-style: italic;
	margin-left: 1.5em;
	font-size: 1.2em;
}


.single.projects .module.download-button {
	text-align: center;
}
.single.projects .module.download-button a img{
	display: block;
	margin: 0 auto;
}
.single.projects .module.download-button a:hover{
	text-decoration: underline;
}

/* Module > Slider */

/*.module.slider .swiper .slide img{
	width: 100%;
	object-fit: cover;
}*/
/*.module.slider .swiper[data-slides="1"] .slide img{
 	height:620px;
 }*/
/*.module.slider .swiper[data-slides="2"] .slide img{
 	height:520px;
}
.module.slider .swiper[data-slides="3"] .slide img{
 	height:420px;
}
.module.slider .swiper[data-slides="4"] .slide img{
 	height: 320px;
}*/

.module.slider .swiper-button-next,
.module.slider .swiper-button-prev{
	position: absolute;
	width: 45px;
	height: 45px;
    background-image: url('assets/img/icons/icon-arrow-prev-project.svg');
    background-repeat: no-repeat;
    background-position: center;
   	background-size: contain;
}
.module.slider .swiper-button-next { background-image: url('assets/img/icons/icon-arrow-next-project.svg'); }


/* Module Video */
.module.video iframe{
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* Pages > Thanks */

.page.page-thanks .content{
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 80vh;
}

/* Pages > Internal */

.page.internal .content .title{
	text-align: center;
}
.page.internal .content article {
	max-width: 850px;
	margin-left: auto;
	margin-right: auto;
}

/* Pages > Page 404 */

.page.page-404 .content,
.page.page-maintenance .content{
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 80vh;
}

.page.page-maintenance .content{
	min-height: 100vh;
}



/*
	CPT Single
*/

/* CPT > Single */

.single .content article.post-content img{
	max-width: 100%;
	height: auto;
}



/* Structure > Footer */

.footer {
	position: fixed;
	width: 100%;
	left: 0;
	bottom: 50px;
	z-index: 9;
}
.footer a:hover{
	text-decoration: underline;
}

.footer .widgets .logo{
	display: block;
	width: 200px;
	margin: 0 auto 30px;
}

.footer .widgets .logo {
	filter: invert(1) brightness(5);
}

.footer .copyright p{
	margin: 0;
	font-size: 16px;
}

.footer .contact,
.footer .copyright{
	opacity: 0;
}

@media screen and (min-width: 992px){
	.footer .widgets .logo{
		margin: 0;
	}	
}


/* Fancybox */
.fancybox__backdrop {
	background: #fff;
}
.f-button {
	background: transparent;
	color: var(--bs-primary);
	width: 30px;
	height: 30px;	
}
.f-button svg {
	stroke: var(--bs-primary);
	filter: none;
}

.f-button svg {
	stroke: none;
}
.fancybox__nav .f-button svg {
	stroke: none;
	width: 28px;
	height: 28px;
}

.fancybox__nav .f-button.is-prev,
.fancybox__nav .f-button.is-next {
  opacity: 1 !important;   /* siempre visibles */
  visibility: visible !important;
}

.fancybox__caption,
.fancybox__infobar{
	color: var(--bs-primary);
}

.fancybox-image {
	max-height: 80vh;
	max-width: 90vw;
}
.f-button:hover:not([disabled]){
	background: transparent;
}
.is-compact .fancybox__footer{
	background: #fff;
}
.swiper:has(figcaption) .swiper-button-prev,
.swiper:has(figcaption) .swiper-button-next{
    top: var(--swiper-navigation-top-offset,46%);
}

@media screen and (min-width: 992px){
	.f-button{
		width: 50px;
		height: 50px;		
	}

	.fancybox__nav .f-button svg {
		stroke: none;
		width: 45px;
		height: 45px;
	}
}
@media screen and (max-width: 991px){
	.fancybox__nav .f-button.is-prev {
		left: 0;
	}
	.fancybox__nav .f-button.is-next {
		right: 0;
	}
}