:host,html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	font-family: ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
	font-feature-settings: normal;
	font-variation-settings: normal;
	font-size: 16px;
	tab-size: 4;
	-webkit-tap-highlight-color: transparent
}

/* Mobile-first base */
body {
  margin: 0;
  padding: 1rem;
}

/* Tablet */
@media (min-width: 768px) {
  body {
    padding: 2rem;
    max-width: 750px;
    margin: 0 auto;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  body {
    max-width: 960px;
  }
}
body {
	line-height: inherit;
}

body  section, section  figure {padding:1em;}
table {  font-size: 1em; /* reset to fix browser-quirk */ }

figure {
margin: 0; /* Remove default browser margins */
width: 100%;
}

figure img {
width: 100%;
height: auto; /* Fixed height for cover effect */
object-fit: cover;
display: block; /* Removes bottom gap */
}

figure figcaption {
margin-top: 0.5rem;
font-size: 1rem;
color: #555;
text-align: center; /* Optional */
}

header {
	background-color: #f5f5f5; /* Light gray background */
	display: grid;
	/* Two equal columns */
	grid-template-columns: 1fr 1fr; 
	align-items: center; /* Vertically center content */
	padding: 10px 20px;
	width: 100%;
	box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {min-width:0;overflow-wrap: anywhere;}
h1 {font-size:2.5rem;}
h2 {font-size:1.5rem;}
section > h1, section > h2 { margin-bottom:0px;margin-top:0px;} 
h1 a { text-decoration: none; }
/* First Nav: Align to Start (Left) */
header > nav:nth-child(1) {
	justify-self: start;


}

/* Second Nav: Align to End (Right) */
header > nav:nth-child(2) {
	justify-self: end;
}

/* Reset List Styles */
header nav ul {
	  display: flex;
  	flex-wrap: wrap; 
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 15px;
	font-weight: bold;
	font-weight: 300;
}

header > nav:first-child  > ul> li:first-child {
	font-weight:bold;

}

a {
	color: inherit;
	text-decoration: underline dotted rgb(177, 182, 184);
	text-underline-offset: 4px;
}

a:hover {
  text-decoration-style: solid;
}
header nav a {
	text-decoration: none;
	color: #333;
}

table {border-collapse: separate;border-spacing: 1rem 0.5rem;margin: -0.5rem -1rem }