html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
	z-index: 10;
}

main {
	flex: 1;
}

body {
  background-color: #efede0;
}

html {
  scroll-behavior: smooth;
}
/* test widths
* {
  outline: 1px solid red;
}
*/

/* ticker */

.top-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none; /* prevents interaction blocking */
  z-index: -1;
}

.top-bg-image img {
  width: 100%; /* or your preferred size */
  height: auto;
  display: block;
}


.ticker-container {
  position: fixed;
  top: 150px;
  left: -50px;
  width: 300px; /* full width so the text can scroll */
  height: 40px;
  overflow: hidden;
  transform: rotate(-45deg);
  transform-origin: top left;
  z-index: 9999;
  pointer-events: none; /* Let clicks pass through */
	  background: #ffe343;
}

.ticker-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100vw; /* start off-screen to the left */
  animation: tickerScroll 6s linear infinite;
  background: #ffe343;
  padding: 0.5rem 0;
	
  font-family: 'Founders Grotesk X-Condensed', sans-serif;
  font-size: 40px;
  line-height: 0.8;  /* tighter and more reliable */
  text-transform: uppercase;
  margin: 0.2rem 0 1.4rem 0;
  font-weight: bold;
	color: #551316;
}

@keyframes tickerScroll {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}



/* Fred Pawle Logo header */

/* Header wrapper */
header {
  width: 100%;
  display: flex;
  justify-content: center;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
}

.logo-link {
  display: block;
  text-decoration: none;
  color: inherit;
}


/* Master wrapper: stacked layout */
.svg-wrapper {
	margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

/* Only this part will be masked and animated */
.logo-pair {
  display: flex;
  justify-content: center;
  gap: 0.4vw;
  overflow: hidden;
  height: 120px;
  position: relative;
  width: auto;
  margin: 0 4px;
}

/* Logo image default state: hidden below */
.masked-svg {
  height: 120px;
  width: auto;
  max-width: 100%;
  transform: translateY(100%);
  /*opacity: 0;*/
  transition: transform 1s ease-out, opacity 1s ease-out;
}

/* Triggered by JS on scroll */
.logo-pair.revealed .masked-svg {
  transform: translateY(0);
  opacity: 1;
}

/* Optional stagger effect */
.fred-logo {
  transition-delay: 0.2s;
}
.pawle-logo {
  transition-delay: 0.4s;
}


/* Title SVG stays static and unmasked */

.logo-title-svg {
  display: block;
  height: auto;
  width: auto; /* overridden by JS */
  max-width: none;
}

/* Upper nav */

.Fred-nav {
  position: relative;
  width: 80vw;
  max-width: 1000px;
  margin: 2px auto 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.4vw;
  padding: 0.2rem 0 0 0;
  flex-wrap: nowrap; /* prevents wrapping */
  text-align: center;
  z-index: 10;
}

.nav-item {
  color: #551316;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  min-height: 100px;
  width: 25%; /* 100% / 4 items */
  border-radius: 6px;
  position: relative;
}



.nav-item::after {
  content: '';
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translateX(-50%) translateY(-1px); /* move up by 1px */
  opacity: 0;
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 24px solid #ffe343;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-item:hover::after {
  transform: translateX(-50%) translateY(6px); /* slides down slightly from a tight connection */
  opacity: 1;
}

.nav-item:hover {
  transform: translateY(-4px);
  background-color: #ffe343; /* or whatever subtle highlight color you want */
}

.nav-item h2 {
  margin: 0;
  padding: 10px 0 0 0;
  line-height: 1; /* or even 1.0 for tighter spacing */
	  color: #551316;
}

.subtitle {
  width: 150px;
  height: auto;
  font-family: Georgia, serif;
  font-size: 0.8rem;
  color: #551316;
  margin-top: -16px; /* pull it closer to the h2 */
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.2;
}


.this-page {
	color: #efede0;
	background-color: #551316;
	transform: translateY(-4px);
}

.this-page h2 {
	color: #efede0;
}

.this-page p {
	color: #efede0;
}

.nav-item.this-page::after {
	z-index: -10;
  opacity: 1;
  transform: translateX(-50%) translateY(0); /* override the default hidden position */
	border-top: 24px solid #551316;
}

.nav-item.this-page.no-hover:hover {
  transform: none;
	background-color: #551316;
  /* background-color: transparent; */
}

.nav-item.this-page.no-hover:hover::after {
  transform: none;
  /* opacity: 0; */
}



#Fred-Carousel {
	width: 900px;
	margin-left: auto;
	margin-right: auto;	
	margin-top: 0;
	margin-bottom: 0;
	z-index: -10;
}
.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 0.2rem;
border-radius: 6px; /* Fred site-wide border radius */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 3600px; /* 4 sections x 800px */
}

