
/* WA Override */

:where(:root), .wa-theme-default, .wa-light, .wa-dark, .wa-invert {
    --wa-font-weight-bold: 700;
    --wa-color-brand-fill-loud: #800000;
    --wa-color-brand-on-quiet: #800000;
    --wa-color-focus:#B7B7B7;
}


@font-face {
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    src: local('Arial'), url('/font/arial.woff2') format('woff2');
}
@font-face {
    font-family: 'Arial';
    font-style: italic;
    font-weight: 400;
    src: local('Arial'), url('/font/arial-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Arial';
    font-style: normal;
    font-weight: 700;
    src: local('Arial'), url('/font/arial-bold.woff2') format('woff2');
}
@font-face {
    font-family: 'Arial';
    font-style: italic;
    font-weight: 700;
    src: local('Arial'), url('/font/arial-bold-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'League Gothic';
    font-style: normal;
    font-weight: 400;
    src: local('League Gothic'), url('/font/league-gothic-regular.woff2') format('woff2');
}


:root {
	--color-text: #54595F;
	--color-background: #ffffff;
	--color-link: #800000;
	--color-black: #000000;
    --color-link-hover: #B7B7B7;
    --font-header-family: 'League Gothic', Arial, sans-serif;
    --font-body-family: 'Arial', sans-serif;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: 0.2s;
}

.visually-hidden {
    display: none;
}

.page-width {
	max-width: 76em;
	width: 100%;
	align-self: center;
	margin: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* Header */

@media screen and (max-width: 768px) {
    .home-link img.logo {
        max-height: 70px;
    }
}

header nav {
    background: var(--color-black);
    color: var(--color-background);
	position: relative;	
}

header nav ul {
	padding: 0;
    margin: 0;
	list-style: none;
}
 
header nav.desktop-nav ul li.nav-item {
    height: 60px;
	padding: 0 1rem;
    display: flex;
    align-items: center;
}

header nav li.nav-item > a,
header nav h3:not(.wa-heading-s) a {
	display:block;
	color: var(--color-background);
	text-decoration: none;
    font-family: var(--font-header-family);
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
}

header nav li.nav-item > a:hover,
header nav li.nav-item h3 a:hover {
	color: var(--color-link-hover);
}

header nav h3.wa-heading-s {
    font-size: var(--wa-font-size-s);
}

header nav h3.wa-heading-s a {
    color: var(--color-background);
}


nav.desktop-nav ul ul li {
	position: relative;
}

nav.desktop-nav ul li > ul,
nav.desktop-nav ul li > div {
	display: none;
	position: absolute; 
	top: 60px; 
	left: 0;
	z-index: 9999;
	width: 100%;
}
	
nav.desktop-nav ul li:hover > ul,
nav.desktop-nav ul li:hover > div {
	display:flex;
	background: var(--color-black);
}

@media screen and (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
}


/* Mobile Nav */
.mob-nav {
  overflow: visible;
  background-color: var(--color-black);
  position: relative;
  min-height: 2rem;
  display: flex;
  justify-content: end;
  padding: 0.4rem 1rem;
}

.mob-nav #mobLinks {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-black);
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.mob-nav #mobLinks.show {
  display: block;
  z-index: 99999;
}

.mob-nav a.icon {
  display: flex;
}
.mob-nav a.icon svg {
    width: 2rem;
    height: 2rem;
    fill: #fff;
}



#mobLinks {
	width: 100%;
  background: #000;
}

#mobLinks .parent {
  display: flex;
    flex-flow: row;
  justify-content: space-between;
  align-items: center;
}
#mobLinks .parent svg {
  display: block;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  fill: #fff;
}
#mobLinks h3 {
	cursor: pointer;
  background: #000;
  margin: 0;
}

#mobLinks > ul {
    gap: 0rem;
    display: flex;
    flex-flow: column;
}

#mobLinks li {
	list-style-type: none;
}
#mobLinks > ul > li {
    min-height: 2.4rem;
}

#mobLinks ul ul li a {
	color: #fff;
	text-decoration: none;
	display: block;
}

#mobLinks ul ul {
	display: none;
    flex-flow: column;
    margin: 0.4rem 0;
    gap: 0.4rem;
    padding-left: 0.8rem;
}
#mobLinks li.active ul {
	display: block;
}




@media screen and (min-width: 769px) {
  .mob-nav {
    display: none;
  }
}



/* Aside */

/* aside h2 {
    font-family: var(--font-header-family);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.75rem;
    margin: 0 0 1rem;
    color: var(--color-text);
    text-transform: uppercase;
} */

/* Social */

/* .social-links {
    margin-bottom: 1rem;
}     */

.social-links svg {
    width: 2rem;
    background: var(--color-link);
    border-radius: 0;
    height: 2rem;
    display: block;
    fill: var(--color-background);
    padding: 0.5rem;
}

.social-links a:hover svg {
        background: var(--color-black);
}

.social-links ul {
    list-style: none;
    margin: 0;
}

