.current-menu-item a,
.current_page_item a {
  text-decoration: underline;
}

strong, b {
    font-weight: 700;
}

/*button hover colour*/
.wp-block-button__link:hover,
.wp-block-button__link:focus {
    background-color: #572096 !important;
    border-color: #572096 !important;
}

.donate-button a:hover,
.donate-button a:focus {
    background-color: #ffffff !important;
    border-color: #6078FF !important;
    color: #370B69 !important;
    transition: all 0.4s ease;
}

@media (max-width: 781px) {
    .donate-button {
        display: none !important;
    }
}


/*home page reverse "about" column order on mobile*/ 
@media only screen and (max-width: 600px) {
   .reverse-order :nth-child(1) { order: 2; }
}

/* Homepage - Slow down hero slider */
.hero-blob-slideshow .swiper-slide {
  transition: opacity 1.8s ease-in-out !important;
}

.hero-blob-slideshow .swiper-wrapper {
  transition-timing-function: ease-in-out !important;
}

/* Clean up slideshow */
.hero-blob-slideshow .swiper-button-prev,
.hero-blob-slideshow .swiper-button-next,
.hero-blob-slideshow .wp-block-jetpack-slideshow_button-pause,
.hero-blob-slideshow .wp-block-jetpack-slideshow_pagination {
  display: none !important;
}

/* Event page - event card background and spacing plus purple instead of green line*/
.em-event.em-item {
    background-color: var(--wp--preset--color--base) !important;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	    --default-border: #370B69 !important;
}
.em-event.em-item:not(.em-event-single) {
    padding: 12px !important;
}

.em-item-title > a,
.em-item-title > a:link,
.em-item-title > a:visited,
.em-item-title > a:hover {
    color: black !important;
		 font-size: 1.5rem !important;
}


.em-item-image img {
    height: 100%;
    object-fit: cover;
    display: block;
		max-height: 302px; 
}

.em-event-single .em-item-image img {
    max-height: 400px;
}

.em.pixelbones.em-events-list {
    font-family: "Ysabeau Office", sans-serif !important;
	font-size: 1.3rem !important;
	color: rgb(95, 95, 95) !important;
	line-height: 31.2806px !important;
}



/* Styling the single event page */ 

/* When/Where headings - remove capitalisation */
.em-event-when h3,
.em-event-where h3 {
    text-transform: none !important;
}

/* Purple line */
.em-item-header {
    --default-border: #370B69 !important;
}

/* Remove the background so it looks like a normal page */
.em-item.em-event-single {
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}


/* Styling the desktop menu dropdown */ 

/* Dropdown container */
.wp-block-navigation .wp-block-navigation__submenu-container {
    background-color: #572096!important;
    border: none !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
    padding: 8px 0 !important;
    min-width: 180px !important;
    
    /* Centre under parent */
    left: 50% !important;
    transform: translateX(-50%) !important;
    
    /* Fade in animation */
    opacity: 0;
    transition: opacity 0.2s ease !important;
    pointer-events: none;
}

/* Show on hover */
.wp-block-navigation-item:hover .wp-block-navigation__submenu-container,
.wp-block-navigation-item:focus-within .wp-block-navigation__submenu-container {
    opacity: 1 !important;
    pointer-events: auto;
}

/* Dropdown links */
.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    color: #ffffff !important;
    padding: 10px 24px !important;
    display: block;
    font-size: 0.95rem !important;
    letter-spacing: 0.02em;
}

/* Dropdown link hover */
.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Styling the mobile menu */ 

@media (max-width: 781px) {
    /* Full purple background for the mobile menu overlay */
    .wp-block-navigation__responsive-container.has-background {
        background-color: #370B69 !important;
    }

    /* All nav links white */
    .wp-block-navigation__responsive-container .wp-block-navigation-item__content,
    .wp-block-navigation__responsive-container .wp-block-navigation-item__label {
        color: #ffffff !important;
    }

    /* Submenu containers - override the base background colour */
    .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container.has-base-background-color {
        background-color: rgba(255, 255, 255, 0.15) !important;
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        opacity: 1 !important;
        width: 100% !important;
        min-width: unset !important;
    }


    /* Close button and submenu toggle arrows white */
    .wp-block-navigation__responsive-container-close,
    .wp-block-navigation__submenu-icon path {
        color: #ffffff !important;
        stroke: #ffffff !important;
    }
}