.carousel-item {
  width: 900px;
  height: 300px;
  flex: 0 0 900px;
  padding: 2rem;
  box-sizing: border-box;
  background: red;
  text-align: center;
}

.carousel-item a {
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: bold;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../IMG/4x1_black.png'); /* change to your image */
  background-repeat: repeat;
  opacity: 1;
  z-index: 1;
  pointer-events: none; /* so clicks pass through */
}


.item-one {
	color: #efede0;
	background-color: #b1dfff;
	position: relative;
	overflow: hidden;
}

.item-one a {
  position: relative;
  z-index: 2;
}

.item-two {
	color: #efede0;
	background-color: #56adb4;
	position: relative;
	overflow: hidden;
}

.item-two a {
  position: relative;
  z-index: 2;
}

.item-three {
	color: #efede0;
  background-color: #dacdba;
	position: relative;
	overflow: hidden;
}

.item-three a {
  position: relative;
  z-index: 2;
}

.item-four {
	color: #efede0;
  background-color: #0999bb;
	position: relative;
	overflow: hidden;
}

.item-four a {
  position: relative;
  z-index: 2;
}


.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.item-one a {
  position: relative;
  z-index: 1;
}


/* Content */

#Fred-Content {
}

.centered-text-box {
  display: flex;
  align-items: center;    /* Vertical centering */
  justify-content: center; /* Horizontal centering */
  text-align: center;
  /* height: 200px;            Adjust as needed */
  width: 100%;             /* Full width */
  padding: 20px;
  box-sizing: border-box;
	color: #551316;
}


.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  margin: 0 auto;
  gap: 20px;
	z-index: 50;
}

/* Shared box styles */
.box {
  box-sizing: border-box;
  padding: 20px;
  border-radius: 6px;
  color: #551316;
  display: block; /* Default to block instead of flex here */
}

.Fred-text-links {
	margin-top: 10px;
}

/* Global / large screens */
.featured-video {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background-color: red;
}

.featured-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.article-box {
  /* background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 6px; */
}

.homepage-event {
	width: 100%;
}

.homepage-event:hover {
background-color: #ffe343;
}


/*
.date sup {
  font-size: 0.6em;
  font-family: inherit;
  vertical-align: super;
  line-height: 1;
}
*/

.date {
  font-family: 'Founders Grotesk X-Condensed', sans-serif;
  font-size: inherit;
  /* font-weight: bold;  Or inherit if you want to match the h3 */
  display: inline; /* Make sure it doesn't behave like a block */
}


sup {
  font-size: clamp(10px, 2vw, 20px);
  margin: 10px 0;
  font-weight: bold;
}



.homepage-event img {
	width: 100%;
	height: auto;
}

.mailing-list-box {
  background-color: #dacdba;
  margin: 10px 20px 20px 20px;
  border-radius: 6px;
	z-index: 20;
}


.MailingList {
  display: block; /* change from flex */
  width: 100%;
  padding: 20px 0 0 0;
}

.MailingList form {
  width: 100%;
}


label {
  display: block;
  font-family: 'Founders Grotesk X-Condensed', sans-serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 0.8;
  color: #551316;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.4rem;
  color: #551316;
  font-family: Georgia, serif;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

.please-note {
  margin: 0 0 20px 0;
  color: #551316;
  padding: 10px;
  background-color: #ffe343;
  border-radius: 6px;
}

button[type="submit"] {
  display: block;
  width: 100%;
  padding: 0.5em 1em 0.1em 1em;
  background-color: #551316;
  color: #efede0;
  border: none;
  border-radius: 4px;
  font-family: 'Founders Grotesk X-Condensed', sans-serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  color: #7a1e22;
  background-color: #ffe343;
}


.Fred-btn {
	height: 30px;
  font-family: 'Founders Grotesk X-Condensed', sans-serif;
  font-size: clamp(30px, 3vw, 30px);
  /* line-height: 1; */
  text-transform: uppercase;
  color: #551316;
  background-color: transparent; /* initial background */
  border: none;
  border-bottom: 4px solid #551316;
  padding: 2px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
	margin-right: 10px;
}

.Fred-btn:hover {
  color: #551316; /* text color on hover */
  border-color: #551316;
  background-color: #ffe343; /* background color on hover */
}



/*  M E D I A */

#Videos {
	margin-bottom: 20px;
}