.link-header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 0.8rem;
}

.link-header svg {
    width: 1.4rem;
    transition: 0.2s;
}

.link-header h2 {
    margin: 0;
}

.link-header a {
    display: flex;
}

.link-header a:hover svg {
    fill: var(--color-link);
}    



/* Custom Styling Classes */

body > section.wa-stack {
	margin-top: 2rem;
}

main {
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.09);
}

.gl-margin-0 {
    margin: 0;
}
.gl-margin-b-a {
	margin-bottom: 0.5rem;
}

.gl-margin-b-m {
	margin-bottom: 1rem;
}

.gl-margin-b-l {
	margin-bottom: 1.5rem;
}

.gl-margin-b-xl {
	margin-bottom: 2rem;
}

.gl-margin-t-a {
	margin-top: 0.5rem;
}

.gl-margin-t-m {
	margin-top: 1rem;
}

.gl-margin-t-l {
	margin-top: 1.5rem;
}

.gl-margin-t-xl {
	margin-top: 2rem;
}

.gl-padding-s {
	padding: 0.5rem;
}

.gl-padding-m {
	padding: 1rem;
}

.gl-padding-l {
	padding: 1.5rem;
}

.gl-padding-xl {
	padding: 2rem;
}

.gl-padding-sides-xl {
	padding: 0 2rem;
}

.gl-padding-b-xl {
    padding-bottom: 4rem;
}

.gl-flex-row {
	flex-flow: row;
}

a.gl-button {
    background: var(--color-link);
    color: var(--color-background);
    padding: 0.6rem 1rem;
}



/* WA Overrides */

.wa-list-plain {
    list-style: none;
    margin: 0;
    padding: 0;
}

wa-tab {
    font-family: var(--font-header-family);
    text-transform: uppercase;
    font-size: 1.25rem;
}




/* Index Homepage */

h2 {
    font-family: var(--font-header-family);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.8rem;
    margin: 0 0 0.8rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Swiper */


.swiper {
	width: 100%;
}
.swiper .swiper-wrapper {
  width: 10rem;
  min-width: 100%;
}

.index-slider .swiper-button-next, 
.index-slider .swiper-button-prev {
    background-color: #FFFFFFB8;
    border-radius: 0px 0px 0px 0px;
    padding: 1rem;
    transition: 0.2s;
}

.index-slider .swiper-button-next:after, 
.index-slider .swiper-button-prev:after {
    color: var(--color-link);
    font-size: 1.5rem;
}

.index-slider .swiper-button-next, 
.index-slider .swiper-rtl .swiper-button-prev {
    right: 0;
}

.index-slider .swiper-button-prev, 
.index-slider .swiper-rtl .swiper-button-next {
    left: 0;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--color-link-hover);
}

.swiper-button-next:hover:after, .swiper-button-prev:hover:after {
    color: var(--color-background);
}

.swiper-slide {
	min-height: 450px;
	background-size: cover;
	background-position: center center;
}

.slide-details {
    margin-right: 4rem;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    flex-flow: column;
}

.slide-details time {
    color: #fff;
    background: #0000009C;
    padding: 0.4rem 0.8rem 0;
    font-size: 0.7rem;
    text-transform: uppercase;
    align-self: flex-start;
}

.slide-details a {
font-size: 2.15rem;
    line-height: 2.25rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    background: #0000009C;
    padding: 0.6rem;
    font-family: var(--font-header-family);
    letter-spacing: 0.025rem;
}


/* Cards */

wa-card.card-media img {
    height: 14rem;
    object-fit: cover;
    width: 100%;
}

wa-card.card-media.gl-flex-row img {
    height: 8rem;
	width: 8rem;
}

wa-card.card-media.wa-grid img {
    height: 12rem;
	width: 100%;
}

.interviews-section wa-card.card-media img,
.photos-section wa-card.card-media img {
    height: 8rem;
}


wa-card.card-media h3.wa-heading-s {
    margin-block-end: var(--wa-space-xs);
}

wa-card h3 a:hover {
    color: var(--color-black);
}

wa-card.card-media time.postlist-date {
    font-size: 0.7rem;
    margin-block-end: 0.2rem;
    display: inline-block;
}

wa-card.card-media .post-excerpt {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

wa-card a.read-more-link {
    font-size: 0.75rem;
}
wa-card a.read-more-link:hover {
    text-decoration: underline;
}

section.index-videos {
    padding: 2rem;
    background: var(--color-black);
}

section.index-videos h2, section.index-videos a {
    color: var(--color-background);
}

.video-section .wa-stack {
    aspect-ratio: 16 / 9;
    width: 100%;
    /* display: block; */
}

.video-section .wa-stack iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.index-container:not(:has(.index-news)) wa-card.card-media h3 a {
    font-family: var(--font-header-family);
    color: var(--color-text);
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 400;
}



/* Search */

#search img.pagefind-ui__result-image {
    width: 100%;
    object-fit: cover;
    min-height: 6rem;
}

