@keyframes hero-text {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes hero-line-1 {
	from {
		height: 0;
	}
	to {
		height: 280px;
	}
}

@keyframes hero-line-2 {
	from {
		width: 0;
	}
	to {
		width: 280px;
	}
}

/*
#home-hero {
	position: relative;
	padding-top: 63%;
	background: url("../images/pages/home-hero-2.jpg") center center no-repeat;
	background-size: cover;
	cursor: default;
}
*/

#home-hero {
	position: relative;
	padding-top: 56%;
	cursor: default;
	background: black;

}

#home-hero video {
	position: absolute;
	width: 100%;
	height: auto;
	z-index: 1;
	top: 0;
	background: black;
}

#home-hero h1 {
	position: absolute;
	z-index: 2;
	bottom: 88px;
	left: 88px;
	padding: 42px;
	margin: 0;
	background: none;
	text-align: left;
	font-family: var(--serif);
	font-size: 100px;
	line-height: 102px;
	color: white;
	animation-name: hero-text;
	animation-duration: 1.5s;
	animation-delay: .5s;
	animation-fill-mode: both;
}

#home-hero h1:before,
#home-hero h1:after {
	dislay: block;
	position: absolute;
	z-index: 3;
	content: "";
	width: 9px;
	height: 280px;
	bottom: 0;
	left: 0;
	background: white;
	animation-name: hero-line-1;
	animation-duration: 1s;
	animation-delay: .5s;
	animation-fill-mode: both;
}

#home-hero h1:after {
	width: 280px;
	height: 9px;
	animation-name: hero-line-2;
}

#home-hero h1 span {
	display: block;
}

#home-hero .caption {
	position: absolute;
	z-index: 4;
	width: 40%;
	max-width: 400px;
	bottom: 35px;
	right: 35px;
	color: white;
	font-size: 15px;
	line-height: 18px;
	text-align: right;
	opacity: .7;
}

#home-intro {
	position: relative;
	margin: 100px 0;
	padding-top: 40%;
	padding-bottom: 50px;
	background: url("../images/pages/home-pilgrimage.svg") center bottom no-repeat;
	background-size: 100% auto;	
}

#home-intro .text {
	position: absolute;
	width: 47%;
	max-width: 718px;
	right: 8%;
	top: 0;
	font-size: 20px;
	line-height: 30px;
	cursor: default;
}

#home-intro h2 {
	margin: 30px 0;
	font-family: var(--headline);
	font-weight: 400;
	font-size: 46px;
	line-height: 50px;
	color: var(--color);
}

#home-intro .action {
	margin-top: 60px;
	text-align: right;
}

#home-intro .action .button {
	font-size: 24px;
	line-height: 32px;
	font-weight: 600;
}

#home-transition {
	margin: 40px auto;
	padding: var(--pad);
}

#home-transition h2 {
	margin: 30px 0;
	font-family: var(--headline);
	font-weight: 400;
	font-size: 56px;
	line-height: 58px;
	text-align: center;
	color: black;
	cursor: default;
}

#home-transition .transition-list {
	display: flex;
	padding: 30px 0;
}

#home-transition .transition-item {
	flex-basis: 33.33%;
	padding: 0 30px 40px;
	background: url("../images/common/dash-vert.png") repeat-y;
	background-size: 1px 8px;
}

#home-transition .transition-item:first-child {
	background: none;
}

#home-transition .transition-item img {
	display: block;
	width: 100%;
	height: auto;
}

#home-transition .transition-item .title {
	font-family: var(--serif);
	font-weight: bold;
	font-size: 30px;
	line-height: 32px;
	margin: 30px 0 15px;
	color: black;
}

#home-transition .transition-item .summary {
	font-family: var(--sans);
	font-weight: 400;
	font-size: 19px;
	line-height: 24px;
	color: var(--neutral);
}

#home-transition .transition-item a:hover .title {
	color: var(--accent);
}

