/*
Theme Name: Mozda - Child Theme
Theme URI: http://www.3forty.media/mozda
Author: 3FortyMedia
Author URI: http://www.3forty.media
Description: Mozda Child theme
Version: 1.0
Text Domain: mozda
Template: mozda
*/

/* Start Custom CSS */
@font-face {
    font-family: 'inter';
    src: var(--font-path) format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

*{
  font-family: "inter", serif;
}

/* Categories slugs color */

:root{
	--guides: #CB4FDB;
	--sponsored:#FD2C80;
	--community:#8B8DF8;
	--resources:#DE025A;
	--featured: #A926BA;
	--news:#585BF5;
}
.post-meta.categories li {
	border-radius:7px;
}
.post-meta.categories li a{
	color:white !important;
}
.cat-slug-guides {
	background-color: var(--guides);
}
.cat-slug-sponsored{
	background-color:var(--sponsored);
}
.cat-slug-community {
	background-color:var(--community);
}
.cat-slug-resources {
	background-color: var(--resources);
}
.cat-slug-featured {
	background-color:var(--featured);
}
.cat-slug-news {
	background-color:var(--news);
}

/* SPONSORED */
/*
.category-sponsored .post-meta.has-avatar.multi-line{
	background-color:var(--sponsored);
	border-radius:7px;
	padding:7px;
}*/

.category-sponsored .author-meta li{
	color:white;
}
.category-sponsored .post-meta.has-avatar.multi-line .entry-meta-author {
	top:6px;
	color:white;
}
.entry-meta-author i {
	font-style: normal ;
}

/* Headers color*/
/*.category .archive-header-inner, .archive-header-inner {
	background: linear-gradient( var(--footer-gradient-deg), var(--primary-theme-color), var(--secondary-theme-color));
}*/
/*.entry-header {
	background: linear-gradient( var(--footer-gradient-deg), var(--tertiary-theme-color), var(--primary-theme-color));
	border-radius:7px;
	padding:15px;
} */

aside .entry-header {
	background:none;
	border-radius:7px;
}

.page .entry-header {
	position:relative;
	display:flex;
	flex-direction: row;
	align-items: flex-end;
	margin-top: 0;
	gap: 0;
	height:100px;
}


.page .entry-header-inner{
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius:7px;
	flex-grow:1;
	max-width:none;
}

.archive-description-wrap{
	text-align:start;
}
.archive-header-inner{
	padding-top:10px;
	padding-bottom:10px;
}

/* AREA DE COMENTARIOS*/
.discourse-comments-area{
	border-top: var(--tertiary-theme-color) 5px solid;
	border-radius:7px;
	padding-top:0;
	margin-top:1rem;
}

.comments-area .comment-respond{
	margin-top: 1rem !important;
	border-top: var(--tertiary-theme-color) 5px solid;
}
.comment-reply-title {
	margin-bottom:0;
}
.discourse-comments-area div.comment-reply-title {
	display:none;
}

/* Adjust button older posts */
.has-pagination-numbers .nav-links .page-numbers.next {
	margin-left: 0 !important;
}

/* BARRA LATERA CUSTOM DE SPONSORED */

#tfm_posts_widget-2 {
	padding-top:15px;
	border-top: var(--sponsored) 5px solid;
}

#tfm_posts_widget-2 img {
	border: var(--sponsored) solid;
}

/* AJUSTES FOOTER */

.footer-social{
	margin:auto;
	margin-top:1rem;
}
.footer-social .tfm-social-icons {
	justify-content:center;
}

.footer-bottom{
	display:grid !important; 
	grid-template-columns: 1fr 2fr 1fr;
	border:0 !important;
}

.footer-nav {
    padding-right: var(--global-inner-elements-margin);
    border-right: 1px solid var(--footer-border-color);
}
.footer-widget-top .wp-block-group{
	gap:4rem;
}

@media (max-width:1060px){
	.footer-nav{
		justify-content:center;
		border:0;
		padding-right:0;
	}
}
@media (max-width: 768px) {
.footer-bottom{
	grid-template-columns: 1fr;
}
}


/* AJUSTE HEADER FIXED */
#site-header .site-header-inner .header-left  {
	justify-content:center;
	position:relative;
}
#site-header .site-header-inner {
	position:relative;
}

#site-header .site-header-inner .header-right  {
position:absolute;
	right:0px;
}

#site-header .site-header-inner .header-left .site-logo  {
	margin:10px;
}
.site-header-inner .primary-menu-container {
	margin: 20px 20px 0px 20px!important;
	width:100%;
		justify-content:center;
}
.site-header-inner .primary-menu-wrapper{
	min-width:400px;
}
.site-header-inner .primary-menu-container .primary-menu{
	border-top: 1px solid var(--footer-border-color);
	padding:10px;
	gap:2rem;
}

#site-header .toggle-search {
	border-left: 0;
}
#site-header.fixed .site-header-inner .primary-menu-container {
display:none;
}
#site-header.fixed .site-header-inner .header-left  {
	justify-content:start
}
	
.toggle-color-mode {
	display:none;
}
#site-header .custom-logo {
	transition:all 0.5s ease-in-out;
}
#site-header.fixed .custom-logo {
	max-height: 50px;
	width:auto;
}
#site-header.fixed .site-header-inner {
	padding:5px 0px;
}

/* AJUSTE NO HAY POSTS */
.search-no-results {
	flex-basis: 100% !important;
}

/* MASTODON */
.tfm-social-icons.brand.icon-background li.tfm-social-icon.spotify a, .tfm-social-menu .tfm-spotify.menu-item a::before{
	background:#5d50e6;
}

.tfm-social-menu .tfm-spotify.menu-item a::before, .tfm-social-icons li.tfm-social-icon.spotify a::before {
  content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.54 102.54 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5zm-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
}

/* FOOTER GAP */
.site-footer-inner {
	gap: 0;
}