/* Acton Schools framework styles — ported from the wireframe Customizer CSS (post 1168), plus framework additions at the end. */

/* GLOBAL */

h2, h3, h4, h5 {
	word-break:normal!important;
}


/*** Header ***/


.main-navigation .sub-menu{
	    background: var(--global-palette2);
    box-shadow: none;
    filter: drop-shadow(0 4px 2px rgb(107 107 107 / .73));
    border-radius: 3px;
	padding: 12px !important;
}

.main-navigation .sub-menu:before{
	content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 13px;
    height: 13px;
    background-color: var(--global-palette2);
    transform-origin: center;
    z-index: -1;
}

.header-navigation ul ul.sub-menu, .header-navigation ul ul.submenu {
	margin-left: -50px;
}

.main-navigation .header-menu-container ul ul li.menu-item{
	  border-bottom: 1px solid rgb(255 255 255 / .1);
    transition: all 0.3s ease;
}

.main-navigation .header-menu-container ul ul li.menu-item:hover,
.main-navigation .header-menu-container ul ul li.menu-item.current-menu-item{
	border-bottom: 1px solid rgb(255 255 255 / 1);
}

.header-navigation .header-menu-container ul ul.sub-menu, .header-navigation .header-menu-container ul ul.submenu {
    background: var(--global-palette2);
}

.main-header .sub-menu  li.menu-item > a{
	padding: 10px;
}

nav.main-navigation .primary-menu-container > ul > li.menu-item > a {
    color: var(--global-palette3)!important;
}

.main-navigation #primary-menu > li.current_page_item > a:after, .main-navigation #primary-menu > li > a:hover:after {
    transform: scaleX(1);
}

.main-navigation #primary-menu > li >a:after{
	content: "";
  width: calc(100% - 1.2em);
  display: block;
  position: absolute;
	left:10px;
  height: 1px;
  background: var(--global-palette3);
  bottom: 5px;
  transition: all 250ms linear;
  transform: scaleX(0);
}

header .secondary-navigation .secondary-menu-container > ul > li.menu-item > a {
    color: var(--global-palette3)!important;
}

.search-toggle-open-container .search-toggle-open {
    color: var(--global-palette3)!important;
}

.site-bottom-footer-wrap .footer-widget-area-inner.site-info-inner :not(.single_notification_wrap h2, .single_notification_wrap p, .notification_sec button,.notification_close_btn span) {
    margin-right: 5px;
}

.category_description_container hr {
border:none;
margin:25px auto;
}



/* Ken Burns Effect for Kadence Advanced Carousel Slides - TARGETED TO HOME HERO */

/* 1. Target the image container within each slide, specifically within the home-page-hero row */
.kb-bg-slide {
    background-size: cover; /* Ensure image covers the slide initially */
    background-position: center center; /* Center the image initially for zoom */
    transition: transform 7s ease-in-out!important; /* Define the zoom-in transition (duration and timing) */
    transform: scale(1); /* Initial scale (no zoom) */
}

/* 2. Apply the zoom effect when the slide is active, specifically within the home-page-hero row */
.splide__slide.is-active .kb-bg-slide {
    transform: scale(1.2); /* Zoom in to 110% of its size */
}

/* Optional: Reset zoom for inactive slides quickly, specifically within the home-page-hero row */
.kb-bg-slide {
    transition: transform 0.5s ease-out; /* Quicker transition to reset */
    transform: scale(1); /* Reset scale */
}

/* Important consideration for Kadence with background images: */
/* Ensure no conflicting 'background-size' or 'background-position' from inline styles or theme settings */
/* You might need to make these !important if other styles are overriding them, and adjust background-position if needed. */

.hero-slider .kb-splide .splide__pagination, .kb-splide ul.splide__pagination.splide__pagination {
    bottom: 60px;
	z-index:2;
}

/* HOME PAGE ENROLMENT SECTION ACCESSIBILITY FIX */

/* Target the inner column containing the white text */
.kadence-column12_8951d5-00 > .kt-inside-inner-col {
    background-color: #000000; /* Tells the scanner the background is black */
    background-clip: padding-box; 
}

/* Ensure the Kadence overlay stays on top of our new background but under the text */
.kb-row-layout-id12_4a190d-3a > .kt-row-layout-overlay {
    z-index: 1;
}

