/*
Theme Name: NHS Borders - Nightingale SHOW 
Theme URI:
Description: Child theme for the Nightingale theme for NHS Borders
Author: SHOW - OT
Template: nightingale-show
Version: 1.0
Text Domain: nightingale-child
*/


/*body:after {
    content: "Beta";
    position: fixed;
    width: 160px;
    height: 25px;
    background: #BB5811;
    top: 35px;
    left: -35px;
    text-align: center;
    font-size: 1.1em;
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    line-height: 27px;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    z-index: 4000;
    opacity: 0.8;
}
*/

.XXX2 {
	display: none;
}

.home .nhsuk-main-wrapper {
    padding: 0px;
	    ?*margin: -18px*/
}

#block-10 .wp-block-image {
    margin: 0px;
}

#block-10 .wp-block-image img {padding: 5px;}

.rounded-corners {
	    border-radius: 10px;
}

.icon-size-65 img {max-width: 65%;}

.centre-align .wp-block-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.centre-align .wp-block-group {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.feedback-contact    {border: 1px solid #86b0ce;
    border-radius: 10px;
    padding: 5px;
}

.feedback-contact:hover    {background: #194271;
}

.nhsuk-hero--image-description .nhsuk-hero-content {max-width: 38em; opacity: 0.9;}


/* Only equalise promo card heights for promoblocks  */
.wp-block-columns:has(.wp-block-nhsblocks-promo1) {
    align-items: stretch;
}

.wp-block-columns:has(.wp-block-nhsblocks-promo1) > .wp-block-column {
    display: flex;
}

.wp-block-columns:has(.wp-block-nhsblocks-promo1) .wp-block-nhsblocks-promo1 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wp-block-columns:has(.wp-block-nhsblocks-promo1) .nhsuk-card__content {
    flex-grow: 1;
}

/* Services A-Z shortcode */
@media (prefers-reduced-motion: no-preference) {
	html:has(.services-az-nav) {
		scroll-behavior: smooth;
	}
}

.services-az-nav {
	margin-bottom: 2rem;
}

.services-az-nav__list {
	margin: 0;
	padding: 0;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-align: center;
}

.services-az-nav__list a {
	text-decoration: none;
}

.services-az-nav__sep {
	margin: 0 0.35em;
	font-weight: 400;
	opacity: 0.6;
}

.services-az-group {
	margin-bottom: 2rem;
	scroll-margin-top: 1rem;
}