/**
 * Theme Name: Alongside
 * Template:   rws-base-theme
 */

body{
 --h1-weight: 500;
	--h2-weight: 500;
	--h3-weight: 500;
	--h4-weight: 400;
	--h5-weight: 400;
	--h6-weight: 400;
}

body strong, body b{font-weight:600;}

body h1, body h2, body h3, body h4, body h5, body h6{letter-spacing:-0.015em;margin-bottom:1rem;}

body p:not(.subtitle):not(.eyebrow):not(.large-text) :not(blockquote.quote-media-slider__quote p) :not(blockquote.hero__content-inner p) {margin-bottom:1rem;margin-top:0;font-size:1.065rem;font-family:Figtree, sans-serif;}
.flow p{margin-top:0;}

body .post-card-grid__body{padding:var(--size-3);}
body .content-column__body p:not(.large-text), body .post-card-grid__excerpt{font-family:Figtree, sans-serif}


body .eyebrow{text-transform:none;letter-spacing:0.008em;font-size:1rem;}

body .site-notice__inner{padding:var(--size-1) var(--size-3)}

 .site-notice-footer .site-notice__content{display:flex;gap:var(--size-1);justify-content:center;align-items:center;}
 .site-notice-footer{border-top:1px solid var(--notice-border);border-bottom:none;z-index:0!important}

.site-notice-footer .justify-between{width:100%}

p.subtitle{font-size:1.125rem;letter-spacing:-0.01em}
 
 .hero__media{background:none;}
 .hero__image{object-fit:contain;}
 .hero--home .hero__slide{justify-content:center;}

body .hero__content-inner p{font-size:1.375rem;font-family:Literata, serif;}


body .hero__slide{flex-direction:column-reverse;}

.button, button, input[type="submit"]{font-weight:600;
}

.button__label {
  font-size: 1.1rem;
}

.site-nav .menu-button a{
  display: inline-block;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--btn-border, transparent);
  border-radius: var(--radius-pill);
  background: var(--btn-bg, var(--btn-bg-default, #37a777));
  color: var(--btn-fg, var(--btn-fg-default, #fff));
  font-family: var(--font-ui, inherit);
  font-size: 1.1rem;
	font-weight:600;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.12s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-nav .menu-button a:hover{
  border-color: var(--btn-border-hover, var(--btn-border, transparent));
  background: var(--btn-bg-hover, var(--btn-bg-hover-default, var(--btn-bg, var(--btn-bg-default, #37a777))));
  color: var(--btn-fg-hover, var(--btn-fg-hover-default, var(--btn-fg, var(--btn-fg-default, #fff))));
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.site-nav .menu-button a:active{
  transform: translateY(1px);
}

.site-nav .menu-button.menu-button-dark-green a{
	background-color:var(--colour-dark-green);
	color:var(--colour-warm-white);
}

.site-nav .menu-button.menu-button-lime-green a{
	background-color:var(--colour-lime-green);
	color:var(--colour-dark-green);
}


a.quick-exit:after,
a[href="#quick-exit"]:after{
	content: url("data:image/svg+xml,%3Csvg width='11' height='11' viewBox='0 0 11 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.80706 0H10.6661V7.73182H8.94797V2.93433L1.82288 10.0594L1.21615 10.6661L0 9.45L0.606733 8.84327L7.73182 1.71818H2.93433V0H9.80706Z' fill='%23305452'/%3E%3C/svg%3E%0A");margin-left:10px;
}

body .site-notice--success{
	--notice-bg: var(--colour-lime-green);
    --notice-fg: var(--colour-dark-green);
    --notice-border: var(--colour-lime-green);
}

 
 @media (min-width: 56.3125rem) {
	.block-hero .hero__media {
		inset: 0 0 0 auto;
		width: 50%;
	}
}

/* Mobile */
@media (max-width: 56.25rem) {
	
		body .section-pad{padding-left:0;padding-right:0;}
	
	body .hero__content{margin-bottom:var(--size-2)}
	
	body .hero__slide{padding-bottom:0}
	.block-hero {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.block-hero .hero__media {
		position: relative;
		inset: auto;
		order: -1;
		width: 100%;
		height: auto;
	}
	
	.block-hero .hero__content{
	    margin-top:var(--gap-md);
	}

	.block-hero .hero__image {
		display: block;
		width: 100%;
		height: auto;
		object-fit: cover;
	}
	
	
	.site-nav .menu-button a{
		display:inline-block;
		margin-top:1rem;
		width:auto;
	}
}


p.eyebrow{
    padding:0.25rem 0.75rem;
    background:var(--theme-lime-green-bg);
    color:var(--colour-dark-green);
    border-radius:4px;
}

.theme--lime-green p.eyebrow{
    background:var(--theme-dark-green-bg);
    color:var(--colour-warm-white);
}


.large-text{font-size:1.75rem;font-weight:600;}

.block-flexible-content .block-links{margin-top:var(--size-4);}


body footer, header .site-nav{font-size:0.9rem;font-family:Figtree, sans-serif}

body .site-footer__contact-item{font-size:1.2rem}

body .site-footer__main{display:block;}

body .site-footer__donate img{margin:auto}

body .site-footer__menus{display:flex;}
body .site-footer__menus > *{flex:1}

body .legal-nav{margin-bottom:0.75rem}

body .theme--dark-green .site-footer__menu-title{color:var(--colour-lime-green);}
body .base-social{list-style:none;margin:0}
body .base-social__icon svg{width:40px;}
body .base-social__icon svg path{fill:currentcolor;}
body .site-footer__contact-item a{text-decoration:none;}
body .site-footer__contact-item svg path{fill:var(--colour-lime-green);}
body .theme--lime-green .site-footer__contact svg path{fill:var(--colour-warm-white);}


@media (max-width: 56.25rem) {
	
	body .site-footer__menus{display:block}
	body .site-footer__menu-column{margin-bottom:var(--size-3)}
	body .site-notice-footer .in > .flex{display:block;}
	body .site-notice-footer .site-notice__content{margin-bottom:var(--size-2)}
	body .site-footer__contact{display:block;margin-bottom:var(--size-2)}
	body #preFooter .in > .flex{display:block;text-align:center;}
	body .site-footer__contact-item{justify-content:center;}
	body .site-footer__social .base-social{justify-content:center;margin-top:var(--size-2)}
}