body {
	margin: 10px;
	line-height: 1.7;

	font-family: 'Georgia', serif;
	color: white;
	background-color: black !important;
	background-image: url('images/stylized-honeycomb-background.png');
	background-size: auto;
	background-repeat: repeat;
	background-attachment: fixed;
}
body.gallery-page .item h2 {
	font-size: 1.2em;
	color: gold;
	margin: 0.6em 0 0.2em;
	text-shadow: none;
	transition: none;
}
body.gallery-page .item p {
	color: #ddd;
	font-size: 0.95em;
	margin: 0.5em 0 0;
	text-shadow: none;
	transition: none;
}
/* Cover layout */
body.cover-page {
	display: flex;
	justify-content: center;
	align-items: center;
	height: calc(var(--vh, 1vh) * 100);
}
body.cover-page img.fullscreen-cover {
	transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
	will-change: transform, box-shadow;
	max-height: 70vh;
	max-width: 90vw;
	justify-content: center;
	align-items: center;
	vertical-align: middle;
	border: 3px solid gold;
	border-radius: 12px;
	box-shadow:
	0 0 30px rgba(255, 215, 0, 0.3),
	0 0 60px rgba(255, 215, 0, 0.2),
	0 0 90px rgba(255, 215, 0, 0.1);
}
/* Ethics Page Styles */
body.ethics-page h1 {
	font-size: 2.5em;
	text-align: center;
	margin-top: 2rem;
	color: gold;
	text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}