#home-news {
	background: var(--color);
	color: white;
	padding: 70px 0 80px;	
}

#home-news:before,
#home-news:after {
	display: block;
	height: 1px;
	content: "";
	overflow: hidden;
	background: url("../images/common/dash-horiz.png") repeat-x;
	background-size: 8px 1px;	
}

#home-news .wrap {
	display: flex;
	padding: var(--pad);
	padding-top: 60px;
	padding-bottom: 100px;
}

#home-news .text {
	flex-basis: 50%;
	padding: 0 30px;
	-webkit-font-smoothing: antialiased;
}
	
#home-news .badge {
	padding-left: 42px;
	margin-bottom: 30px;
	text-transform: uppercase;
	height: 40px;
	line-height: 40px;
	font-size: 19px;
	font-weight: bold;
	background: url("../images/common/news.svg") left center no-repeat;
	cursor: default;
}	

#home-news .title {
	max-width: 650px;
	margin: 25px 0 20px;
	font-family: var(--headline);
	font-weight: 400;
	font-size: 56px;
	line-height: 58px;
}

#home-news .title a {
	color: white;
}

#home-news .summary {
	max-width: 500px;
	margin-bottom: 50px;
	font-size: 19px;
	line-height: 26px;
	font-weight: 600;
}

#home-news .button {
	font-size: 19px;
	line-height: 26px;
	font-weight: 700;
	background-color: transparent;
}

#home-news figure {
	flex-basis: 50%;
	padding: 0 30px;
}	

#home-news figure img {
	display: block;
	width: 100%;
	height: auto;
}	

#home-news .more {
	display: block;
	position: absolute;
	left: 50%;
	width: 260px;
	padding: 0 20px;
	margin-left: -150px;
	margin-top: -30px;
	background: var(--color);
	z-index: 10;
	text-align: center;
}

#home-features {
	display: flex;
	padding: 30px;
	margin: 75px 0;
}

#home-features .feature-item {
	flex-basis: 50%;
	padding: 0 30px 40px;
	background: url("../images/common/dash-vert.png") repeat-y;
	background-size: 1px 8px;
}

#home-features .feature-item:first-child {
	background: none;
}

#home-features .feature-item img {
	display: block;
	width: 100%;
	height: auto;
}

#home-features .feature-item .label {
	position: absolute;
	z-index: 2;
	margin-top: -25px;
	margin-left: -8px;
	padding: 9px 18px;
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 700;
	color: white;
	background: var(--accent);
	-webkit-font-smoothing: antialiased;
}

#home-features .feature-item .title {
	max-width: 700px;
	font-family: var(--serif);
	font-weight: bold;
	font-size: 36px;
	line-height: 38px;
	margin: 40px 0 15px;
	color: black;
}

#home-features .feature-item .title:hover {
	color: var(--accent);
}

#home-features .feature-item .summary {
	max-width: 600px;
	font-family: var(--sans);
	font-weight: 400;
	font-size: 19px;
	line-height: 24px;
	color: var(--neutral);
}

.nav-toggle {
	text-align: center;	
	margin: 72px 0 0;
	padding: 0 20px;
}

.nav-toggle ul {
	display: flex;
	width: fit-content;
	margin: 0 auto;
	list-style: none;
	padding: 0;
	border: 1px solid #3CA2B2;
}

.nav-toggle li {
	flex-shrink: 1;
	padding: 0;
	margin: 0;
	border-right: 1px solid #3CA2B2;
}

.nav-toggle li:last-child {
	border: none;	
}

.nav-toggle li a {
	display: inline-block;
	padding: 15px 45px;
	background: white;
	color: #3CA2B2;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 20px;
	-webkit-font-smoothing: antialiased;
}

.nav-toggle li.selected a {
	background: #3CA2B2;
	color: white;
}



.list {
	max-width: 1050px;
}

.list ul {
	list-style: none;
	margin: 0;
	padding: 1px 0;	
}