.video-entry {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 40px auto; /* top/bottom margin and center horizontally */
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  max-width: 800px;
  width: 100%;
	/* stylying */
	color: #551316;
}

.date {
	font-family: Georgia, serif;
	font-size: 0.8rem;
	color: #551316;
	margin-top: clamp(-20px, -1.5vw, -15px);
	line-height: 1.2;
	margin: 0 0 10px 0;
}



    .video-text {
      flex: 1;
    }

    .video-text h2 {
      margin: 0 0 10px;
    }

    .video-text p {
      margin: 0;
      white-space: pre-wrap;
    }

.video-embed {
  flex: 1;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
	/* display: block; */
} 

.Video-nav {
	text-align: center; /* centers the contents */
	margin-top: 20px;
	align-content: center;
}

.media-page-title {
    color: #551316;
    margin: 30px auto 10px auto;
    text-align: center;
    /*font-weight: bold;*/
}


.show-type-label {
	position: relative;
	left: -6px;
    display: inline-block;
	/*background-color: #fcfaf0;*/
	background-color: #b1dfff;
	border-radius: 6px;
	padding: 4px 4px 0 4px;
    margin-bottom: 10px;
}




.pagination {
  margin-top: 30px;
	margin-bottom: 100px;
  text-align: center; /* centers the contents */
	z-index: 1750;
}

.pagination a,
.pagination strong {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 10px 0 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #efede0;
  border: none;
  border-radius: 4px;
	  font-family: 'Founders Grotesk X-Condensed', sans-serif;
  font-size: clamp(16px, 3vw, 30px);
  line-height: 1; /* Or 1.1 for better legibility */
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  background-color: #551316;
}

.pagination a:hover,
.pagination strong {
	color: #551316;
  background: #ffe343;
}



/* EVENTS */


.events-container {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  max-width: 900px;
  margin: 20px auto 0 auto;
  /* gap: 20px; */
}


    .event {
      /*background: white;
      border: 1px solid #ddd;
      border-radius: 8px;*/
      margin-bottom: 100px;
      padding: 10px;
      display: flex;
      gap: 10px;
      /* box-shadow: 0 2px 5px rgba(0,0,0,0.05);*/
		z-index: 500;
    }
    .event img {
      width: 50%;
      height: 50%;
    }
    .event-details {
      flex: 1;
		margin-left: 10px;
    }
    .event-title {
		color: #551316;
		margin: 10px 0 0 0;
      /*font-size: 24px;
      margin-bottom: 10px;*/
    }
    .event-meta {
      color: #551316;
      /* font-size: 14px;
      margin-bottom: 10px; */
    }
    .event-description {
      /*font-size: 16px;*/
      margin: 10px 0;
    }
    .event-button {
      display: inline-block;
      padding: 10px 20px;
      background: #0070f3;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      font-weight: bold;
    }
