body {
			background-color: white;
			margin-left: 30px;
		}
		
	p  {
			color: black;
			font-size: 20px;
		}
		
	h1 {
			color: darkred;
			background-color: white;
		}
	
	h2 {
			color: darkred;			
		}
	
	h3 {
			color: brown;
			font-size: 22px;			
		}
	
	h4 {
			color: black;
			font-size: 20px;
			font-style: italic;
			text-align:left;
			margin-right: 30px;
			margin-left: 30px;
		}

	h5 {
			color: black;
			font-size: 20px;
			font-style: italic;
			text-align:right;
			margin-right: 30px;
			margin-left: 30px;
		}
		
	img	{
			margin: 30;
		}
	
	.corner-logo{
			position: fixed;
			right: 5px;      /* distance from right edge */
			bottom: 50px;     /* distance from bottom edge */
			z-index: 900;     /* below banners, above content */
		}
	
	.caption-box {
			max-width: 1000px;
			margin: 18px 0;
			padding: 12px 16px;
			border-left: 5px solid #5b6f8f;
			background: #f4f6f9;
			color: #222;
			font-family: Arial, Helvetica, sans-serif;
			font-size: 14px;
			line-height: 1.45;
		}

	.caption-box .caption-title {
			display: block;
			margin-bottom: 4px;
			font-weight: bold;
			color: #2f405c;
		}

	.caption-box .caption-text {
			margin: 0;
			font-size: 16px;      /* Smaller text */
			font-style: italic;   /* Italic */
			line-height: 1.4;
			color: #555;
		}

	.popup {
		position: relative;
		display: inline-block;
		cursor: pointer;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

	/* The actual popup */
	.popup .popuptext {
		visibility: hidden;
		width: 800px;
		background-color: #000;   /* Black background */
		color: #fff !important;   /* Force white text */
		font-size: 20px;  /* Adjust size */
		line-height: 1.4; /* Better spacing */
		text-align: left;
		border-radius: 6px;
		padding: 15px;
		position: fixed;          /* Fixed to viewport */
		z-index: 1000;
		top: 50%;                 /* Center vertically */
		left: 50%;                /* Center horizontally */
		transform: translate(-50%, -50%); /* Perfect centering */
	}

	/* Remove popup arrow (optional, since it’s no longer “pointing” to anything) */
		.popup .popuptext::after {
		display: none;
	}

	/* Toggle this class - hide and show the popup */
	.popup .show {
		visibility: visible;
		animation: fadeIn 1s;
	}

	/* Add animation (fade in the popup) */
	@keyframes fadeIn {
		from {opacity: 0;} 
		to {opacity: 1;}
	}

	/* Styling for the popup text */
	.popuptext p {
	margin: 0;
	padding-bottom: 10px;
	}
	
	/* red pulsing outline for menu images */
	.menu-highlight {
	outline: 4px solid red;
	outline-offset: 2px;
	animation: pulse 0.8s ease-in-out infinite alternate;
	}
	@keyframes pulse { from {opacity:1} to {opacity:.55} }

	/* hide browser focus boxes that can “stick” */
	area:focus, area:active,
	img[usemap]:focus,
	a:focus img, a:active img {
	outline: none !important;
	}
	
	.popup .popuptext { pointer-events: auto; z-index: 1000; }
	.popup .popuptext .popup-close {
	position: absolute; top: 6px; right: 8px;
	font-size: 20px; line-height: 1; border: 0; background: transparent;
	color: #fff; cursor: pointer;
	}
	
	.helper-pop {
	position: fixed; left: 100px; top: 16px;
	max-width: 320px; padding: 10px 12px;
	background:#222; color:#fff; border-radius:8px;
	box-shadow:0 6px 18px rgba(0,0,0,.35); z-index: 2000;
	font: 14px/1.3 system-ui, sans-serif;
	}
	.helper-pop button {
	margin-left:12px; background:#444; color:#fff; border:0; cursor:pointer; padding:4px 8px; border-radius:6px;
	}
	
	a.examples-link { color: #facc15; }  /* yellow */
	
	/* small close button in the popup’s top-right */
  .popuptext { position: fixed; } /* you already have this */
  .popuptext .popup-close{
    position:absolute; top:6px; right:8px;
    font-size:20px; line-height:1; border:0; background:transparent;
    color:#fff; cursor:pointer;
  }
  .popuptext .popup-close:focus{ outline:2px solid rgba(255,255,255,.5); }
	
	h2{
	margin-top: 6px;     /* reduce from browser default (~20px) */
	margin-bottom: 6px;  /* keep tight */
	}
	
	table {
            width: 100%;
            max-width: 1200px;
            border-collapse: collapse;
            margin: 30px auto;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
    th, td {
            border: 1px solid #ccc;
            padding: 14px;
            text-align: left;
            vertical-align: top;
        }
    th {
            background-color: #007acc;
            color: white;
            font-weight: bold;
        }
    tr:nth-child(even) {
            background-color: #f9f9f9;
        }
    tr:hover {
            background-color: #f1f1f1;
        }
    caption {
            font-size: 1.2em;
            font-weight: bold;
            padding: 10px;
            caption-side: top;
        }
	
	.date-stamp-container {
			position: absolute;           /* or use fixed if you want it to stay on scroll */
			top: 0px;                    /* no offset from top edge – change to 0 for flush */
			right: 20px;                   /* small offset from right edge – change to 0 for flush */
			z-index: 1000;                /* make sure it's above other content */
			width: 120px;
			height: 90px;
		}

	.2110-date-stamp-container {
			position: absolute;           /* or use fixed if you want it to stay on scroll */
			bottom: 70px;                    /* small offset from top edge – change to 0 for flush */
			right: 50px;                   /* small offset from left edge – change to 0 for flush */
			z-index: 1000;                /* make sure it's above other content */
			width: 120px;
			height: 90px;
		}
	
	.sp-date-stamp-container {
			position: absolute;           /* or use fixed if you want it to stay on scroll */
			top: 210px;                   /* offset from top edge – change to 0 for flush */
			left: 1150px;                   /* small offset from left edge – change to 0 for flush */
			z-index: 1000;                /* make sure it's above other content */
			width: 120px;
			height: 90px;
		}	

	.date-stamp {
			width: 100%;
			height: 100%;
			background: #fff;
			border: 3px solid #8B0000;
			border-radius: 6px;
			box-shadow:
				0 6px 12px rgba(0,0,0,0.4),
				inset 0 1px 3px rgba(0,0,0,0.25);
			position: relative;
			overflow: hidden;
			display: flex;                /* helps center content vertically */
			align-items: center;
			justify-content: center;
		}

    /* Ink smudge effects – scaled way down */
    .date-stamp::before,
    .date-stamp::after {
			content: "";
			position: absolute;
			width: 160%;
			height: 4px;
			background: rgba(139, 0, 0, 0.3);
			transform: rotate(-8deg);
			top: 25%;
			left: -30%;
			border-radius: 50%;
		}

    .date-stamp::after {
			transform: rotate(7deg);
			top: 68%;
		}

    .stamp-text {
			font-family: 'Courier New', Courier, monospace;
			color: #8B0000;
			font-weight: bold;
			text-align: center;
			line-height: 1.15;
			text-shadow: 1px 1px 2px rgba(139,0,0,0.3);
			width: 100%;
			padding: 4px;
			box-sizing: border-box;
		}

    .updated {
			font-size: 13px;              /* much smaller to fit */
			font-weight: 900;
			text-transform: uppercase;
			letter-spacing: 2px;
			margin: 0 0 2px 0;
		}

    .main-date {
			font-size: 15px;              /* tight fit */
			margin: 1px 0;
			white-space: nowrap;
		}

    .detail-line {
			font-size: 15px;
			margin: 1px 0;
		}
	
	footer p {
			margin: 0;
			padding: 10px 0;
			background-color: Purple;
			text-align: center;
			font-size: .8em;
			position: fixed;
			left: 0;
			bottom: 0;
			width: 100%;
			color: white;
			text-align: center;
		}

	footer href {
			color: red;
		}
	
	.site-footer{
  margin: 0;
  padding: 4px 0;
  background-color: brown;
  font-size: 0.9em;
  color: white;

  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;

  display: flex;
  align-items: center;          /* vertical alignment */
  justify-content: center;      /* center horizontally */
  gap: 14px;                    /* spacing between items */

  z-index: 1000;
}

.site-footer img{
  display: block;               /* removes baseline gap */
}

.site-footer a{
  color: white;
  text-decoration: underline;
}

/* Prevent footer from covering page content */
body{
  padding-bottom: 60px;         /* adjust to footer height */
}

.site-footer img{
  width: 20px;             /* ↓ from 40px */
  height: 20px;
  display: block;
}

#topBtn {
    display: none;
    position: fixed;
    bottom: 1px;
    right: 30px;
    z-index: 9999;

    padding: 12px 18px;
    font-size: 18px;
    font-weight: bold;
    color: #c00000;          /* Dark red text */
    background-color: #f5f5f5;
    border: 2px solid #c00000;
    border-radius: 8px;
    cursor: pointer;

    box-shadow: 2px 2px 8px rgba(0,0,0,.3);
    transition: all .25s ease;
}

#topBtn:hover {
    background-color: #c00000;
    color: white;
    transform: translateY(-2px);
}

.study {
	position: absolute;
	top: 30px;
	left: 1060px;
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 1100;
}

.home {
	position: absolute;
	top: 30px;
	left: 1180px;
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 1100;
}

.textbox {
    position: absolute;
    padding: 15px;
    background: #fffff8;
    border: 2px solid #666;
    border-radius: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
	text-align: center;
    line-height: 0.8;
    color: #222;
    box-shadow: 3px 3px 10px rgba(0,0,0,.25);
    z-index: 1000;
}

.textbox h3 {
    margin: 0 0 10px 0;
    color: #8b0000;
    font-size: 18px;
}

.textbox p {
    margin: 0 0 10px 0;
}

.textbox-label {
    position: absolute;
    padding: 15px;
    background: #5f5f5f;
    border: 2px solid #666;
    border-radius: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
	color: white;
	text-align: center;
    line-height: 0.8;
    box-shadow: 3px 3px 10px rgba(0,0,0,.25);
    z-index: 1000;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    width: 80%;
    max-width: 650px;
    max-height: 85vh;           /* Important: limits height */
    margin: 5% auto;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    position: relative;
    overflow-y: auto;           /* Makes it scrollable */
    overflow-x: hidden;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.modal-close:hover {
    color: #f00;
}

li {
    font-size: 18px !important;
    line-height: 1.55;
}