.kadence-column12_8951d5-00 {
    position: relative;
    z-index: 2;
}


/* BALLYNACALLY STYLES */

body div#n2-ss-2 .nextend-arrow {
    box-shadow: 0px 0px 0px 5px #c899165c;
}

body #widget-drawer.popup-drawer-layout-sidepanel .drawer-inner {
    max-width: 370px;
    background-color: #00376c;
    scrollbar-width: thin;
    scrollbar-color: #c81716 #ffdfdf;
}

.drawer-inner .widget_nav_menu {
    border-top: 1px solid #1761a7;
    padding-top: 20px;
    padding-left: 10px;
}

body .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {
    border-bottom: 1px solid #1761a7;
}

nav.main-navigation .primary-menu-container > ul > li.menu-item > a {
    color: var(--global-palette9);
}

header .secondary-navigation .secondary-menu-container > ul > li.menu-item > a {
    color: var(--global-palette8);
}

body a.social-button {
    color: var(--global-palette8);
}

.search-toggle-open-container .search-toggle-open {
    color: var(--global-palette8);
}

/*** Resources Shortcode**/
.sch_category_name.accordion_head {
		background-color: var(--global-palette1);
		position: relative;
		padding: 20px 20px 20px 90px;
		transition: all 0.3s ease-in-out;
	  cursor: pointer;
	}

.sch_category_name.accordion_head h3{
	font-size: 20px;
	font-weight: 500;
	color: var(--global-palette9);
}

.sch_category_name.accordion_head p{
	color: var(--global-palette9);
}
	.sch_category_name.accordion_head:hover,
	.sch_acc_container.active .sch_category_name.accordion_head {
		background-color: var(--global-palette2);
	}
	.sch_category_name.accordion_head h3::before {
		content: '\f0dd';
		position: absolute;
		top: 35px;
		left: 45px;
		font-family: "Font Awesome 5 Free";
		color: var(--global-palette9);
		transition: all 0.3s ease;
		transform: translateY(-50%) rotate(-90deg);
		width: 20px;
		height: 20px;
		font-size: 30px;
		line-height: 0;
		text-align: center;
		font-weight: 900;
	}
	.sch_acc_container.active .sch_category_name.accordion_head h3::before {
		transform: translateY(-40%) rotate(-00deg);
	}
	.single-content .sch_all_resources_wrap {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.sch_all_resources_wrap .sch_single_resource:nth-child(2n) {
		background-color: #cecece;
	}
	.sch_all_resources_wrap .sch_single_resource {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		padding: 30px 40px;
		justify-content: space-between;
		background-color: #eaeaea;
	}
	.sch_single_resource .sch_resource_img_wrap {
		max-width: 95px;
		width: 100%;
	}
	.sch_resource_content_wrap {
		width: 100%;
		max-width: calc(100% - 95px - 200px - 130px);
	}
	.sch_dwn_btn_Wrap {
		width: 100%;
		max-width: 200px;
	}
	.single-content .sch_resource_content_wrap h4 {
		color: #38313b;
		font-size: var(--f18);
		font-weight: 600;
		margin: 0;
		line-height: 140%;
	}
	.single-content .sch_resource_content_wrap p {
		margin: 0;
		font-size: 16px;
		font-weight: 300;
		color: #38313b;
		line-height: 160%;
	}
	.sch_all_resources_wrap .sch_comm_btn {
		display: block;
		text-decoration: none;
		padding: 10px 20px;
		border-radius: 4px;
		text-align: center;
		color: #ffffff;
		margin-bottom: 10px;
		background: var(--global-palette1);
		text-transform: uppercase;
	}

.sch_all_resources_wrap .sch_dwn_btn_Wrap{
	text-align: center;
}

.sch_acc_container{
	margin-bottom: 5px;
}




/* CHANGE HEADER HEIGHT AND LOGO WIDTH FOR BIGGER LOGO */

/*@media screen and (max-width: 600px){
.site-main-header-wrap .has-logo-image .custom-logo {
    width: 200%;
	  max-width:200%
}
}


@media screen and (min-width: 1025px){
#main-header {
    min-height: 100px;
}
.site-main-header-wrap .has-logo-image .custom-logo {
    width: 130%;
	  max-width:130%
}
}

@media screen and (max-width: 767px) {
header .site-top-header-wrap {
    right: 24px;
    top: 14px;
}
	}
*/

/* END HEADER HEIGHT */

/* HIDE SMART SLIDER SHAPE FOR HP STYLE 2 WITH CTAS */

#post-12 .n2-ss-slider .n2-ss-shape-divider {
    display: none!important;
}

