
/*
 *  Components
 */
/*   Navigation 
  */
/* Header Layout */
.site-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 0.75rem 2rem;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: #1a1a1a;
	color: #ffffff;
	border-bottom: 1px solid #333;
	transition: transform 0.3s ease;
}

/* Move below admin bar if it exists */
body.admin-bar .site-header {
	top: 32px;
}

/* Hidden state */
.site-header.is-hidden {
	transform: translateY(-100%);
}


/* Site title */
.site-title {
	font-family: var(--font-serif-headings);
	font-size: 1.5rem;
	margin: 0;
	font-weight: normal;
}

.site-title a {
	text-decoration: none;
	color: #ffffff;
	font-weight: normal;
}

/* Hide mobile menu on desktop */
.desktop-nav {
	display: block;
}
.mobile-menu-toggle,
.mobile-nav-overlay {
	display: none;
}

/* Main nav */
.main-navigation {
	display: flex;
	align-items: flex-end;
    margin-right: 5rem;
}

.menu-toggle {
	display: none;
	/* Hide toggle for now */
}

.menu-main-nav-container {
	display: flex;
	margin: 0;
}

#primary-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

#primary-menu a {
	text-decoration: none;
	font-family: var(--font-sans);
	color: #ffffff;
	font-size: 0.85rem;
	padding-bottom: 0.25rem;
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s;
}

#primary-menu a:hover {
	border-color: #ffffff;
}


/*
 *  Main Content
 */
 .page-header,
 .entry-header,
 .entry-meta,
 .entry-content,
 .related-posts,
 .post-archive-items,
 .footer-nav
 {
	font-family: var(--font-serif-body);
	font-size: 1.125rem;
	/* ~18px */
	line-height: 1.75;
	max-width: 60ch;
	/* limits line length for readability */
	margin: 0 auto;
	/* centers the block */
	padding: 1rem;
	color: #1a1a1a;
}

/* Paragraph spacing */
.entry-content p {
	margin-bottom: 1.5rem;
}

/* Headings inside content */
.entry-content h1,
.entry-content h2,
.entry-content h3 {
	font-family: var(--font-serif-headings);
	font-weight: normal;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	line-height: 1.3;
	color: #1a1a1a;
}

/* List styling */
.entry-content ul,
.entry-content ol {
	padding-left: 1.5rem;
	margin-bottom: 2rem;
}

.entry-content li {
	margin-bottom: 0.75rem;
	line-height: 1.6;
}

/* Blockquotes */
.entry-content blockquote {
	font-style: italic;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	margin: 2rem 0;
	border-left: 4px solid #cccccc;
	color: #333333;
}

/* Links */
.entry-content a {
	color: var(--sk-body-link-color);
	text-decoration: none;
	text-underline-offset: 0.15em;
	transition: color 0.2s ease;
}

.entry-content a:hover {
	color: var(--sk-body-link-color);
	text-decoration: underline;
}

.entry-content hr {
	border: none;
	border-top: 1px solid #e0e0e0;
	/* soft gray line */
	width: 66%;
	margin: 3rem auto;
}


/* Signature image spacing */
.entry-content img {
	display: block;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	max-width: 100%;
	height: auto;
}

/* Optional: narrow signature images specifically */
.entry-content img[alt=""] {
	max-width: 150px;
}

/* Email links in context */
.entry-content a[href^="mailto:"] {
	font-weight: 500;
	letter-spacing: 0.03em;
}

/* ---------- Base styles ---------- */
.entry-header {
	position: relative;
	width: 100%;
	overflow: hidden;
	color:#1a1a1a;
	padding: 5rem 2rem 0 2rem;
	text-align: left;
	margin: 0 auto;
  }

/* Full-bleed, full-height hero */
.entry-header.has-thumbnail {	
	color:#ffffff;
	padding: 0;
	height: 100vh; /* full viewport height */
	max-width: 100%;
	display: flex;
	align-items: flex-end;
  }
  
  /* Image fills the screen and stays fixed to viewport */
  .post-thumbnail {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: 0;
  }
  
  .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
  }
  
  /* Overlay content */
  .entry-overlay {
	position: relative;
	z-index: 1;
	padding: 0 0 4rem 5em;
	color: #fff;
	text-shadow:
	  0 2px 6px rgba(0,0,0,0.7),
	  0 0 12px rgba(0,0,0,0.6),
	  0 0 20px rgba(0,0,0,0.5);
  }
  
  /* Typography */
  .entry-title {
	color:#1a1a1a;
	font-size: 2rem;
	line-height: 1.1;
	margin: 0;
  }
  
  .entry-excerpt {
	color:#1a1a1a;
	font-size: 1.25rem;
	font-style: italic;
	margin: 0;
  }
  
  .entry-header.has-thumbnail .entry-title {	
	color:#ffffff;
  }
  
  .entry-header.has-thumbnail .entry-excerpt {	
	color:#ffffff;
  }
  

