#header {
	background: linear-gradient(to bottom, #f7f5ef, #ede9df);
	color: #002855;
	font-weight: bold;
	margin: 0;
	padding: 20px 16px;
}

.header-banner {
	display: block;
}

.header-title {
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.8em;
	font-weight: 700;
	color: #002855;
	line-height: 1.2;
}

.header-year {
	color: #8F7000;
}

.header-subtitle {
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 0.95em;
	font-weight: 600;
	color: #555;
	margin-top: 4px;
	padding-top: 6px;
	border-top: 2px solid #DAAA00;
	display: inline-block;
}

a {
	color: #002855;
	text-decoration: underline;
}

a:hover {
	text-decoration: underline;
}

h1 {
	color: #002855;
}

h2 {
	margin-left: 50px;
}

h3 {
	margin-left: 50px;
}

p {
	margin-left: 50px;
}

#pindent {
	margin-left: 100px;
}

body {
	font-family: sans-serif;
	margin: 0;
}

ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #002855;
}

li {
	float: left;
}

li a {
	display: block;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-weight: bold;
}

li a:hover {
	background-color: #4D688C;
	text-decoration: none;
}

#main {
	margin: 50px;
	width: 1000px;
	min-height: 400px;
}

ul#main-list {
	list-style-type: disc;
	padding: 0;
	background-color: white;
}

ul li#main-list {
	margin-left: 100px;
}

#right {
	float: left;
	width: 1000px;
	border: solid;
	border-color: #002855;
	padding: 10px 10px 10px 10px;
	clear: left;
	margin-top: 25px;
}

img {
	padding-right: 10px;
	padding-bottom: 5px;
	padding-top: 5px;
}

#imgright {
	float: left;
}

#pright {
	margin: 0;
}

#footer {
	text-align: center;
	color: #ffffff;
	background-color: #002855;
	margin-bottom: 0px;
	clear: both;
	border: solid;
	border-color: #002855;
}

table,
td,
tr {
	margin-left: 50px;
	border: 1px solid black;
	padding: 10px;
	border-collapse: collapse;
}

/* Modern speaker profile card */
.speaker-profile {
	max-width: 800px;
	margin: 20px 50px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 40, 85, 0.1);
	overflow: hidden;
}

