/*Hide header area on homepage | jp-12012980-hc*/
.home .entry-header {
	display: none;
}

/* change link colour throughout site / hc-36934968 (DW) */
a {
	color: #F87600;
}

/* hide home page featured image KG-11105982-hc */
.home .entry-thumbnail {
	visibility: hidden;
	height: 0 !important;
	min-height: 0 !important;
	padding: 0;
	margin: 0;
}

window.dataLayer = window.dataLayer || [];
  function gtag() {
}

window.dataLayer = window.dataLayer || [];
  function gtag() {
}

/* Adjust padding for Happy Teachers section on homepage 6346768 (JM)*/
.testimonial-CTA {
	padding: 30px 0;
}

.home .wp-block-cover.alignfull .wp-block-cover__inner-container {
	max-width: 70%;
}

.home h2 {
	font-size: 35px !important;
}

@media only screen and (max-width: 599px) {
	.home .wp-block-cover.alignfull .wp-block-cover__inner-container p {
		font-size: 15px !important;
	}
}

	
}

/* Force cover block height to auto so it adjusts to the height of child elements inside | 7476641-zd (GH) */
:is(.wp-block-cover-image, .wp-block-cover):is(.alignwide, .alignfull) {
	height: auto;
}

/* End of 7476641-zen */
/* TITLE / NUM-zen (SH) */
.wp-block-group.has-border-color.has-background-background-color.has-background {
	border: 1px solid #eee;
	box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.wp-block-group.has-border-color.has-background-background-color.has-background:hover {
	box-shadow: none;
}

@media (min-width: 750px) {
	.post-8532 .wp-block-group.alignfull {
		padding: 0 125px;
	}
}

p {
	margin-right: 0;
	margin-left: 0;
}

/* Narrow margins for page with ID 87*/
/* adjust h1 titles to center and fit content*/
.entry-title {
	width: fit-content;
}

.entry-title-center {
	width: fit-content;
}

/* box shadow*/
.box-shadow-element {
	border: 1px solid #eee;
	box-shadow: 0 0 12px rgba(0,0,0,0.1);
	padding-right: 5px;
	padding-left: 5px;
}


/* Radcliffe 2: logo and menu side by side */
@media screen and (min-width: 768px) {
    .header,
    .site-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 30px;
    }

    .site-branding {
        flex: 0 0 auto;
        text-align: left;
        margin: 0;
    }

    .site-branding img,
    .custom-logo {
        max-width: 220px;
        height: auto;
    }

    .main-navigation {
        flex: 1 1 auto;
        text-align: right;
        margin: 0;
    }

    .main-navigation ul {
        display: inline-block;
    }
}


/* Make the header logo larger */
.site-branding img,
.custom-logo {
    max-width: 5000px !important;
    width: 100%;
    height: auto;
}


/* Make the menu text larger */
.main-navigation a {
    font-size: 21px !important;
    font-weight: 600;
}


/* Reduce header height */
.site-header,
.header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

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

/* Keep the logo within the shorter header */
.site-branding img,
.custom-logo {
    max-height: 250px !important;
    width: auto;
    object-fit: contain;
}

/* Center the menu vertically */
.main-navigation {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* Give the navigation more horizontal space */
.main-navigation {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
    text-align: right;
}


/* Spread menu items apart on desktop only */
@media screen and (min-width: 768px) {
    .main-navigation ul {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        gap: 50px;
        flex-wrap: nowrap;
    }
}

}

/* Keep menu text on one line */
.main-navigation li a {
    white-space: nowrap;
}


/* Top bar above the header */
.top-info-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    padding: 8px 30px;
    background: #f5f5f5;
    min-height: 40px;
    box-sizing: border-box;
}

/* Search form */
.top-info-bar form {
    display: flex;
    align-items: center;
    margin: 0;
}

.top-info-bar input[type="search"] {
    width: 180px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* Social media links */
.top-info-bar .social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* Top bar above the header */
.top-info-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    padding: 8px 30px;
    background: #f5f5f5;
    min-height: 40px;
    box-sizing: border-box;
}

/* Search form */
.top-info-bar form {
    display: flex;
    align-items: center;
    margin: 0;
}

.top-info-bar input[type="search"] {
    width: 180px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}


.top-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 60px;
    padding: 10px 5%;
    background: #ed8700;
    box-sizing: border-box;
}

.top-info-bar form {
    display: flex;
    margin: 0;
}

.top-info-bar input[type="search"] {
    width: 230px;
    height: 38px;
    padding: 8px 12px;
    border: 0;
}

.top-info-bar form button {
    height: 38px;
    cursor: pointer;
}

.top-info-social {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-info-social a {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 600px) {
    .top-info-bar {
        flex-wrap: wrap;
        padding: 10px 12px;
    }

    .top-info-bar input[type="search"] {
        width: 150px;
    }

    .top-info-social {
        gap: 14px;
    }
}


.top-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 60px;
    padding: 10px 5%;
    background: #ed8700;
    box-sizing: border-box;
}

.top-info-bar form {
    display: flex;
    margin: 0;
}

.top-info-bar input[type="search"] {
    width: 230px;
    height: 38px;
    padding: 8px 12px;
    border: 0;
    box-sizing: border-box;
}

.top-info-bar form button {
    height: 38px;
    border: 0;
    padding: 0 12px;
    cursor: pointer;
}

.top-info-social {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-info-social a {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 600px) {
    .top-info-bar {
        flex-wrap: wrap;
        padding: 10px 12px;
    }

    .top-info-bar input[type="search"] {
        width: 150px;
    }

    .top-info-social {
        gap: 14px;
    }
}


/* Make the Lessons dropdown open downward */
.main-navigation li.menu-item-has-children {
    position: relative;
}

.main-navigation li.menu-item-has-children > ul.sub-menu {
    position: absolute !important;
    top: 100% !important;
    right: auto !important;
    display: block !important;
    width: 270px !important;
    min-width: 270px !important;
}



/* Mobile menu: stack submenu items vertically */
@media screen and (max-width: 767px) {
    .main-navigation ul ul,
    .main-navigation ul.sub-menu {
        display: block !important;
        flex-direction: column !important;
        align-items: stretch !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        position: static !important;
    }

    .main-navigation ul ul li,
    .main-navigation ul.sub-menu li {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .main-navigation ul ul li a,
    .main-navigation ul.sub-menu li a {
        display: block !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        box-sizing: border-box !important;
    }
}



/* Add left and right padding on one page only */
.page-id-8532 .wp-block-columns {
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}



/* Add left and right padding on one page only */
.page-id-7 .wp-block-columns {
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}


    height: auto;
}

/* Make WordPress image captions bold and larger */
.wp-caption-text,
figcaption,
.blocks-gallery-item__caption {
    font-size: 20px !important;
    font-weight: bold !important;
    line-height: 1.5;
}