.event-buy-tickets-btn {
  display: inline-block;
  padding: 15px 12px 0 12px;
  background-color: #551316;
  color: #efede0;
  font-family: 'Founders Grotesk X-Condensed', sans-serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 0.8; /* tighter and more reliable */
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.event-buy-tickets-btn:hover {
	color: #551316;
  background-color: #ffe343;
}

.event-sold-out {
	display: inline-block;
  	padding: 15px 12px 0 12px;
  	margin-top: 10px;
	color: #cc8602;
	background-color: #fcfaf0;
	border-radius: 6px;
}

/* Article on homepage */

.latest-article-preview {
  width: 100%;
	text-decoration: none;
	 color: #551316;
}

.latest-article-preview a {
	text-decoration: none;
	 color: #551316;
}

.latest-article-preview:hover {
background-color: #ffe343;
}

.latest-article-preview img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.latest-article-preview h3 {
 
  margin: 20px 0 0 0;
	text-decoration: none;
}

.latest-article-preview p a{
  text-decoration: none;
}


/* Article */

.freds-article-years {
	color: #551316;
	margin: 20px auto 0 auto;
	text-align: center;
}

.freds-article-years a {
  display: inline-block;
  padding: 15px 12px 0 12px;
  background-color: #551316;
  color: #efede0;
  font-family: 'Founders Grotesk X-Condensed', sans-serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 0.8; /* tighter and more reliable */
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.freds-article-years a:hover {
	color: #551316;
  background-color: #ffe343;
}

.year-filter {
  display: flex;
  align-items: center;
  justify-content: center;  /* Center the content horizontally */
  gap: 0.4em;
  flex-wrap: wrap;
  margin: 0.4em auto;
  text-align: center;
}


.year-filter h3 {
  margin: 14px 0 0 0;
}

.year-links a {
  margin-right: 0.5em;
  text-decoration: none;
}

.freds-articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Correct: two equal columns */
  max-width: 900px;
  margin: 20px auto 0 auto;
  gap: 20px;
	z-index: 50;
}



.fred-article {
	z-index: 500;
}

.fred-article img{
	max-width: 100%; 
	height: auto;
	margin-bottom: 20px;
}

.fred-article-content a {
	color: #551316;
	text-decoration: none;
}

.fred-article-content:hover {
	color: #551316;
  background-color: #ffe343;
}

.fred-article-content {
	position: relative;
	max-width: 80%;
	margin: 20px auto 20px auto;
	z-index: 200;
}

/* Actual clicked-on article: note margin bottom */

.fred-article-page {
	position: relative;
	width: 700px;
	margin: 20px auto 100px auto;
	z-index: 200;
	color: #551316;
}

.fred-article-page img{
	width: 100%;
	height: auto;
	/* margin: 20px 0 100px auto; */
	z-index: 200;
}

.fred-article-page h1,
.fred-article-page h3 {
	color: #551316;
	line-height: 0.8;
}

/* style the content of a Fred article */

.article-content {
	width: 700px;
	color: #551316;
}

.article-content a {
	color: #551316;
	background-color: transparent;
  	text-decoration: underline;
  	transition: background-color 0.3s ease; /* fade duration and easing */
}

.article-content a:hover {
	color: #551316;
	background-color: #ffe343;
}

blockquote {
	font-size: clamp(1rem, 2rem, 40px);
	line-height: 1.2; 
	/* font-style: italic; */
}

/* Site-wide generic */

.space-hr {
    border: none; /* Remove default border */
    height: 2px; /* Thickness of the line */
    /* background: #151D0A; */
    margin: 2px 0; /* Spacing */
    width: 100%; /* Adjust width */
}

hr.dashed {
  border: none;
  border-top: 2px dashed #551316;
  margin: 10px 0; /* Adjust spacing as needed */
}

hr.dashed-light {
  border: none;
  border-top: 2px dashed #dacdba;
  margin: 10px 0; /* Adjust spacing as needed */
}



/* POLAROID. */

.polaroid {
  background: #f9f9f7;
  padding: 10px 10px 30px 10px; /* extra bottom padding */
  width: fit-content;
  max-width: 400px;
  /* box-shadow: 0 4px 8px rgba(85, 19, 22, 0.2); */
  /*border: 1px solid #ccc;*/
	border-radius: 3px;
  text-align: center;
  margin: 10px;
}

.polaroid img {
  display: block;
  width: 100%;
  height: auto;
}

.caption {
  margin-top: 20px;
  font-size: 14px;
  color: #333;
}

.rotate-right {
	transform: rotate(2deg);
}

.rotate-left {
	transform: rotate(-2deg);
}



/* Footer */

#Fred-Footer {
  width: 100%;
  padding: 50px 2px 30px 2px;
  text-align: center;
  position: relative;
  z-index: 1;
}


.footer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.footer-label {
	display: block;
	text-align: center;
	margin-bottom: 8px;
}


.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-side {
  flex: 1;
  display: flex;
  justify-content: center;
}

.footer-center {
  flex: 0 0 auto;
}

.footer-logo {
  height: 30px;
  width: auto;
  display: block;
	padding: 0;
}