.list li {
	display: flex;
	padding: 28px 0;
	margin: 40px 0;
	gap: 50px;
}

.list .thumb {
	flex-basis: 40%;
	max-width: 400px;
}

.list .thumb img {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 0;
}

.list .text {
	flex-basis: 60%;
	max-width: 600px;
}

.list .text > * {
	margin-top: 0;
}

.list .title {
	max-width: 530px;
	margin-bottom: 20px;
	font-family: var(--serif);
	font-weight: bold;
	font-size: 30px;
	line-height: 34px;
}

.list .title a {
	color: black;
}

.list .title a:hover {
	color: var(--accent);
}

.list .details {
	margin: -5px 0 20px;
	font-size: 18px;
	line-height: 20px;
	font-weight: 500;
	color: var(--neutral);	
}

.list .details span {
	display: inline-block;
	margin: 0 5px;	
}

.list .details a {
	color: var(--accent);
}

.list .summary {
	font-size: 20px;
	line-height: 28px;
}

.list .summary a {
	color: black;
	border-bottom: 1px solid black;
}

.list .summary a:hover {
	color: var(--accent);
	border-color: var(--accent);
}

.page-layout {
	position: relative;
	margin: 80px auto;
	max-width: 730px;	
	padding: var(--pad);
}

.page-layout.list {
	max-width: 1050px;	
}

.page-layout.two-column {
	display: flex;
	gap: 5%;
	max-width: 1250px;	
	flex-direction: row-reverse;
}

.column-main {
	flex-grow: 1;
}

.column-side {
	flex-basis: 30%;
	flex-grow: 0;
	flex-shrink: 0;
}

.sidebar {
	width: 310px;
	background: var(--color);
	color: white;
	padding: 35px;	
}

.sidebar h2 {
	margin: 0;
	font-size: 30px;
	font-family: var(--sans);
	color: white;
}

.sidebar h3 {
	margin: 0;
	font-size: 20px;
	font-family: var(--sans);
	color: white;
}

.sidebar a {
	color: white;
    text-decoration: underline;
}

.sidebar .button {
	display: block;
	padding: 15px 10px;
	margin: 20px 0;
	color: var(--color);
	background: white;
	text-align: center;
	font-weight: bold;
	font-size: 20px;
	-webkit-font-smoothing: initial;
	border: 0;
}

.sidebar .button:hover {
	color: var(--hover);
}

.page-label {
	position: absolute;
	z-index: 2;
	margin-top: -25px;
	width: 100%;
	text-align: center;
}



.page-label a,
.page-label div {
	position: relative;
	display: inline-block;
	margin: auto;
	padding: 9px 18px;
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 700;
	color: white;
	background: var(--accent);
	-webkit-font-smoothing: antialiased;
}

.page-label div {
	cursor: default;
}

.page-intro {
	position: relative;	
	margin: 50px 0;
	font-size: 28px;
	line-height: 38px;
	font-weight: 300;
}

.page-intro a {
	color: black;
	border-bottom: 1px solid black;
}

.page-intro a:hover {
	color: var(--accent);
	border-color: var(--accent);
}

.page-intro:before {
	display: block;
	position: absolute;
	content: "";
	overflow: hidden;
	left: -44px;
	top: 0;
	width: 4px;
	height: 100%;
	background: var(--color);
}

.page-content {
	font-size: 20px;
	line-height: 30px;	
}

.page-content h2 {
	margin: 75px 0 20px;	
}

.page-content h3 {
	margin: 40px 0 20px;	
}

.page-content a {
	color: black;
	border-bottom: 1px solid black;
}

.page-content a:hover {
	color: var(--accent);
	border-color: var(--accent);
}

.page-content .button {
	display: inline-block;
	padding: 15px 30px;
	margin: 20px 0;
	color: white;
	background: var(--color);
	text-align: center;
	font-weight: bold;
	font-size: 20px;
	border: 0;
}