.entry-meta {
	padding: 1rem;
  }
  
  .entry-meta .byline,
  .entry-meta .posted-on,
  .entry-meta .featured-image-credit {
	font-family: var(--font-sans);
	font-size: 0.95rem;
	display: block;
	line-height: 1.75;
  }
  
  .entry-meta a {
	color: var(--sk-body-link-color);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	transition: color 0.2s ease;
  }
  
  .entry-meta a:hover {
	color: var(--sk-body-link-color);
  }

  .featured-caption {
	margin-top: 2rem;
	font-family: sans-serif;
	font-size: 0.85rem;
	color: #666;
	text-align: left;
  }
  

  .related-posts {
	color: #1a1a1a;
	border: 1px solid #e0e0e0;
	padding: 20px;
	color: #1a1a1a;
  }
  
  .related-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	font-family: var(--font-serif-body);
	font-size: 0.95rem;
	color: #1a1a1a;
	text-decoration: none;
	transition: box-shadow 0.2s ease;
  }
  
  .related-item img {
	width: 135px;
	height: 90px;
	object-fit: cover;
	flex-shrink: 0;
	border: 1px solid #e0e0e0;
	display: block;
  }
  
  .related-item-text {
	flex: 1;
	display: flex;
	flex-direction: column;
  }
  
  .related-item-text h4 {
	font-family: var(--font-serif-headings);
	font-size: 1.25rem;
	margin: 0;
  }
  
  .related-item-text p {
	font-family: var(--font-serif-body);
	font-size: 0.8rem;
	margin: 0;
  }

  /* Archive and category pages */

  body.archive.category main.site-main {
	margin-top: 0;
  }

  .post-archive-item {
	margin-bottom: 2rem;
  }
  
  .archive-post-link {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 1.5rem;
	text-decoration: none;
	color: inherit;
  }
  
  .archive-post-text {
	flex: 1;
  }
  
  .archive-post-text .entry-title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 600;
	font-family: var(--font-serif-headings);
  }
  
  .archive-post-text .entry-excerpt {
	font-family: var(--font-serif-body);
	color: #444;
	font-size: 0.95rem;
  }
  
  .archive-post-thumb img {
	width: 200px;
	height: auto;
	object-fit: cover;
	border-radius: 4px;
  }
  
  @media screen and (max-width: 600px) {
	.archive-post-link {
	  flex-direction: column-reverse;
	}
  
	.archive-post-thumb img {
	  width: 100%;
	}
  }

  .footer-nav {
	text-align: center;
	font-family: var(--font-sans);
	font-size: 0.85rem;
  }

  .footer-nav .copyright {
  }
  
  .footer-links {
  display: flex;
  justify-content: center;   /* center horizontally */
  flex-wrap: wrap;            /* wrap if needed on small screens */
  gap: 1rem;                  /* space between links */
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  display: inline;            /* not strictly needed, but harmless */
}

.footer-links a {
  text-decoration: none;
  color: inherit;             /* match footer text color */
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

  

/* Layout for desktop */
@media screen and (min-width: 768px) {
	.post-thumbnail {
		height: 100vh;
		margin-top: var(--sticky-header-offset, 0);
		/* if needed for fixed header offset */
	}

	.post-thumbnail img {
		height: 100%;
		width: 100%;
		object-fit: cover;
		object-position: center;
	}

	/* Overlay title on featured image */
	.post-thumbnail .entry-header {
		position: absolute;
		bottom: 2rem;
		left: 3rem;
		margin-top: 0;
		max-width: 70%;
		z-index: 2;
		color: #fff;

		/* Multiple layered shadows for density near text */
		text-shadow:
			0 0 1px rgba(0, 0, 0, 0.9),
			0 0 3px rgba(0, 0, 0, 0.8),
			0 0 6px rgba(0, 0, 0, 0.7),
			0 0 12px rgba(0, 0, 0, 0.6);
	}

	/* Optional: stronger contrast for excerpts under titles */
	.post-thumbnail .entry-header .entry-excerpt {
		margin-top: 0.5rem;
		font-size: 1.1rem;
		color: #f5f5f5;
		text-shadow:
			0 0 1px rgba(0, 0, 0, 0.9),
			0 0 3px rgba(0, 0, 0, 0.8),
			0 0 8px rgba(0, 0, 0, 0.7);
	}
}