.icon-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.icon-row img {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.icon-row img:hover {
  opacity: 1;
  transform: scale(1.3); /* Adjust scale factor as needed */
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
}

.footer-bottom a{
  text-decoration: none;
	color: inherit;
}

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

.footer-inner,
.footer-label,
.footer-logo,
.footer-block,
.footer-bottom {
  position: relative;
  z-index: 5;
}


.bottom-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bottom-image img {
  width: 100%;
  height: auto;
  display: block;
}


.support-fred {
	position: relative;
	z-index: 50;
	background-color: #0292a8;
	border-radius: 12px;
	max-width: 820px;
	margin: 20px auto;
	padding: 30px 20px;
}

.support-fred-title {
	text-align: center;
	margin-bottom: 10px;
}

.support-fred-title h2 {
	color: #b1dfff;
}

.support-fred-content {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
}

.support-fred-text {
	flex: 1 1 40%;
	color: #b1dfff;
	padding-left: 40px;
}

.support-fred-image {
	flex: 1 1 40%;
	text-align: center;
}

.support-fred-image img {
	max-width: 32%;
	height: auto;
	border-radius: 8px;
	mix-blend-mode: multiply;
	
	position: absolute;
	left: 500px;
	bottom: 0;
}

hr.dashed-support {
  border: none;
  border-top: 2px dashed #b1dfff;
  margin: 10px 0; /* Adjust spacing as needed */
}

.fred-support-small {
	font-size: clamp(0.5rem, 0.9rem, 14px);
	line-height: 1.2;
	color: #b1dfff;
	font-family: Georgia, serif;
	margin: 0;
}

.support-colour {
	color: #b1dfff;
}




/* RWD Settings */

/* Mobile version */

@media (max-width: 600px) {
	
.Fred-nav {
  width: 100vw;
  margin: 2px auto 0;
  gap: 1vw;
  padding: 0.2rem 0 0 0;
}

.nav-item {
  border-radius: 4px;
}
	
.nav-item h2 {
  margin: 0;
  padding: 10px 2px 0 2px;
  line-height: 1; /* or even 1.0 for tighter spacing */
}	
	
	/* Ticker */
	.ticker-container {
	  top: 75px;
	  left: -25px;
	  width: 150px; /* full width so the text can scroll */
	  height: 20px;
	}
	.ticker-text {
	  padding-left: 50vw; /* start off-screen to the left */
	  padding: 0.2rem 0;
	  font-size: 20px;
	  margin: 0.2rem 0 1.4rem 0;
	}
	/* Change size of Logo svg's */
	.logo-pair {
		gap: 0.2vw;
		height: 60px;
		margin: 0 2px;
	}
	.masked-svg {
  		height: 60px;
	}
	/* Upper nav */
	.Fred-nav {
		width: 96vw; 
	}
	.nav-item {
	  min-height: 25px;
	  flex: 1 1 75px;
	}
	.subtitle {
	  display: none;
	}
	.nav-item::after {
	  top: 70%;
	}
	#Fred-Carousel {
		width: 96vw;
	}
	.carousel-track {
	  width: 2400px; /* 4 sections x 600px */
	}
	.carousel-item {
	  width: 100vw; /* 900px */
	  height: 200px; /* 300px */
	  flex: 0 0 100vw; /* 900px */
	}
	.item-1 {
	  align-items: center;       /* vertical alignment */
	  justify-content: flex-start;   /* horizontal alignment */
	  text-align: left;        /* aligns multi-line text inside */
	}

	/* Responsive: stack to 1 column below 600px */

  .container {
    grid-template-columns: 1fr;
  }
  .box {
    flex: 1 1 100%;
  }
	
  .grid-block,
  .grid-item {
    width: 100%;
  }
	
.fred-article-page {
	max-width: 90%;
}
	
.pagination a,
.pagination strong {
  margin: 0 5px;
  padding: 7px 10px 0 10px;
  cursor: pointer;
}

  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-side {
    justify-content: center;
    width: 100%;
  }

  .footer-center {
    margin: 10px 0;
  }
	
.support-fred-content {
	flex-direction: column;
}

.support-fred-text {
	padding: 0 20px 0 120px;
}


}



@media (max-width: 800px) {
	
  .nav-item {
    flex: 1 1 45%; /* allows for two items per row */
  }
	
  .grid-wrapper {
	margin: 0 20px;
  }	
	
  .video-entry {
        flex-direction: column;
   }

/* Small screen fallback */

  .video-embed {
    aspect-ratio: unset;
    position: relative;
    padding-top: 56.25%;
    height: 0;
  }

  .video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  	.event {
    flex-direction: column;
  	}
    .event img {
      width: 100%;
      height: 100%;
    }
	
.freds-articles {
  grid-template-columns: 1fr;
}
	
.fred-article-page {
	max-width: 80%;
	margin: 20px auto 100px auto;
}
	
	
.fred-article-content {
	max-width: 80%;
	margin: 20px auto 20px auto;
}
	
.article-content {
	width: 90%;
}
	

	
.pagination {
  margin-bottom: 200px;
}
	
.bottom-image img {
  height: 700px;
	  width: auto;
}	
	
.support-fred {
	position: relative;
	z-index: 50;
	background-color: #0292a8;
	border-radius: 12px;
	max-width:none;
	margin: 20px;
	padding: 30px 20px;
}
	
.support-fred-text {
	flex: 1 1 40%;
	color: #b1dfff;
	padding-left: 20px;
}

.support-fred-image {
	flex: 1 1 40%;
	text-align: center;
}

.support-fred-image img {
	max-width: 32%;
	height: auto;
	
	position: absolute;
	left: 60%;
	bottom: 0;
}
	
}


