/*
 Theme Name:   earpolitics elementor
 Theme URI:    https://example.com
 Description:  Child theme for Hello Elementor
 Author:       Stef
 Author URI:   https://example.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  earpolitics-elementor
*/


html {
  scroll-padding-top: 100px;
}


/* =========================
   CUSTOM FONT: Mafinest
   ========================= */

@font-face {
  font-family: 'Mafinest';
  src: url('./fonts/Mafinest-Regular.otf') format('opentype'),
       url('./fonts/Mafinest-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Mafinest';
  src: url('./fonts/Mafinest-Italic.otf') format('opentype'),
       url('./fonts/Mafinest-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

/* =========================
   BASE APPLICATION
   ========================= */

.mafinest,
.elementor-heading-title,
.elementor-icon-list-text,
.hfe-nav-menu a {
  font-family: 'Mafinest', sans-serif !important;
}

/* =========================
   TEXT NORMALIZATION
   ========================= */
h1 a{color:#AA5D5D !important;}

p,
span,
strong,
em {
  font-family: 'Mafinest', sans-serif;
}

.entry-content em {
  font-style: normal;
}

/* PROJECTS -> TAXONOMY SKILLS aka SOUND ART aka PROJECTS */



	.post-title{
		margin-top: 0 !important;
		font-family: 'Mafinest', sans-serif !important;
	}


	.post-content{
		text-align:left !important;
		display:flex;
		flex-direction:column;

	}

	.post-content figure {margin-top:1em !important; margin-bottom:1em !important;}


	iframe {
		max-width: 100%;
		aspect-ratio: 16 / 9;
		height: auto;
		display: block;
	}


	.wp-block-spacer{
		max-height:2em !important;
		min-height:2em !important;

	}


/*  Fix Header dimension */
	#custom_header  .elementor-size-default a{
	  font-size: 35px !important;
	  line-height: 1.1;
	  font-family: 'Mafinest', sans-serif;

	}


	.admin-bar header {
    	top: 250px !important;
	}

   


    .main_container{
 		padding-top:  150px !important;
        padding-left:20%;
        padding-right:20%;
		}


/*   LEGACY YENDIF PLAYER CONVERTED INTO AUDIO TAG*/
	.legacy-audio-player{
		text-align:center !important;
	}
	.legacy-audio-title{
		margin-top:10px !important;
		margin-bottom:10px !important;
	}



/* MEDIA QUERIES */


/* ipad */

@media (max-width: 1025px) {

	#custom_header  .elementor-size-default a{
	  font-size: 30px !important;
	}

 
    .main_container{
        padding-left:7em;
        padding-right:7em;}


}

  


/* mobile */

@media (max-width: 782px) {



	#custom_header  .elementor-size-default a{
	  font-size: 20px !important;
	}


    .main_container{
        padding-left:4em;
        padding-right:4em;}
   
	

}


@media (max-width: 500px) {

.wp-block-spacer{
	height:2em !important;
}

	#custom_header  .elementor-size-default a{
	  font-size: 18px !important;
	}


    .main_container{
        padding-left:2em;
        padding-right:2em;}
   

}


/* WebKit / iOS fix for fixed header overlap */
@supports (-webkit-touch-callout: none) {
	h1 a{color:#AA5D5D !important;}

  .main_container {
    padding-top: calc(160px + env(safe-area-inset-top));
  }

.wp-block-spacer{
		max-height:1em !important;
		min-height:1em !important;

}

}
    
