/*
Theme Name:     Jordan for Kadence
Theme URI:      https://jordan.styleclouddemo.co/
Template:       kadence
Author:         StyleCloud
Author URI:     https://stylecloud.co
Description:    A premium theme for Kadence by StyleCloud
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
/* HEADER */
body {
	counter-reset: header-increment-1;
}
body #mobile-menu > .menu-item:before {
	counter-increment: header-increment-1;
	content: '0'counter(header-increment-1);
	color: #161916;
	font-size: 0.7rem;
	line-height: 1.4;
	letter-spacing: 0.2em;
	position: absolute;
	top: 1rem;
	left: 0;
}
body #mobile-menu > .menu-item {
	position: relative;
	padding: 1rem 0;
	border-bottom: 1px solid #161916;
}
body #mobile-menu > .menu-item a {
	padding: 0 1.5rem;
}
body #mobile-menu > .menu-item:last-child {
	border: none;
}
@media screen and (min-width: 1180px) {
	body .popup-drawer .drawer-content {
		padding: 0px 4rem 4rem;
	}
}
@media screen and (max-width: 1179px) {
	body .popup-drawer .drawer-content {
		padding: 0px 3rem 3rem;
	}
}
@media screen and (max-width: 767px) {
	body .popup-drawer .drawer-content {
		padding: 0px 2rem 2rem;
	}
}
body #mobile-menu .sub-menu a {
	font-size: 1rem;
	padding: 0.35rem 1.5rem;
}
body #mobile-menu .drawer-nav-drop-wrap .drawer-sub-toggle {
	padding: 0;
}
body .wp-site-blocks .menu-toggle-open {
	flex-direction: row-reverse;
}
body .mobile-toggle-open-container .menu-toggle-open .menu-toggle-label {
	padding: 0px 0 0 3px;
}
body .mobile-toggle-open-container .menu-toggle-open .menu-toggle-icon {
	font-size: 1rem;
}
body .popup-drawer .drawer-content {
	flex-direction: row !important;
	flex-wrap: wrap  !important;
	height: 100% !important;
	max-height: unset !important;
	min-height: unset !important;
	align-items: flex-end !important;
}
@media screen and (max-width: 1023px) {
	body .popup-drawer .drawer-content {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
	}
}
body .popup-drawer [data-section=kadence_customizer_mobile_navigation] {
	max-width: 100%;
	width: 100%;
}
body .popup-drawer [data-section=kadence_customizer_mobile_html],
body .popup-drawer [data-section=kadence_customizer_mobile_social] {
	margin: 0;
}
@media screen and (min-width: 1024px) {
	body .popup-drawer [data-section=kadence_customizer_mobile_html],
	body .popup-drawer [data-section=kadence_customizer_mobile_social] {
		max-width: 50%;
		width: 50%;

	}
}
body .popup-drawer [data-section=kadence_customizer_mobile_html] p {
	margin: 0;
}
@media screen and (min-width: 1024px) {
	body .popup-drawer [data-section=kadence_customizer_mobile_social] {
		justify-content: flex-end;
	}
}
body .popup-drawer [data-section=kadence_customizer_mobile_social] .social-button {
	height: auto !important;
}
body.transparent-header #main-header .header-button,
body.mobile-transparent-header .mobile-header-button-wrap .mobile-header-button {
	color: #FFFFFF;
	background: transparent;
	border-color:  #FFFFFF;
}
body.transparent-header #main-header .header-button:hover,
body.mobile-transparent-header .mobile-header-button-wrap .mobile-header-button:hover {
	color: rgba(255, 255, 255, 0.5);
	background: transparent;
	border-color:  rgba(255, 255, 255, 0.5);
}


/* ARCHIVE */
body.archive #primary.content-area {
	margin: 0;
}
body.archive .hero-container.site-container {
	padding: 2rem 0;
}
body.archive .entry-hero-container-inner .entry-header {
	display: unset;
}
body.archive .entry-hero {
	text-transform: uppercase;
}
body.archive .nav-links {
	text-align: center;
}
body.archive article.entry .entry-title a {
	font-style: italic;
}
@media screen and (min-width: 1180px) {
	body.archive article.entry:nth-child(3n-2), 
	body.archive article.entry:nth-child(3n) {
		transform: scale(0.8);
	}
	body.archive article.entry:nth-child(3n-2) .entry-taxonomies,
	body.archive article.entry:nth-child(3n-2) .entry-title,
	body.archive article.entry:nth-child(3n-2) .more-link-wrap {
		text-align: left;
	}
	body.archive article.entry:nth-child(3n-1) .entry-taxonomies,
	body.archive article.entry:nth-child(3n-1) .entry-title,
	body.archive article.entry:nth-child(3n-1) .more-link-wrap {
		text-align: center;
	}
	body.archive article.entry:nth-child(3n) .entry-taxonomies,
	body.archive article.entry:nth-child(3n) .entry-title,
	body.archive article.entry:nth-child(3n) .more-link-wrap {
		text-align: right;
	}
	body.archive article.entry .entry-taxonomies,
	body.archive article.entry .entry-title {
		margin: 0 0 0.5rem 0;
	}
}
@media screen and (max-width: 1179px) {
	body.archive article.entry .entry-taxonomies,
	body.archive article.entry .entry-title,
	body.archive article.entry .more-link-wrap {
		text-align: center;
	}
}


/* FEATURED POST */
body .blog-grid-dark h2 a,
body .blog-grid-dark .loop-entry .entry-summary, 
body .blog-grid-dark .loop-entry.type-post .entry-taxonomies, 
body .blog-grid-dark .loop-entry.type-post .entry-taxonomies a,
body .blog-grid-dark a {
	color: #FFFFFF !important;
}
