/*
Theme Name: Blocksy Child
Template: blocksy
Version: 1.3
Description: Child theme for Illinois State Treasurer. Inherits Blocksy parent assets and production Customizer settings.
*/

:root {
	--theme-palette-color-1: #ea6320;
	--theme-palette-color-2: #fb8a52;
	--theme-palette-color-3: #3A4F66;
	--theme-palette-color-4: #121f32;
	--theme-palette-color-5: #e1e8ed;
	--theme-palette-color-6: #f2f5f7;
	--theme-palette-color-7: #FAFBFC;
	--theme-palette-color-8: #ffffff;
}

/* Two-row header: navy utility bar, white nav (production layout). */
#header [data-row="middle"] {
	background-color: var(--theme-palette-color-4, #121f32);
	color: #ffffff;
}

#header [data-row="bottom"] {
	background-color: #ffffff;
}

#header [data-row="middle"] .ct-header-search,
#header [data-row="middle"] .ct-social-box,
#header [data-row="middle"] .ct-icon-container {
	color: #ffffff;
}

.ct-header-cta .ct-button {
	background-color: var(--theme-palette-color-1, #ea6320);
	border-color: var(--theme-palette-color-1, #ea6320);
	color: #ffffff;
	border-radius: 4px;
}

.header-menu-1 > ul > li > a {
	text-transform: uppercase;
}

.header-menu-1 > ul > li.current-menu-item > a,
.header-menu-1 > ul > li.current_page_item > a {
	color: var(--theme-palette-color-1, #ea6320);
}

/* Homepage: no Blocksy page title; Stackable hero is the first content. */
body.home .hero-section,
body.front-page .hero-section {
	display: none;
}

/* Hook Locations debugger leftovers */
.blocksy-hook-indicator {
	display: none !important;
}

/* Breadcrumbs — align to the site’s fixed container, not full-bleed. */
.ct-breadcrumbs,
.breadcrumbs:not(.ct-breadcrumbs .breadcrumbs),
.breadcrumb-trail:not(.ct-breadcrumbs .breadcrumb-trail) {
	width: var(--theme-container-width);
	max-width: var(--theme-normal-container-max-width, 1290px);
	margin-inline: auto;
	padding: 12px 0;
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
	font-size: 14px;
	color: #14263d;
	box-sizing: border-box;
}

.breadcrumbs a,
.ct-breadcrumbs a,
.breadcrumb-trail a {
	color: #f58220;
	text-decoration: none;
	font-weight: 600;
}

.breadcrumbs a:hover,
.ct-breadcrumbs a:hover,
.breadcrumb-trail a:hover {
	text-decoration: underline;
}

.breadcrumbs .separator,
.ct-breadcrumbs .separator,
.breadcrumb-trail .separator {
	margin: 0 8px;
	color: #6b7280;
}

body.home .breadcrumbs,
body.home .ct-breadcrumbs,
body.home .breadcrumb-trail,
body.front-page .breadcrumbs,
body.front-page .ct-breadcrumbs,
body.front-page .breadcrumb-trail {
	display: none !important;
}

body:has(.breadcrumbs) .hero-section .ct-breadcrumbs {
	display: none !important;
}

.footer_top a {
	text-decoration: none;
	font-weight: bold;
}

footer.ct-footer:not(:has(.footer_top)),
footer#footer:not(:has(.footer_top)) [data-row="bottom"] {
	display: none !important;
}

#footer,
footer.ct-footer {
	width: 100%;
}

#footer [data-row="middle"],
.ct-footer [data-row="middle"] {
	width: 100%;
	background-color: #131820;
}

#footer [data-row="middle"] > .ct-container,
.ct-footer [data-row="middle"] > .ct-container {
	width: var(--theme-container-width);
	max-width: var(--theme-normal-container-max-width, 1290px);
}

#footer .entry-content.is-layout-constrained > .footer_top,
.ct-footer .entry-content.is-layout-constrained > .footer_top {
	max-width: none;
	margin-inline: 0;
}

input[type="email"] {
	width: 100% !important;
}

footer div.wpforms-container-full .wpforms-field-sublabel,
footer div.wpforms-container-full .wpforms-field-label {
	color: white;
}

@media (max-width: 767px) {
	.home .stk-video-background {
		display: none !important;
	}
}
