/*
 * Header, top bar and footer styles that match the old Eduma layout.
 */

/* Top bar */
#header [data-row*="top"] {
	font-size: 13px;
	--theme-text-color: var(--ank-topbar-text);
	--theme-link-initial-color: var(--ank-topbar-text);
	--theme-link-hover-color: var(--ank-link-hover);
	color: var(--ank-topbar-text);
}
#header [data-row*="top"] a {
	text-decoration: none;
}
#header [data-row*="top"] p {
	margin: 0;
}
#header [data-row*="top"] a {
	color: var(--ank-topbar-text);
}
#header [data-row*="top"] a:hover {
	color: var(--ank-link-hover);
}

/* Sticky header (Blocksy free has no sticky option).
   The top bar (50px) scrolls away and the logo/menu row stays pinned. */
@media (min-width: 1000px) {
	#header {
		position: sticky;
		top: calc(-50px + var(--admin-bar, 0px));
		z-index: 100;
		box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
	}
}

/* Main menu: uppercase, black, orange hover and orange underline on the active item */
#header [data-id="menu"] > ul > li > a {
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	color: #000;
}
#header [data-id="menu"] > ul > li > a:hover,
#header [data-id="menu"] > ul > li.current-menu-item > a,
#header [data-id="menu"] > ul > li.current-menu-ancestor > a {
	color: var(--ank-primary);
}
#header [data-id="menu"] > ul > li.current-menu-item > a {
	box-shadow: inset 0 -2px 0 var(--ank-primary);
}
/* Dropdowns: white background like Eduma (thim_sub_menu_bg_color #fff) */
#header [data-id="menu"] .sub-menu {
	--dropdown-background-color: #fff;
	--dropdown-divider: 1px solid #eee;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
#header [data-id="menu"] .sub-menu a {
	font-size: 14.7px;
	color: #000;
}
#header [data-id="menu"] .sub-menu a:hover {
	color: var(--ank-primary);
}

/* Footer: Blocksy colours text through these variables */
.ct-footer {
	--theme-text-color: #fff;
	--theme-link-initial-color: #fff;
	--theme-link-hover-color: var(--ank-link-hover);
	--theme-heading-color: #fff;
}
.ct-footer .ank-social .wp-block-social-link svg {
	fill: #fff;
}
.ct-footer .ank-social .wp-block-social-link:hover svg {
	fill: var(--ank-link-hover);
}
.ct-footer [data-row*="middle"],
.ct-footer [data-row*="middle"] a {
	color: #fff;
}
.ct-footer [data-row*="middle"] a:hover {
	color: var(--ank-link-hover);
}
.ct-footer .ank-footer-title {
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 25px;
}
.ct-footer .ank-link-list,
.ct-footer .ank-contact-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}
.ct-footer .ank-link-list li {
	margin-bottom: 12px;
}
.ct-footer .ank-contact-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 14px;
}
.ct-footer .ank-contact-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 18px;
	height: 18px;
	background-color: var(--ank-primary);
	-webkit-mask: var(--ank-ico) center / contain no-repeat;
	mask: var(--ank-ico) center / contain no-repeat;
}
.ank-ico-map { --ank-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.ank-ico-phone { --ank-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.ank-ico-mail { --ank-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }

.ct-footer .ank-social {
	gap: 14px;
}
.ct-footer .ank-map {
	display: block;
}

/* Footer bottom row */
.ct-footer [data-row*="bottom"],
.ct-footer [data-row*="bottom"] a {
	color: #fff;
}
.ct-footer .ank-credit {
	text-align: right;
	margin: 0;
}
@media (max-width: 767px) {
	.ct-footer .ank-credit {
		text-align: center;
	}
}

/* Page title banner: align with the 1170px container like Eduma, not the narrow one */
.hero-section[data-type="type-2"] > .entry-header {
	max-width: var(--theme-normal-container-max-width, 1170px);
}
.hero-section[data-type="type-2"] .page-title::after {
	content: "";
	display: block;
	width: 35px;
	height: 2px;
	margin-top: 12px;
	background: var(--ank-primary);
}
.hero-section[data-type="type-2"] .ct-breadcrumbs,
.hero-section[data-type="type-2"] .ct-breadcrumbs a {
	color: #ddd;
	font-size: 13px;
}
