/*
Theme Name:  Business Insights Child (Sensom)
Template:    business-insights
Description: Sensom.com customisations on top of Business Insights. The parent stays unmodified at 1.1.8: do not update it to 1.2.x, which downloads and runs PHP code from the theme author's server (A6).
Version:     1.1.1
Text Domain: business-insights-child
*/

/*
 * Overrides of parent style.css (1.1.8), in parent order. Where the parent has a later
 * @media rule for the same selector/property, it is re-declared below the override so the
 * cascade stays exactly as on the previously edited parent stylesheet.
 */

/* Header */
.header-middle {
	padding-bottom: 20px;
	padding-top: 20px;
}
.site-branding {
	text-align: center;
}
.site-branding .site-title {
	font-weight: 600;
	letter-spacing: 2px;
}
.header-middle .meta-info-wrapper {
	margin-left: -15px;
}
.meta-info-col .meta-info-icon {
	width: 40px;
	padding-top: 10px;
}
@media only screen and (max-width: 1200px) {
	.meta-info-col .meta-info-icon {
		width: 50px;
	}
}

/* Navigation */
.main-navigation .menu ul > li > a {
	font-size: 12px;
	letter-spacing: 1px;
}
@media only screen and (min-width: 992px) {
	.main-navigation .menu ul ul li:hover > a,
	.main-navigation .menu ul ul li:focus > a {
		background: #165062;
	}
}

/* Slider */
.single-slide {
	height: 500px;
}
.slide-title {
	font-size: 6vh;
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
	.slide-title {
		font-size: 52px;
	}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.single-slide {
		height: 390px;
	}
}
@media only screen and (max-width: 767px) {
	.single-slide {
		height: inherit;
	}
	.slide-title {
		font-size: 28px;
	}
}

/* Footer */
.footer-widget {
	padding-top: 30px;
	padding-bottom: 20px;
}

/* Wider header on large screens (added) */
@media only screen and (min-width: 1300px) {
	.header-middle .container {
		width: 1300px;
	}
}

/*
 * Elementor 4 (A6): an Icon Box without title/description no longer prints the empty title block.
 * In Elementor 3 that block's margins cancelled the -20px bottom margin of the ▼ arrows between
 * the steps on 試験概要, and the icon sat in a 24px line box (32px tall). Restores the 3.2.5 layout.
 */
.elementor-widget-icon-box .elementor-icon-box-wrapper:not(:has(.elementor-icon-box-content)) .elementor-icon-box-icon {
	line-height: 24px;
}
.elementor-widget-icon-box:not(:has(.elementor-icon-box-content)) > .elementor-widget-container {
	margin-bottom: 0 !important;
}