.page-content .button:hover {
	color: white;
	background: var(--hover);
}

.page-content .callout {
	width: 100%;
	padding: 40px 50px;
	margin-left: -50px;
	background: var(--color);
	color: white;	
}

.page-content .callout a {
	font-weight: bold;
	color: white;
	border-bottom: 1px solid white;
}

.page-content .callout .button {
	display: block;
	margin: auto;
	margin-top: 20px;
	width: fit-content;
	background: white;
	color: var(--color);
	border-bottom: 0;
}

.page-content .callout .button:hover {
	color: var(--hover);
}

.page-content figure {
	position: relative;
	margin: 0;
	padding: 0;
}

.page-content img {
	display: block;
	width: 130%;
	height: auto;
	margin: 40px 0;
	margin-left: -15%;	
}

.page-content .img-left,
.page-content .img-right {
	width: 50%;
	height: auto;
	object-fit: cover;
	margin: 10px 0 10px;
}

.page-content .img-left img,
.page-content .img-right img {
  width: 100%;
  margin: 0;
}

.page-content .img-left {
	float: left;
	margin-right: 30px;
	margin-left: -15%;
}

.page-content .img-right {
	float: right;
	margin-left: 30px;
	margin-right: -15%;
}

.page-content figure figcaption {
	position: absolute;
	padding: 10px 12px;
	right: -15.7%;
  bottom: -20px;
	background: var(--accent);
	font-weight: 700;
	color: white;
	font-size: 15px;
  line-height: 19px;
	-webkit-font-smoothing: antialiased;
}

.page-content .list {
	margin-left: -15%;
	margin-right: -15%;
}

.page-content .list li {
	padding: 0;
	gap: 30px;	
}

.page-content .list .thumb img {
	margin-left: 0;	
}

.page-content ul.grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 40px -15%;
	padding: 0;	
	list-style: none;
	text-align: center;
}

.page-content ul.grid > li:nth-child(odd) {
	padding-left: 0;
}

.page-content ul.grid > li:nth-child(even) {
	padding-right: 0;
}

.page-content ul.grid > li:nth-child(odd) {
	border-right: 1px dashed black;
}

.page-content ul.grid > li:nth-child(n+3) {
	border-top: 1px dashed black;
}

.page-content ul.grid li {
	margin: 0;
	padding: 30px;	
}

.page-content ul.grid li img {
	width: 100%;
	margin: 0;	
}

.page-content ul.grid figure:not(:first-child) {
  margin-top: 40px;
}

.page-content ul.grid figure figcaption {
  right: -10px; 
}


.page-content .gallery {
	margin: 40px 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;	
}

.page-content .gallery img {
	width: 100%;
	height: auto;
	margin: 0;	
	cursor: pointer;
}

.page-content .gallery .caption {
	display: none;
}

.page-callout-button {
	margin: 100px 0;
	text-align: center;	
}

.page-callout-button a {
	display: inline-block;
	background: var(--color);
	color: white;
	padding: 20px 40px;
	font-size: 30px;
	line-height: 41px;
	font-weight: bold;
}

.page-callout-button a.donate-button {
	background: var(--color) url("../images/common/icon-heart.svg") 30px center no-repeat;
	padding-left: 90px;
}

.page-callout-button a:hover {
	background-color: var(--hover);
}

.page-footer {
	padding: 50px;	
	padding-bottom: 100px;
	text-align: center;
}


.article-top {
	width: 110%;
	margin-top: -10px;
	margin-left: -5%;
	margin-bottom: 60px;
	font-size: 18px;
	text-align: center;	
	cursor: default;
}

.article-title {
	font-family: var(--headline);
	font-size: 50px;
	line-height: 58px;	
}

.article-details {
	color: var(--neutral);	
}

.article-details span {
	display: inline-block;
	margin: 0 5px;
}

.article-details a {
	color: var(--accent);
}

