/*
Theme Name: Digiqole Child
Theme URI: https://hosseiniehandisheh.ir
Description: Child theme for Digiqole customizations.
Author: Hosseinieh Andisheh
Template: digiqole
Version: 1.0.0
Text Domain: digiqole-child
*/

/* Persian date inside the header social area (replaces the Instagram icon) */
.header .navbar .social-links .header-date-info {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 12px;
	font-size: 13px;
	line-height: 1.2;
	color: #fff;
	white-space: nowrap;
	border: 0;
}

.header .navbar .social-links .header-date-info .ts-icon {
	font-size: 14px;
	opacity: .85;
}

/* Small logo inside the menu bar (one quarter of the former size) */
.header .navbar .logo.header-logo-sm {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	margin: 0 0 0 14px;
	padding: 0;
}

.header .navbar .logo.header-logo-sm img {
	width: 55px;
	height: auto;
	max-width: 55px;
}

/* Menu bar: one fixed row, caret beside the label, height independent of the logo */
@media (min-width: 992px) {
	.header .navbar-light .navbar-nav {
		height: auto !important;
		align-items: center;
	}

	.header .navbar-light .navbar-nav > li {
		padding: 0 18px;
		height: auto !important;
		align-self: center;
	}

	.header .navbar-light .navbar-nav > li > a {
		line-height: 70px !important;
		white-space: nowrap;
	}

	.header .navbar-light .dropdown-toggle::after {
		float: none !important;
		display: inline-block !important;
		vertical-align: middle !important;
		line-height: 1 !important;
		padding: 0 0 0 6px !important;
	}
}

/* Tighter menu spacing on medium desktops so nothing overflows */
@media (min-width: 992px) and (max-width: 1199.98px) {
	.header .navbar-light .navbar-nav > li {
		padding: 0 8px;
	}
}