/* SET CTA COLOURS */

.cta-1 .kt-blocks-info-box-link-wrap {
    background-color: #850b0b;
}

.cta-2 .kt-blocks-info-box-link-wrap {
    background-color: #124f8a;
}

.cta-3 .kt-blocks-info-box-link-wrap {
    background-color: #dda441;
}

.cta-4 .kt-blocks-info-box-link-wrap {
    background-color: #207b0e;
}

.cta-1 .kt-blocks-info-box-link-wrap:hover {
    background-color: #a71717!important;
}

.cta-2 .kt-blocks-info-box-link-wrap:hover {
    background-color: #1761a7!important;
}

.cta-3 .kt-blocks-info-box-link-wrap:hover {
    background-color: #fbc136!important;
}

.cta-4 .kt-blocks-info-box-link-wrap:hover {
    background-color: #349920!important;
}

.sch_banner_cta_sec .cta-1 h2.kt-blocks-info-box-title, .sch_banner_cta_sec .cta-1 h2.kt-blocks-info-box-title:hover   {
    background-color: #a71717!important;
}

.sch_banner_cta_sec .cta-2 h2.kt-blocks-info-box-title, .sch_banner_cta_sec .cta-2 h2.kt-blocks-info-box-title:hover {
    background-color: #1761a7!important;
}

.sch_banner_cta_sec .cta-3 h2.kt-blocks-info-box-title, .sch_banner_cta_sec .cta-3 h2.kt-blocks-info-box-title:hover  {
    background-color: #fbc136!important;
}

.sch_banner_cta_sec .cta-4 h2.kt-blocks-info-box-title, .sch_banner_cta_sec .cta-4 h2.kt-blocks-info-box-title {
    background-color: #349920!important;
}

/* END CTA COLOURS */

/* CTA column layout fix for LEARN MORE link */

.cta-boxes .link-text {
	margin-top:auto;
}

/* SET NEWS AND CPT POST CAROUSEL TEXT COLOURS AND ARROW SPACING */

.single-content .sch_news_carousel_row .uagb-post__title a {
    color: var(--global-palette3);
}

.sch_news_carousel_row .uagb-post-grid a.uagb-post__link {
    color: var(--global-palette3);
}

.sch_category_archive_posts li h3.wp-block-post-title {
	color: var(--global-palette3);
}

.sch_category_archive_posts li .wp-block-post-excerpt__more-text a {
	color: var(--global-palette3);
}

/* SET SCHOOL LIFE QUERY GRID TO EQUAL HEIGHT */

.equal-height-card .kb-query-item.type-school-life {
display: flex!important;
}

/* END NEWS AND CPT POST CAROUSEL TEXT COLOURS */

/* MISC */

h4.enrol_subhead {
	font-weight:400!important;
}

.sch_banner_cta_sec .kt-blocks-info-box-learnmore.info-box-link:hover {
    color: var(--global-palette7)!important;
}

/* REMOVE TRANSLATE ICON FROM 2ND MENU  */

header .secondary-navigation .secondary-menu-container > ul > li:last-child.menu-item > a:before {
    display:none;
}

.sch_acc_container .sch_newsletter_date_title.accordion_head {
    margin-left: 30px;
	  cursor: pointer;
}

.sch_acc_container .sch_newsletter_date_title.accordion_head:before {
    content: "";
    border-color: transparent #dda441;
    border-style: solid;
    border-width: 0.5em 0 0.5em 0.7em;
    display: block;
    height: 0;
    width: 0;
    left: -20px;
    top: 1.5em;
    color: #dda441;
    position: relative;
}

.sch_acc_container.active .sch_newsletter_date_title.accordion_head:before {
    transform: rotate(90deg);
}

/* SLIDER NAV ARROW HOVER EFFECT - CHANGE THE COLOUR TO MATCH BUTTON GLOBAL COLOUR  */

