body {
	font-family: system-ui, sans-serif;
	font-size: 14px;
	background-color: #E8E8E8;
}
.content5 {
	max-width: 1375px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	padding-left: 5px;
	padding-right: 5px;
}
h1 {
	padding: 0;
	margin: 0;
}
h2 {
	font-weight: normal;
	padding: 0;
	margin: 0;
}
.catheader {
	font-size: 2.0em;
	font-weight: bold;
	padding-bottom: 5px;
}
.movie-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.movie-card {
	background: #fff;
	border-radius: 10px;
	padding: 8px;
	display: flex;
	flex-direction: column;
	position: relative;
	width: 160px;
}
.cat-title {
	display: flex;
	font-weight: 600;
	height: 40px;
	width: 100%;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.movie-title {
    text-align: center;
    font-weight: 600;
}
.nominee-desc {
    text-align: center;
}
.DSPERROR {
	background-color: yellow;
	color: red;
	font-weight: bold;
	padding: 12px;
}
/* unvisited link */
a:link {
  color: blue;
}
/* visited link */
a:visited {
  color: blue;
}
/* mouse over link */
a:hover {
  color: red;
}
/* selected link */
a:active {
  color: red;
}
.tied-container {
	display: flex;
	width: 100%;
	height: 240px;
	overflow: hidden;
}
.tied-container img {
	flex: 1 1 0;
	width: 0;              /* critical */
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
/* ===== BASE NAV ===== */
.topnav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    background: #1f2933; /* dark slate */
    border-bottom: 1px solid #2f3b47;
}
.topnav a {
    flex: 1 1 auto;
    min-width: 70px;
    text-align: center;
    text-decoration: none;
    color: #e5e7eb;
    background: #2f3b47;
    padding: 10px 8px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.2;
    transition: background 0.15s ease, transform 0.1s ease;
}
.topnav a:hover {
    background: #3b4a59;
}
.topnav a:active {
    transform: translateY(1px);
}
/* ===== ACTIVE STATE ===== */
.topnav a.active {
    background: #2563eb; /* blue */
    color: #ffffff;
    font-weight: 600;
}
/* ===== REFRESH / META TEXT ===== */
.topnav .refresh {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    opacity: 0.85;
}
/* ===== SUB NAV ===== */
.topnav.subnav {
    background: #f3f4f6;
    border-bottom: 1px solid #d1d5db;
}
.topnav.subnav a {
    background: #ffffff;
    color: #374151;
    font-size: 13px;
}
.topnav.subnav a:hover {
    background: #e5e7eb;
}
.topnav.subnav a.active {
    background: #111827;
    color: #ffffff;
}
/* ===== DESKTOP ENHANCEMENT ===== */
@media (min-width: 768px) {
    .topnav a {
        flex: 0 0 auto;
        min-width: 80px;
        padding: 12px 14px;
    }
}