#search .pagefind-ui__filter-name::after {
    display: none;
}

.pagefind-ui__filter-checkbox:after {
    display: none;
}



/* Pages - General */



section.main-container {
    margin-top: 2rem;
}

section.page_main-container {
    margin-top: -4rem;
}
section.page_main-container main {
    background: var(--color-background);
}
section.page_main-container aside {
    padding-top: 6rem;
}

section.page-header {
    width: 100%;
    background: var(--color-black);
}

section.page-header h1.category-title {
color: var(--color-background);
    font-family: var(--font-header-family);
    font-weight: 400;
    font-size: 2.4rem;
    padding: 4rem 1rem 8rem;
}

@media screen and (max-width: 768px) {
    section.page-header h1.category-title {
        padding: 0 1rem 1rem;
    }

    section.page_main-container main {
        background: transparent;
        box-shadow: none;
        padding-bottom: 0;
    }

    section.page_main-container {
        margin-top: 0;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    section.page_main-container .index-container {
        padding: 2rem 0;
    }

    section.page_main-container aside {
        padding-top: 3rem;
        border-top: 1px solid var(--color-link-hover);
    }
}




/* Category Page */


ul.categories-list li a {
    font-family: var(--font-header-family);
    text-transform: uppercase;
    font-size: 1.6rem;
}

ul.categories-list li a:hover {
    color: var(--color-black);
}


/* Archives */

.archive-years-grid a {
    background: var(--color-link);
    color: var(--color-background);
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0.4rem 1rem;
}

.archive-years-grid a:hover {
    background: var(--color-text);
}

.wa-grid.archive-years-grid {
    grid-template-columns: repeat(5, 1fr);
}

@media screen and (max-width: 600px) {
.wa-grid.archive-years-grid {
    grid-template-columns: repeat(2, 1fr);
}    
}



/* Posts */

wa-card.post-header-meta {
    background-size: cover;
    background-position: center center;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
}

wa-card.post-header-meta ul {
    display: flex;
    gap: 1em;
    font-size: 0.8rem;
    text-transform: uppercase;
    align-items: center;
}

wa-card.post-header-meta ul li {
    list-style: none;
}

wa-card.post-header-meta ul li a {
    color: var(--color-link-hover);
}

wa-card.post-header-meta ul li:first-child {
    background: #0000009C;
    padding: 0.4rem 0.8rem;
}

wa-card.post-header-meta ul li time {
    color: var(--color-background);
}

wa-card.post-header-meta h1 {
    font-size: 2.15rem;
    line-height: 2.25rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    background: #0000009C;
    padding: 0.6rem;
    font-family: var(--font-header-family);
    letter-spacing: 0.025rem;
    text-wrap: auto;
}

ul.post-metadata {
    list-style: none;
    font-size: 0.85rem;
}


ul.links-nextprev {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

ul.links-nextprev li {
    display: flex;
    flex-flow: column;
    gap: 1rem;
    max-width: 50%;
}

ul.links-nextprev li.links-nextprev-next {
    align-items: flex-end;
}


@media screen and (max-width: 768px) {
    ul.links-nextprev {
        display: flex;
        flex-flow: column;
        gap: 2rem;
    }    

    ul.links-nextprev li.links-nextprev-next,
    ul.links-nextprev li.links-nextprev-prev{
        align-items: center;
    }    
}



/* WP Element Styling */

/* -- Gallery -- */

figure.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

figure.wp-block-image {
    margin: 0;
}

figure.wp-block-image a {
    display: block;
}

figure.wp-block-image a:hover img {
    transform: scale(1.05);
    transition: 0.3s;
}

figure.wp-block-image a img {
    transition: 0.3s;
}

@media screen and (max-width: 768px) {
    figure.wp-block-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}




/* Video Posts */

.video-embed-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}




/* Page Template */

h1.page-title {
    font-size: 2.15rem;
    line-height: 2.25rem;
    font-weight: 400;
    color: var(--color-black);
    text-decoration: none;
    font-family: var(--font-header-family);
    letter-spacing: 0.025rem;
    margin: 0;
}




/* Pagination */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.pagination a, .pagination span:not(.ellipsis) {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--color-link);
    color: var(--color-background);
    min-width: 2rem;
}

.pagination a:hover {
    background: var(--color-black);
    color: var(--color-background);
}

.pagination a {
    background: var(--color-background);
    color: var(--color-black);
}

.pagination span.ellipsis {
    align-content: center;
}



/* Footer */

footer.footer {
    background: var(--color-black);
    color: var(--color-background);
    padding: 2rem 0 2rem;
}

footer.footer ul.nav {
    margin: 0;
    padding: 1rem 0;
    list-style: none;
    flex-flow: row;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

footer.footer .page-width {
    text-align: center;
}

footer.footer span {
    font-size: 0.75rem;
}

footer.footer ul.nav a {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-background);
    text-decoration: none;
}

footer.footer ul.nav a:hover {
    text-decoration: underline;
}