body div#n2-ss-2 .nextend-arrow:hover {
    box-shadow: 0px 0px 0px 12px #c899165c;
}

/* footer styles  */

#block-11.widget img {
	margin-top:6px;
} 

.footer-widget2 #block-17 {
padding-left:90px;
	max-width:360px;
}

.footer-widget2 #block-17 .wp-block-image
{
margin-bottom: 30px;
}

.site-footer ul#menu-footer-quick-links > li > a{
	color: #ffffff;
}

.site-footer-bottom-section-2{
	justify-content: flex-end;
}

.site-footer-bottom-section-2 .site-info-inner{
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.site-footer-bottom-section-2 .site-info-inner .widget_block{
	margin-bottom: 0;
	padding-bottom: 0;
}

.site-footer-bottom-section-2 .site-info-inner .widget_block p{
	margin-top: 0;
}

.site-footer-bottom-section-2 .site-info-inner .widget_block img{
	margin: 0 ;
	padding: 0;
}

.site-footer-bottom-section-2 .footer-widget-area{
	align-items: center;
}


@media screen and (min-width:769px) {
.full-height .kt-image-overlay-wrap .kt-block-intrisic {
    padding-bottom: 207.5%;
}
}

.single-content .sch_cta_gallery_row .kt-image-overlay-message h6.image-overlay-subtitle {
    width: calc(100% - 50px);
}

/** Notifications **/
.notifications-sc{
	position: fixed;
	z-index: 9999;
	top: 92%;
	right: 7%;
}

.notifications-sc .notif-bell {
	width: 55px;
	height: 55px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	z-index: 9;
	top: 0;
	cursor: pointer;
}


.notifications-sc i{
	margin: 0 !Important;
}

.notifications-sc .notif-bell i{
	color: #ffffff;
	text-align: center;
	margin: 0 !important;
	padding: 0;
	font-family: "Font Awesome 5 Free";
	animation: ring 4s .7s ease-in-out infinite;
  transform-origin: 50% 4px;
}

.notifications-sc:has(.open)  .notif-bell i{
	animation: none;
}

.notifications-sc-wrap{
	position: absolute;
	background: var(--global-palette2);
	display: block;
	width: 300px;
	min-height: 170px;
	top: -23vh;
	right: calc(93% - (55px/2));
	transform-origin: bottom right;
	z-index: 999;
	border-radius: 5px;
	display: flex;
	flex-wrap: wrap; 
	padding: 60px 30px 30px 30px;
	z-index: 1;
	transform: scale(0);
	transition: all 0.3s cubic-bezier(.45,.05,.55,.95);
    box-shadow: 0 0 5px rgb(0 0 0 / .2);
	text-align: left;
	color: #ffffff;
}

.notifications-sc-wrap.open{
	transform: scale(1);
}


.notifications-sc .notif-counter{
	width: 20px;
	height: 20px;
	background: var(--global-palette3);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-size: 13px;
	position: absolute;
	top: -6px;
	right: 0;
	z-index: 2;
}

.notifications-sc .notif-close-btn{
	width: 30px;
	height: 30px;
	top: 0;
	left: 0;
	position: absolute;
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	cursor: pointer;
	background: var(--global-palette1);
}

@keyframes ring {
  0% { transform: rotate(0); }
  1% { transform: rotate(30deg); }
  3% { transform: rotate(-28deg); }
  5% { transform: rotate(34deg); }
  7% { transform: rotate(-32deg); }
  9% { transform: rotate(30deg); }
  11% { transform: rotate(-28deg); }
  13% { transform: rotate(26deg); }
  15% { transform: rotate(-24deg); }
  17% { transform: rotate(22deg); }
  19% { transform: rotate(-20deg); }
  21% { transform: rotate(18deg); }
  23% { transform: rotate(-16deg); }
  25% { transform: rotate(14deg); }
  27% { transform: rotate(-12deg); }
  29% { transform: rotate(10deg); }
  31% { transform: rotate(-8deg); }
  33% { transform: rotate(6deg); }
  35% { transform: rotate(-4deg); }
  37% { transform: rotate(2deg); }
  39% { transform: rotate(-1deg); }
  41% { transform: rotate(1deg); }

  43% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

.notif-slider{
	display: flex;
	flex-direction: column;
	max-width: 100%;
}

.notif-slider .splide__list{
	backface-visibility: hidden;
  display: flex;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
	order: 1;
}

.notif-slider .splide__arrows{
	order: 2;
	display: flex;
}

.notif-slider .splide__arrows .splide__arrow{
	position: relative;
	top: unset;
	left: unset;
	right: unset;
	transform: none;
	background: none;
	opacity: 1;
	padding: 0;
	margin: 0;
	width: auto;
	height: auto;
}

.notif-slider .splide__arrows .splide__arrow:hover,
.notif-slider .splide__arrows .splide__arrow:focus,
.notif-slider .splide__arrows .splide__arrow:active{
	background: none;
}

.notif-slider .notif{
	display: flex;
	flex-direction: column;
}


.notif-slider .notif-title{
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: 600;
}

.notif-slider p{
	font-size: 13px;
}

.notif-slider h4,
.notif-slider p{
	color: #ffffff;
}

.notif-slider .read-more-link{
	opacity: 0.5;
	display: block;
	text-transform: uppercase;
	margin-bottom: 20px;
	font-size: 13px;
	color: #ffffff !important;
	transition: opacity 200ms ease-in;
}

.notif-slider .read-more-link:hover{
	text-decoration: none;
	opacity: 1;
}

/** News carousel **/

.sch_news_carousel_row .kb-splide .splide__arrow--prev {
left:-50px;
}

.sch_news_carousel_row .kb-splide .splide__arrow--next {
right:-50px;
}

.news-carousel .kt-blocks-post-grid-item{
	height: 100%;
}

.news-carousel .news-card > .kt-inside-inner-col, 
.news-carousel .news-card-content > .kt-inside-inner-col{
	display: flex;
	flex-direction: column;
}

.news-carousel .news-card-content, .news-carousel .news-card-content > .kt-inside-inner-col{
	flex-grow: 1;
}

.news-carousel .kt-blocks-post-grid-item-inner-wrap, .news-carousel .news-card, .news-carousel .news-card > .kt-inside-inner-col{
	height: 100%;
}


/**Breadcrumbs **/
.yoast-breadcrumbs span,
.yoast-breadcrumbs a{
	color: #ffffff;
	text-decoration: none;
}

.yoast-breadcrumbs a{
	color: var(--global-palette8);
}

/** Term Calendar **/
.term-cal-tabs .kb-tabs-list-columns{
	border-radius: 4px;
	overflow: hidden;
}

.term-dates-cal .term-dates-title{
	padding: 20px;
	background: var(--global-palette2);
	text-align: center;
	color: #ffffff;
	margin: 0;
}

.term-dates-cal .term-dates-table{
	margin-bottom: 20px;
}

.term-dates-cal .term-dates-table .term-date-row{
	display: grid;
	grid-template-columns: 25% 25% 25% 25%;
	padding: 0;
	gap: 0;
}

@media screen and (max-width: 767px){
	.term-dates-cal .term-dates-table .term-date-row{
		grid-template-columns: 50% 50%;
	}
}

.term-dates-cal .term-dates-table .term-date-row > div{
	padding: 20px;
	text-align: center;
	font-size: 20px;
	font-weight: 500;
	color: var(--global-palette4);
}

.term-dates-cal .term-dates-table .term-date-row:nth-child(odd) > div:nth-child(even){
	background: color-mix(in srgb, var(--global-palette7) 60%, white);
}

.term-dates-cal .term-dates-table .term-date-row:nth-child(odd) > div:nth-child(odd){
	background: color-mix(in srgb, var(--global-palette7) 30%, white);
}

.term-dates-cal .term-dates-table .term-date-row:nth-child(even) > div:nth-child(odd){
	background: color-mix(in srgb, var(--global-palette7) 60%, white);
}


.term-dates-cal .term-dates-table .term-date-row:nth-child(even) > div:nth-child(even){
	background: color-mix(in srgb, var(--global-palette7) 80%, white);
}

.term-dates-cal .term-dates-table .term-date-row div.event-name{
	text-align: left;
}

.term-dates-cal .term-dates-table .term-date-break{
	background: color-mix(in srgb, var(--global-palette7) 99%, red);
	padding: 20px;
	text-align: center;
  font-size: 24px;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--global-palette1);
}

/**Announcement Box**/
@keyframes bell {
            0% { transform: rotate(0); }
            1% { transform: rotate(30deg); }
            3% { transform: rotate(-28deg); }
            5% { transform: rotate(34deg); }
            7% { transform: rotate(-32deg); }
            9% { transform: rotate(30deg); }
            11% { transform: rotate(-28deg); }
            13% { transform: rotate(26deg); }
            15% { transform: rotate(-24deg); }
            17% { transform: rotate(22deg); }
            19% { transform: rotate(-20deg); }
            21% { transform: rotate(18deg); }
            23% { transform: rotate(-16deg); }
            25% { transform: rotate(14deg); }
            27% { transform: rotate(-12deg); }
            29% { transform: rotate(10deg); }
            31% { transform: rotate(-8deg); }
            33% { transform: rotate(6deg); }
            35% { transform: rotate(-4deg); }
            37% { transform: rotate(2deg); }
            39% { transform: rotate(-1deg); }
            41% { transform: rotate(1deg); }
            43% { transform: rotate(0); }
            100% { transform: rotate(0); }
        }

.announcement-row:before{
	    content: '';
    position: absolute;
    top: 20px;
    right: 50px;
    width: 20.7%;
    height: 74.7%;
    background: url(../images/bell.png) no-repeat;
    background-size: contain;
    animation: bell 4s .7s ease-in-out infinite;
}


/*  School/Class Life Gallery  */

.gallery-section .kb-splide ul.splide__pagination.splide__pagination {
	bottom:-30px;
}

/* FOOTER */

.site-footer-row h2.widget-title {
	font-size:22px!important;
	color: white!important;
	text-transform:unset;
	font-weight:normal;
}

.site-footer-row p {
	margin-top:0;
}

.site-footer-row a.social-button {
	justify-content: flex-start;
}

/* Footer links */
ul#menu-footer-quick-links a:hover {
	text-decoration:underline;
}