.speaker-profile-header {
	background: linear-gradient(135deg, #002855 0%, #1a4a7a 50%, #DAAA00 100%);
	color: white;
	padding: 30px 40px;
}

.speaker-profile-header h2 {
	margin: 0 0 8px 0;
	font-size: 1.6em;
	color: white;
}

.speaker-profile-header .speaker-title {
	font-size: 1.0em;
	opacity: 0.9;
	line-height: 1.5;
}

.speaker-profile-body {
	padding: 30px 40px;
}

.speaker-profile-body h3 {
	color: #002855;
	margin: 20px 0 10px 0;
	font-size: 1.2em;
	border-bottom: 2px solid #DAAA00;
	padding-bottom: 8px;
	display: inline-block;
}

.speaker-profile-body p {
	margin: 0 0 20px 0;
	line-height: 1.7;
	color: #333;
}

.speaker-detail-line {
	margin: 0 0 6px 0;
	color: #555;
	font-size: 0.95em;
}

.speaker-detail-line strong {
	color: #002855;
}

.speaker-session-badge {
	display: inline-block;
	background: #002855;
	color: white;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 0.9em;
	font-weight: bold;
	margin-top: 5px;
}

.speaker-back-link {
	display: inline-block;
	margin: 20px 50px;
	color: #002855;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.95em;
}

.speaker-back-link:hover {
	text-decoration: underline;
	color: #DAAA00;
}

/* Modern directions page */
.directions-card {
	max-width: 900px;
	margin: 15px 50px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(0, 40, 85, 0.08);
	overflow: hidden;
}

.directions-card-header {
	background: linear-gradient(135deg, #002855 0%, #1a4a7a 100%);
	color: white;
	padding: 12px 25px;
}

.directions-card-header h2 {
	margin: 0;
	font-size: 1.1em;
	color: white;
}

.directions-card-body {
	padding: 15px 25px;
}

.directions-card-body p {
	margin: 0 0 10px 0;
	line-height: 1.6;
	color: #333;
}

.directions-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	max-width: 960px;
	margin: 0 50px;
}

.directions-grid .directions-card {
	margin: 0;
}

.directions-map {
	max-width: 900px;
	margin: 20px 50px;
}

.directions-map h2 {
	margin-left: 0;
}

/* Memorial page layout */
.memorial-layout {
	display: flex;
	gap: 30px;
	margin: 20px 50px;
	align-items: flex-start;
}

.memorial-photo {
	flex-shrink: 0;
}

.memorial-text {
	flex: 1;
}

.memorial-text p {
	margin-left: 0;
	line-height: 1.7;
	color: #333;
}

/* ==============================
   Modern Schedule Page
   ============================== */

.schedule-day {
	max-width: 900px;
	margin: 25px 50px 40px;
}

.schedule-day-header {
	background: linear-gradient(135deg, #002855 0%, #1a4a7a 100%);
	color: white;
	padding: 16px 24px;
	border-radius: 10px 10px 0 0;
	display: flex;
	align-items: baseline;
	gap: 14px;
}

.schedule-day-label {
	font-size: 0.8em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	background: rgba(255, 255, 255, 0.2);
	padding: 4px 12px;
	border-radius: 4px;
}

.schedule-day-date {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.3em;
	font-weight: 600;
}

.schedule-timeline {
	border-left: 3px solid #DAAA00;
	margin-left: 20px;
	padding: 0 0 10px 0;
}

.schedule-item {
	display: flex;
	align-items: flex-start;
	margin: 0;
	padding: 0;
	position: relative;
}

.schedule-item::before {
	content: '';
	position: absolute;
	left: -8px;
	top: 16px;
	width: 13px;
	height: 13px;
	background: #DAAA00;
	border-radius: 50%;
	border: 2px solid white;
	box-shadow: 0 0 0 2px #DAAA00;
	z-index: 1;
}

.schedule-break::before {
	width: 9px;
	height: 9px;
	left: -6px;
	top: 14px;
	background: #ccc;
	box-shadow: 0 0 0 2px #ccc;
}

.schedule-time {
	flex-shrink: 0;
	width: 130px;
	padding: 12px 12px 12px 24px;
	font-size: 0.82em;
	font-weight: 700;
	color: #002855;
	line-height: 1.3;
}

.schedule-content {
	flex: 1;
	padding: 8px 0;
}

/* Session Cards */
.schedule-card {
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 40, 85, 0.08);
	overflow: hidden;
	background: white;
	margin-bottom: 4px;
}

.schedule-card-header {
	padding: 10px 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.schedule-technical .schedule-card-header {
	background: linear-gradient(135deg, #002855, #1a4a7a);
	color: white;
}

.schedule-keynote .schedule-card-header {
	background: linear-gradient(135deg, #002855, #0d3d6e, #1a4a7a);
	color: white;
}

.schedule-memorial .schedule-card-header {
	background: linear-gradient(135deg, #002855 0%, #1a4a7a 40%, #DAAA00 100%);
	color: white;
}

.schedule-social .schedule-card-header {
	background: linear-gradient(135deg, #1a6b5a, #218c74);
	color: white;
}

.schedule-session-type {
	font-weight: 700;
	font-size: 0.95em;
}

.schedule-chair {
	font-size: 0.8em;
	opacity: 0.85;
	font-style: italic;
}

.schedule-card-body {
	padding: 14px 18px;
}

.schedule-card-body p {
	margin: 0 0 8px 0;
	line-height: 1.6;
	color: #333;
}

/* Speaker entries inside cards */
.schedule-speaker {
	padding: 10px 14px;
	margin: 6px 0;
	background: #f8f9fa;
	border-radius: 6px;
	border-left: 3px solid #DAAA00;
}

.schedule-speaker-name {
	font-weight: 700;
	color: #002855;
	font-size: 0.95em;
}

.schedule-speaker-affil {
	font-size: 0.82em;
	color: #666;
	margin-top: 2px;
	line-height: 1.4;
}

.schedule-speaker-title {
	margin-top: 6px;
	font-size: 0.88em;
	color: #333;
}

.schedule-speaker-title a {
	color: #002855;
	font-weight: 600;
}

/* TBD placeholder text */
.schedule-tbd {
	color: #888;
	font-style: italic;
	margin: 0;
}

/* Break pills */
.schedule-break-pill {
	display: inline-block;
	background: #f0efe8;
	color: #666;
	padding: 6px 18px;
	border-radius: 20px;
	font-size: 0.85em;
	font-weight: 600;
}

/* ==============================
   Mobile Responsiveness
   ============================== */

@media screen and (max-width: 1040px) {
	/* Override container widths and excessive margins */
	#main {
		width: 100%;
		margin: 20px 0;
		padding: 0 15px;
		box-sizing: border-box;
		min-height: auto;
	}

	#right {
		width: 100%;
		box-sizing: border-box;
		margin-top: 15px;
		float: none;
	}

	/* Adjust structural margins across components */
	h2, h3, p, table, td, tr {
		margin-left: 0;
	}

	table {
		width: 100%;
		display: block;
		overflow-x: auto;
	}

	#pindent {
		margin-left: 15px;
	}

	ul li#main-list {
		margin-left: 20px;
	}

	/* Adjust navbar for mobile */
	ul {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	li {
		float: none;
		width: 100%;
	}

	li a {
		padding: 12px 15px;
		text-align: left;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	/* Responsive header */
	.header-title {
		font-size: 1.4em;
	}

	.header-subtitle {
		font-size: 0.85em;
	}

	/* Images responsive */
	img {
		max-width: 100%;
		height: auto;
	}

	#imgright {
		float: none;
		display: block;
		margin: 10px auto;
	}

	/* Speaker profiles */
	.speaker-profile {
		margin: 15px 0;
	}

	.speaker-back-link {
		margin: 15px 0;
	}

	/* Directions Layout */
	.directions-grid {
		grid-template-columns: 1fr;
		margin: 0;
	}

	.directions-map, .directions-card {
		margin: 15px 0;
	}

	/* Memorial layout */
	.memorial-layout {
		flex-direction: column;
		margin: 15px 0;
		gap: 15px;
	}

	/* Schedule Layout overrides */
	.schedule-day {
		margin: 20px 0;
	}

	.schedule-item {
		flex-direction: column;
	}

	.schedule-time {
		width: 100%;
		padding: 10px 10px 5px 24px;
		box-sizing: border-box;
	}

	.schedule-content {
		padding: 0 10px 15px 24px;
	}

	.schedule-item::before {
		top: 15px;
	}
}