body.ethics-page .quote {
	font-style: italic;
	color: #ccc;
	margin: 1rem auto;
	max-width: 700px;
	text-align: center;
}
body.ethics-page 
body.ethics-page .img-symbols a {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.ethics-page .img-symbols img {
	height: 180px;
	border: 3px solid gold;
	border-radius: 8px;
	box-shadow: 0 0 18px rgba(255, 215, 0, 0.4);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.ethics-page .img-symbols a:hover img {
	transform: scale(1.06);
	box-shadow: 0 0 30px rgba(255, 215, 0, 0.7);
}
body.ethics-page .section {
	max-width: 880px;
	margin: 1rem auto;
	padding: 0 1rem;
}
body.ethics-page h2 {
	color: gold;
	margin-bottom: 0.6em;
}
footer nav a {
	color: gold;
	margin: 0 1.5em;
	text-decoration: none;
	font-weight: bold;
}
footer p {
	color: #888;
	font-size: 0.9em;
	margin-top: 1rem;
	text-align: center;
}
.page-footer {
	text-align: center;
	padding: 2rem 1rem;
	font-size: 1.2rem;
}
.nav-links {
	display: flex;
	justify-content: center;
	gap: 3rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}
.nav-links a {
	color: gold;
	text-decoration: none;
	font-weight: bold;
	transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.nav-links a:hover {
	text-shadow: 0 0 10px gold;
	transform: scale(1.1);
}
.page-footer .copyright {
	color: #ccc;
	font-size: 0.9rem;
}
.center {
	display:block;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}
/* Transferred styles from HTML */
body {
	margin: 20px;
	background-color: black;
	background-image: url('images/stylized-honeycomb-background.png');
	background-repeat: repeat;
	background-attachment: fixed;
	background-size: auto;

	padding: 0;
	font-family: 'Georgia', serif;
	color: white;
}
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	padding: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}
.item {
	text-align: center;
}
.item img {
	width: 100%;
	max-width: 220px;
	border-radius: 12px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item h2 {
	margin-top: 0.5rem;
	font-size: 1.1rem;
}
.item p {
	font-size: 0.95rem;
	color: #ccc;
}
footer {
	text-align: center;
	margin-top: 3rem;
}
footer nav a {
	color: gold;
	margin: 0 1.5rem;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1rem;
	text-shadow: 0 0 5px black;
}
footer p {
	color: #888;
	font-size: 0.9em;
	margin-top: 1rem;
}
body {
	margin: 20px;
	font-family: 'Georgia', serif;
	color: white;
	background-color: black;
	background-image: url('images/stylized-honeycomb-background.png');
	background-repeat: repeat;
	background-attachment: fixed;
	background-size: auto;

	padding: 0;
}
.toc-wrapper {
	max-width: 960px;
	margin: 0 auto;
	padding: 2rem 1rem;
}
h1 {
	color: gold;
	text-align: center;
	margin-bottom: .6rem;
	font-size: 2.5rem;
	text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}
.toc-container {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
a.toc-entry {
	display: block;
	padding: 0.8rem 1.2rem;
	border-radius: 14px;
	text-decoration: none;
	background: rgba(0, 0, 0, 0.65);
	border: 2px solid rgba(255, 215, 0, 0.5);
	box-shadow: 0 0 18px rgba(255, 215, 0, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
	margin-bottom: 0.6rem;
}
a.toc-entry:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 28px rgba(255, 215, 0, 0.5);
	filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}
a.toc-entry h2 {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
}
a.toc-entry p {
	margin: 0;
	color: #ddd;
	font-size: 0.95rem;
}
footer {
	text-align: center;
	margin-top: 3rem;
}
footer nav a {
	color: gold;
	margin: 0 1.5rem;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1rem;
	text-shadow: 0 0 5px black;
}
footer p {
	color: #888;
	font-size: 0.9em;
	margin-top: 1rem;
}
/* Accessibility Enhancements for iPad/Mobile */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	html, body {
		margin: 20px;
		font-size: 20px !important;
	}
	p {
		font-size: 1.25rem !important;
	}
	a, a:visited {
		color: gold !important;
		text-decoration: none !important;
	}
	a:hover, a:focus {
		color: #ffcc00 !important;
		text-shadow: 0 0 8px rgba(255, 215, 0, 0.9) !important;
	}
}
/* Ensure all H2 elements are gold by default */
h2 {
	color: gold;
	text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}
.h2_center {
	color: gold !important;
	text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
	text-align:center;
}


body.gallery-page h1 {
	margin-bottom: 0.25rem;
}
body.gallery-page h2.h2_center {
	margin-top: 0;
	margin-bottom: 0.25rem;
}
body.gallery-page .nav-links {
	margin-top: 0;
	margin-bottom: 1rem;
}
body.gallery-page .gallery {
	margin-top: 0;
}

body.gallery-page .link-explainer {
	text-align: center;
	color: white;
	font-size: 1rem;
	max-width: 800px;
	margin: 0 auto 1.5rem;
	line-height: 1.5;
}
body.gallery-page .link-explainer a {
	color: gold;
	text-decoration: underline;
	transition: color 0.3s ease;
}
body.gallery-page .link-explainer a:hover {
	color: #ffcc00;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
}

h2 {
	margin-top: 0.2em;
	margin-bottom: 0.6em;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 1.2 !important;
}

h2 {
	margin-top: 0.5em !important;
	margin-bottom: 0.5em !important;
}
p {
	margin-top: 0.6em !important;
	margin-bottom: 1em !important;
}

.cover-page .cover {
	transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
	will-change: transform, box-shadow;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cover-page .cover:hover {
	transform: scale(1.05);
	box-shadow: 0 0 40px 10px gold;
	cursor: pointer;
}
.cover-page .cover:active {
	transform: scale(0.97);
	box-shadow: 0 0 20px 5px orange inset;
}
.fullscreen-cover {
	transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
	will-change: transform, box-shadow;
	border: 4px solid gold;
	border-radius: 12px;
	box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fullscreen-cover:hover {
	transform: scale(1.03);
	box-shadow: 0 0 30px 10px gold;
}

.cover-page .cover:hover {
	transform: scale(1.08);
	box-shadow: 0 0 80px 30px gold;
}
.fullscreen-cover:hover {
	transform: scale(1.05);
	box-shadow: 0 0 60px 20px gold;
}
.small {font-size:22px;line-height:24px}
.large {font-size: 25px;line-height:29px;}
.larger {font-size: 30px;line-height:34px}
.largest {font-size: 35px;line-height:39px}
.title3 {font-size: 37px;line-height:37px}
.title2 {font-size: 39px;line-height:39px}
.title {font-size: 41px;line-height:45px;margin-top:10px;margin-bottom:15px}
.center {
	margin-left:auto;
	margin-right:auto;
	text-align:center;
}
.red {
	color: rgb(255, 0, 0);
	font-style: italic;
	font-weight: bold;
}
.blue {
	color: rgb(95,174,255);
	font-weight: bold;
}
.green {
	color: rgb(0, 231, 0);
	font-weight: bold;
}
.grey {
	color: rgb(161,161,161);
}
.gold {
	color: rgb(255,215,0);
	font-weight: bold;
}
.values {
	font-size: 1.25rem !important;
	font-family: Arial, sans-serif !important;
	line-height: 1.2 !important;
}
.t1 {
	width:100%;
	border-width:0px;
	font-size:15px;
	border-spacing:0px;
	margin-bottom:0px;
	margin-left:0px;
	margin-right:0px;
	margin-top: -3px;
	printer-colors: exact;
	-webkit-print-color-adjust: exact;
}
.t1r {
	color:rgb(0,0,0);
	padding:0px;
	margin:0px;
}
.t_black {
	width:20%;
	text-align:center;
	border: 1px solid black;
	color:white;
	padding:1px;
	background-color: black
}
.t_green {
	width:20%;
	text-align:center;
	border: 1px solid black;
	color:white;
	padding:1px;
	background-color: rgb(0,161,0);
}
.t_red {
	width:20%;
	text-align:center;
	border: 1px solid black;
	color:white;
	padding:1px;
	background-color: rgb(255,0,0);
}
.t_blue {
	width:20%;
	text-align:center;
	border: 1px solid rgb(0,0,255);
	color:white;
	padding:1px;
	background-color: rgb(0,0,255);
}
.t_gold {
	width:20%;
	text-align:center;
	border: 1px solid black;
	color:white;
	padding:1px;
	background-color: rgb(188,159,0);
}
.video-container {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
}
.video-container iframe,
.video-container object,
.video-container embed {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
}
.quote {
	font-style: italic;
	color: #ccc;
	margin: 1.5rem auto;
	max-width: 700px;
	text-align: center;
}


/* Symbol wrapper: tightly fits image */



/* Hover effect */


/* Image fills container exactly */


/* Tighter TOC Layout */
.toc-container {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
a.toc-entry {
	display: block;
	padding-left:10px;
	padding-right:10px;
	padding-top:0px;
	padding-bottom:0px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.65);
	border: 3px solid rgba(255, 215, 0, 0.5);
	box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	margin: 0px;
	line-height:1.4em !important;
}
a.toc-entry h2 {
	margin: 0 0 0.25rem 0;
	font-size: 1rem;
}
a.toc-entry p {
	margin: 0;
	font-size: 0.85rem;
	color: #ccc;
}
/* Persistent divine glow state */

/* Enhance transition behavior for all relevant hoverable elements */
.cover-link,
.symbol-link,
.fullscreen-cover,
.toc-entry {
	will-change: transform, box-shadow;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}
/* Ensure hover effects apply when the pointer is present */
.cover-page .cover-link:hover,
.symbol-link:hover,
.toc-entry:hover {
	transform: scale(1.06);
	box-shadow: 0 0 60px 25px gold;
	cursor: pointer;
}
/* iOS full-height no-scroll and centered cover styles */
@supports (-webkit-touch-callout: none) {
	.cover-page {
		height: 100vh;
		height: calc(var(--vh, 1vh) * 100);
		overflow: hidden;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	body.cover-page {
		margin: 0;
		padding: 0;
		overflow: hidden;
		touch-action: none;
		-webkit-overflow-scrolling: auto;
	}
}
/* Smooth glow transition for hover-capable devices */
@media (hover: hover) and (pointer: fine) {
	.cover-image.hovered, .clickable.hovered {
		transition: transform 0.3s ease, box-shadow 0.3s ease;
		box-shadow: 0 0 45px 20px rgba(255, 255, 255, 0.85);
	}
}
/* Enforce font hierarchy on mobile: h1 > h2 > h3 > p */
@media (max-width: 1024px) and (hover: none) and (pointer: coarse) {
	h1 {
		font-size: 1.6em;
	}
	h2 {
		font-size: 1.4em;
	}
	h3 {
		font-size: 1.2em;
	}
	p {
		font-size: 1em;
	}
}
/* Ensure toc-entry <h2> is larger than <p> on iPads and mobile devices */
@media (max-width: 1024px) and (hover: none) and (pointer: coarse) {
	.toc-entry h2 {
		font-size: 1.4em !important;
	}
	.toc-entry p {
		font-size: 1em !important;
	}
}
/* Diagnostic: reveal transparency or edge artifacts in images */
.symbol-link img {
	background-color: gold !important;
}
/* Reinforce image edge: simulate gold backing to hide aliasing, no HTML change */


.gallery .item img {
	border: 3px solid gold !important;
	box-shadow: 0 0 18px rgba(255, 215, 0, 0.3);
	border-radius: 10px !important;
}
.gallery .item img

body.gallery-page .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2rem;
	padding: 2rem;
	max-width: 1600px;
	margin: auto;
}
body.gallery-page .item {
	background: rgba(0, 0, 0, 0.8);
	border-radius: 12px;
	padding: 1rem;
	text-align: center;
}
body.gallery-page .item img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	border: 3px solid gold;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: none;
}
body.gallery-page .item h2 {
	font-size: 1.2em;
	color: gold;
	margin: 0.6em 0 0.2em;
	text-shadow: none;
	transition: none;
}
body.gallery-page .item p {
	color: #ddd;
	font-size: 0.95em;
	margin: 0.5em 0 0;
	text-shadow: none;
	transition: none;
}

body.gallery-page {
	padding: 2rem;
}
body.gallery-page .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2rem;
	max-width: 1600px;
	margin: auto;
}
body.gallery-page .item {
	background: rgba(0, 0, 0, 0.8);
	border-radius: 12px;
	padding: 1rem;
	text-align: center;
}
body.gallery-page .item img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	border: 3px solid gold;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: none;
}
body.gallery-page .item h2 {
	font-size: 1.2em;
	color: gold;
	margin: 0.6em 0 0.2em;
	text-shadow: none;
	transition: none;
}
body.gallery-page .item p {
	color: #ddd;
	font-size: 0.95em;
	margin: 0.5em 0 0;
	text-shadow: none;
	transition: none;
}
body.gallery-page 

body.cover-page {
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	height: 100vh !important;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	body.gallery-page .gallery {
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
		gap: 1.5rem !important;
		padding: 1.5rem !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	body.gallery-page .item {
		padding: 1rem !important;
		border-radius: 12px !important;
		background: rgba(0, 0, 0, 0.8) !important;
	}
	body.gallery-page .item img {
		width: 100% !important;
		height: auto !important;
		max-width: 100% !important;
		display: block;
		margin: 0 auto;
	}
}

body.gallery-page .gallery {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
	justify-content: center !important;
	align-items: start;
	gap: 2rem !important;
	padding: 2rem !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 auto !important;
	overflow-x: hidden !important;
}
body.gallery-page .item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1rem;
	background-color: rgba(0, 0, 0, 0.85);
	border-radius: 12px;
}
body.gallery-page .item img {
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	display: block;
	margin: 0 auto;
}


.gallery .item img {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	will-change: transform, box-shadow;
}

.gallery .item img:hover,
.gallery 



.gallery .item img {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	will-change: transform, box-shadow;
}




.gallery 


/* Final hover glow for image ONLY — never the container */
.gallery .item img {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	will-change: transform, box-shadow;
}

.gallery .item img:hover {
	transform: scale(1.075);
	box-shadow:
		0 0 10px rgba(255, 215, 0, 0.4),
		0 0 20px rgba(255, 215, 0, 0.6),
		0 0 30px rgba(255, 215, 0, 0.9);
	z-index: 2;
}




body.gallery-page .gallery .item img:hover {
  transform: scale(1.075);
  box-shadow:
    0 0 10px rgba(255, 215, 0, 0.4),
    0 0 20px rgba(255, 215, 0, 0.6),
    0 0 30px rgba(255, 215, 0, 0.9);
  z-index: 2;
}

.cover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: scale(1);
  box-shadow: none;
}
.cover:hover {
  transform: scale(1.08);
  box-shadow: 0 0 80px 30px gold;
}


/* Constrain the symbol link container size */


/* Prevent image from stretching too wide */




/* FINAL FIX: Prevent aspect-ratio distortion on symbol images */





/* FINAL CORRECTION: Symbol images scale naturally without distortion */







/* FINAL VISUAL FIX — Clean container + image separation */







.img-symbols {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 1200px;
}

/* Symbol wrapper wraps tightly around image width, maintains same height as siblings */
.symbol-link {
  display: inline-flex;
  align-items: stretch;
  padding: 0;
  margin: 0;
  border: 3px solid gold;
  border-radius: 16px;
  background-color: black;
  box-sizing: border-box;
  box-shadow:
    0 0 6px rgba(255, 215, 0, 0.5),
    0 0 12px rgba(255, 215, 0, 0.6),
    inset 6px 6px 6px 6px gold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 180px;
}

/* Hover glow */
.symbol-link:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.6),
    0 0 40px rgba(255, 215, 0, 0.8),
    0 0 80px rgba(255, 215, 0, 1);
}

/* Symbol image: auto width, fixed height, no distortion */
.symbol-img {
  display: block;
  height: 100%;
  width: auto;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}