.news-card figure,
.class-life-card figure{
	overflow: hidden;
}

.news-card img,
.class-life-card img{
	transform: scale(1);
	transition: all 300ms ease-in-out;
}

.news-card:hover img,
.class-life-card:hover img{
	transform: scale(1.085);
}

/* EVENTS CALENDAR CUSTOM TEMPLATE */

.day-month p {
	font-size:24px;
}



/* =====================================================================
 * Framework additions (Acton Schools theme 1.0)
 * ===================================================================== */

/* Accordion toggles are real buttons for keyboard/screen-reader users */
.sch_category_name.accordion_head { cursor: pointer; }
.sch_category_name.accordion_head h3 { margin: 0; }
.acs-acc-toggle {
	all: unset;
	cursor: pointer;
	display: inline;
	font: inherit;
	color: inherit;
}
.acs-acc-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sch_all_resources_wrap[hidden] { display: none !important; }

/* Resource file-type icons (inline SVG replaces the old uploaded PNGs) */
.sch_resource_img_wrap svg { width: 44px; height: 44px; color: var(--global-palette1); display: block; }

/* Term dates: supplied wording fallback + footnote */
.term-dates-notes, .term-dates-footnote { padding: 1rem 0; }
.term-dates-footnote { font-size: .9em; color: var(--global-palette5); }

/* Hero captions over the background slider */
.acs-hero { position: relative; }
.acs-hero-captions { position: relative; min-height: 1.5em; }
.acs-hero-caption { margin: 0; transition: opacity .6s ease; }
.acs-hero-captions.is-rotating .acs-hero-caption { position: absolute; inset: 0 0 auto 0; opacity: 0; }
.acs-hero-captions.is-rotating .acs-hero-caption.is-active { position: relative; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .acs-hero-caption { transition: none; } }

/* Book list buttons wrap nicely when there are many classes */
.acs-booklists.wp-block-kadence-advancedbtn { flex-wrap: wrap; gap: 10px; }

/* Notifications bell is now a <button> */
.notifications-sc .notif-bell { border: 0; cursor: pointer; }
.notifications-sc .notif-close-btn { background: none; border: 0; cursor: pointer; }

/* School contact block */
.acs-school-contact a { color: inherit; }