#register {
	background: #F4F4F4;
	padding: 50px;
	margin-top: 80px;
	scroll-margin-top: 120px;
}

#register h2 {
	margin-top: 0;
}


#search-form {
	background: black;
	padding: 60px;
	margin-bottom: 70px;
}

#search-form form {
	display: flex;
	gap: 20px;
}

#search-form div {
	flex-grow: 1;	
}

#search-form form label {
	display: none;
}

#search-form input {
	height: 62px;
	padding-left: 15px;
	padding-right: 15px;
	border: 0;
	margin: 0;
	font-family: var(--sans);
	font-size: 19px;	
}

#search-form .button {
	flex-basis: 180px;
	background: var(--color) url("../images/common/arrow-right.svg") right 20px center no-repeat;
	cursor: pointer;
}

#search-form .button:hover {
	background-color: var(--hover);
}

#search-results {
	padding: 10px 60px 120px;
}

#search-results .result {
	display: block;	
	padding: 30px 0;
	border-bottom: 1px dashed black;
}

#search-results .result:last-child {
	border-bottom: 0;
}

#search-results .title {
	max-width: 800px;
}

#search-results .summary {
	max-width: 800px;
}

.none-found {
	font-size: 30px;
	text-align: center;
	padding: 100px 0;
}

#media-intro {
	position: relative;
	margin: 80px auto 120px;
	max-width: 950px;	
	padding: var(--pad);
}

#media-intro .intro-container {
	position: relative;
	border: 2px dashed var(--color);
	text-align: center;
	font-size: 28px;
	padding: 50px 50px 90px;	
}

#media-intro .intro-text {
	padding: 0 40px 0;	
}

#media-intro .intro-buttons-container {
	position: relative;
}

#media-intro .intro-buttons {
	position: absolute;
	display: flex;
	top: 50px;
	width: 100%;
	background: var(--color);
	color: white;
	padding: 15px 0;
	font-size: 20px;
	font-weight: bold;
	-webkit-font-smoothing: antialiased;
}

#media-intro .intro-buttons a {
	display: block;
	color: white;
	flex-basis: 50%;
	padding: 0;
}

#media-intro .intro-buttons a:first-child {
	border-right: 1px solid white;
}

#media-intro .intro-buttons img {
	display: inline-block;
	margin-right: 15px;
	vertical-align: middle;
}

#media .divider {
	padding-bottom: 80px;
	margin-bottom: 0;
	border-bottom: 1px dashed black;	
}

#media .page-layout h1 {
	background: none;
	color: black;	
	padding: 0;
}

#media .button-container {
	text-align: center;	
}

#media .button {
	display: inline-block;
	height: 24px;
	text-decoration: none;
	border: 0;
	padding-right: 50px;
	margin: 40px auto 0;
	line-height: 24px;
	padding: 18px 65px 18px 40px;
	font-weight: bold;
	background: var(--accent) url("../images/common/arrow-right.svg") right 25px center no-repeat;
	cursor: pointer;
	color: white;
	-webkit-font-smoothing: antialiased;
}

#media .button:hover {
	background-color: #3AB8CD;
}


/* -- Staff -- */

.staff-layout {
	max-width: 1500px;	
}

.staff-group {
	scroll-margin-top: 200px;
	padding-bottom: 40px;	
}

.staff-group h2 {
	text-align: center;
}	

.staff-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	gap: 20px;
}

.staff-member {
	padding-bottom: 20px;	
}

.staff-member a {
	color: black;
}	

.staff-member .photo {
	display: block;
	margin-bottom: 15px;
}	

.staff-member .photo img {
	display: block;
	width: 100%;
	height: auto;
}	

.staff-member .name {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: 19px;
	line-height: 21px;
	color: black;
	transition: color .2s;
}	

.staff-member a:hover .name {
	color: var(--accent);	
}

.staff-member .job {
	display: block;
	font-size: 16px;
	line-height: 18px;
}