/* NYUMBAR WEBSITE COLOURS */
/* Main background and text */
body {
	background-color: #F8F2E3;
	color: #292524;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	color: #3B101B;
}

/* Paragraphs */
p, li {
	color: #292524;
}

/* Links */
a {
	color: #B54819;
}

/* Links when hovered */
a:hover {
	color: #3B101B;
}

/* NYUMBAR NAVIGATION MENU */
.main-navigation a {
	color: #3B101B;
	font-size: 16px;
	padding-left: 10px;
	padding-right: 10px;
}

/* Menu hover colour */
.main-navigation a:hover {
	color: #B54819;
}

/* Header background */
.site-header {
	background-color: #F8F2E3;
}

/* Reduce empty space in the header */
.site-header {
	padding-top: 15px;
	padding-bottom: 15px;
}

/* Keep the logo proportional */
.custom-logo {
	max-width: 220px;
	height: auto;
}

/* Reduce extra space around the logo */
.site-branding {
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 0;
}

/* Reduce header height in Shoreditch */
.site-header .site-branding {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

.site-header .site-header-wrapper {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

/* Nyumbar compact desktop header */
@media screen and (min-width: 1024px) {
	.site-header-wrapper {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: nowrap;
		gap: 15px;
	}
	
	.site-branding {
		flex: 0 0 150px;
		margin: 0 !important;
	}
	
	.custom-logo {
		max-width: 150px;
		height: auto;
	}
	
	.site-menu {
		flex: 1 1 auto;
		min-width: 0;
		margin: 0 !important;
	}
	
	.main-navigation ul {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: 12px;
	}
	
	.main-navigation li {
		margin: 0;
	}
	
	.main-navigation a {
		font-size: 14px;
		padding: 8px 3px;
		white-space: nowrap;
	}
}

/* Reduce header spacing */
@media screen and (min-width: 1024px) {
	.site-header {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	
	.site-header-wrapper {
		padding-top: 5px !important;
		padding-bottom: 5px !important;
		align-items: center !important;
	}
	
	.site-branding {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	
	.site-menu {
		align-self: center !important;
	}
}

/* NYUMBAR - FIX PROGRAMS DROPDOWN */
.main-navigation ul ul {
	display: none;
	position: absolute;
	width: 320px;
	background-color: #F8F2E3;
	z-index: 9999;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li:focus-within > ul {
	display: block;
}

.main-navigation ul ul li {
	display: block;
	float: none;
	width: 100%;
}

.main-navigation ul ul li a {
	display: block;
	width: 100%;
	box-sizing: border-box;
	white-space: normal;
	padding: 12px 16px;
	line-height: 1.5;
}

/* NYUMBAR - PROGRAMS DROPDOWN FIX */
#menu-item-100 > ul.sub-menu {
	display: none;
	flex-direction: column;
	width: 350px;
	background-color: #F8F2E3;
	z-index: 9999;
}

#menu-item-100:hover > ul.sub-menu,
#menu-item-100:focus-within > ul.sub-menu,
#menu-item-100 > ul.sub-menu.toggled-on {
	display: flex !important;
}

#menu-item-100 > ul.sub-menu > li {
	display: block !important;
	float: none !important;
	width: 100% !important;
}

#menu-item-100 > ul.sub-menu > li > a {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box;
	white-space: normal !important;
	padding: 12px 16px;
}

/* NYUMBAR - COMPACT PROGRAMS DROPDOWN */
#menu-item-100 > ul.sub-menu > li > a {
	padding: 8px 16px !important;
	line-height: 1.3 !important;
}

/* NYUMBAR - FOOTER COLOURS */
.footer-widgets-wrapper,
.footer-widgets,
.footer-widget-area {
	background-color: #3B101B !important;
	color: #F8F2E3 !important;
}

.footer-widgets-wrapper p,
.footer-widgets p,
.footer-widget-area p {
	color: #F8F2E3 !important;
}

/* NYUMBAR - TOP FOOTER */
#tertiary .widget-footer-top-area {
	background-color: #3B101B !important;
	color: #F8F2E3 !important;
}

#tertiary .widget-footer-top-area p,
#tertiary .widget-footer-top-area h3 {
	color: #F8F2E3 !important;
}

/* NYUMBAR - FEEDBACK FORM LABELS */
.wp-block-jetpack-contact-form label,
.wp-block-jetpack-contact-form .grunion-field-label {
	color: #292524 !important;
}

/* NYUMBAR - FEEDBACK FORM TEXT FIX */
label.grunion-field-label.has-light-gray-color {
	color: #292524 !important;
}

/* NYUMBAR - FEEDBACK FORM LABEL COLOUR */
body .grunion-field-label.has-light-gray-color,
body label.wp-block-jetpack-label {
	color: #292524 !important;
}

/* NYUMBAR - MOBILE PROGRAM CARD SPACING */
@media screen and (max-width: 767px) {
	.wp-block-columns.is-stacked-on-mobile {
		gap: 24px !important;
	}
}

/* NYUMBAR - MOBILE PROGRAM PHOTOGRAPHS */
@media screen and (max-width: 767px) {
	.wp-block-columns.is-stacked-on-mobile .wp-block-image img {
		width: 100% !important;
		height: auto !important;
		max-width: 100% !important;
		object-fit: contain;
	}
}

/* NYUMBAR - COMPACT MOBILE HEADER */
@media screen and (max-width: 767px) {
	.site-header .site-header-wrapper {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

/* NYUMBAR - HOMEPAGE FOOTER SPACING */
body.home #post-9 {
	padding-bottom: 35px !important;
}

/* NYUMBAR - HIDE BACK TO TOP ON MOBILE */
@media screen and (max-width: 767px) {
	button.back-top {
		display: none !important;
	}
}

/* NYUMBAR - SCHOOL PROGRAM MOBILE SPACING */
@media screen and (max-width: 767px) {
	body.page-id-1750 .wp-block-columns {
		gap: 12px !important;
	}
}

/* NYUMBAR - SCHOOL PROGRAM INTRO SPACING */
@media screen and (max-width: 767px) {
	body.page-id-1750 .school-program-intro {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}
	
	body.page-id-1750 .school-program-intro p {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
}
.team-bio {
  max-width: 650px;
  width: 100%;
  box-sizing: border-box;
}

.nyumbar-mural-enquiry {
    padding: 40px !important;
    box-sizing: border-box;
}

.nyumbar-mural-enquiry {
    padding: 35px;
    box-sizing: border-box;
}

.nyumbar-mural-enquiry > * {
    max-width: 100%;
}

.bosco-uniform-image {
    width: 100% !important;
    max-width: 750px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.bosco-uniform-image img {
    width: 100% !important;
    height: auto !important;
}
