.menu {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #F7EDC7;
	font-size: 13px;
	text-decoration: none;
}

.membersLogin {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #990000;
	font-size: 18px;
}

.freeSamples {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #ECDFAA;
	font-size: 18px;
}

.top_border {
	border-top-width: 2px;
	border-top-style: double;
	border-top-color: #990000;
}

.border_4px {
	border: 4px solid #990000;
}

.border_2px {
	border: 2px solid #990000;
}

.image_border {
	border: 8px solid #990000;
}

.image_border_dark {
	border: 8px solid #FF9999;
}

.image_outer_border_light {
	border: 2px solid #F7EDC7;
}

.image_outer_border_dark {
	border: 2px solid #000000;
}

a:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #990000;
	text-decoration: underline;
	font-weight: bold;
}

a:active, a:visited {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000000;
	text-decoration: underline;
	font-weight: bold;
}

a:link {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000000;
	text-decoration: underline;
	font-weight: bold;
}

p, div, td {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #000000;
	font-size: 13px;
}

.light_bgcolor {
	background: #F7EDC7;
}

.dark_bgcolor {
	background: #ECDFAA;
}

.light_bgcolor2 {
	background: #C45050;
}

.dark_bgcolor2 {
	background: 990000;
}

/* =========================
   Modernized Search (scoped)
   ========================= */

/* Search page: gradient dark grey background (replaces yellow) */
body.rsi-search-page {
	background: #3a3a3a;
	background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 50%, #1a1a1a 100%);
	min-height: 100vh;
}

/* Search page footer: light text and links on dark background */
body.rsi-search-page .rsi-footer,
body.rsi-search-page .rsi-footer font {
	color: #d8d8d8 !important;
}
body.rsi-search-page .rsi-footer a:link,
body.rsi-search-page .rsi-footer a:visited,
body.rsi-search-page .rsi-footer a:active,
body.rsi-search-page .rsi-footer a:hover {
	color: #b8e0e8 !important;
	text-decoration: underline;
}
body.rsi-search-page .rsi-footer a:hover {
	color: #d0f0f8 !important;
}

.rsi-search {
	max-width: 1180px;
	margin: 10px auto 30px;
	padding: 16px 18px 24px;
	background: #101010;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

.rsi-search__banner {
	margin-bottom: 14px;
}

.rsi-search__bannerImage {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border: 0;
}

.rsi-search__crumbs {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: #c8c8c8;
	margin: 0 0 10px;
}

.rsi-search__header {
	display: block;
	width: 220px;
	max-width: 100%;
	border: 0;
	background: transparent;
}

.rsi-search__panel {
	margin-top: 18px;
	background: #181818;
	border-radius: 6px;
	border: 1px solid #272727;
}

.rsi-search__panelTitle {
	background: transparent;
	color: #f5f5f5;
	padding: 12px 16px 4px;
	border-bottom: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 14px;
}

.rsi-search__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px 12px 14px;
}

.rsi-search__filterGrid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rsi-search__filterRow {
	display: inline-block;
	margin: 0;
}

.rsi-search__label {
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 12px;
	margin: 0 0 4px;
	color: #aaaaaa;
}

.rsi-search__select {
	min-width: 150px;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid #333;
	background: #202020;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: #f5f5f5;
	cursor: pointer;
}

.rsi-search__nav {
	display: block;
	padding: 10px 14px;
	border-top: 1px solid #272727;
	background: #181818;
}

.rsi-search__navInner {
	display: block;
}

.rsi-search__navLeft,
.rsi-search__navCenter,
.rsi-search__navRight {
	display: block;
	margin: 6px 0;
}

.rsi-search__navCenter {
	text-align: left;
	color: #c8c8c8;
}

.rsi-search__results {
	margin-top: 18px;
}

.rsi-search__topMeta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 6px 4px 4px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
}

.rsi-search__topMeta,
.rsi-search__topMeta div,
.rsi-search__topMeta span {
	color: #e0e0e0 !important;
}

.rsi-search__topMetaLeft {
	flex: 1;
}

.rsi-search__topMetaRight {
	margin-left: 8px;
	white-space: nowrap;
	font-weight: 600;
}

.rsi-search__pager {
	margin: 18px auto 0;
	padding: 10px 0 4px;
	text-align: center;
}

.rsi-page {
	display: inline-block;
	min-width: 32px;
	padding: 6px 10px;
	margin: 0 4px;
	border-radius: 3px;
	background: #383838;
	border: 1px solid #666;
	color: #f5f5f5 !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	text-decoration: none !important;
}

.rsi-page:hover {
	background: #4a4a4a;
	border-color: #777;
	color: #ffffff !important;
	text-decoration: none !important;
}

.rsi-page.selected {
	background: #25c4b8;
	border-color: #25c4b8;
	color: #000 !important;
}

.rsi-page--next {
	background: #25c4b8;
	border-color: #25c4b8;
	color: #000 !important;
	text-decoration: none !important;
}

.rsi-page--next:hover {
	background: #45d7cb;
	border-color: #45d7cb;
	color: #000 !important;
	text-decoration: none !important;
}

/* Style Prev like Next when shown */
.rsi-page--prev {
	background: #25c4b8;
	border-color: #25c4b8;
	color: #000 !important;
	text-decoration: none !important;
}

.rsi-page--prev:hover {
	background: #45d7cb;
	border-color: #45d7cb;
	color: #000 !important;
	text-decoration: none !important;
}

.rsi-search__modelChip {
	display: inline-block;
	vertical-align: middle;
	margin: 0 0 8px;
}

.rsi-search__modelChip img {
	border: 2px solid #333;
	width: 84px;
	height: 84px;
}

.rsi-search__modelName {
	display: inline-block;
	vertical-align: top;
	padding-left: 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #f5f5f5;
}

.rsi-search__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.rsi-search__card {
	background: #181818;
	border: 1px solid #272727;
	border-radius: 6px;
	padding: 8px 8px 10px;
	margin: 0;
	flex: 1 1 calc(50% - 12px); /* two per row on small screens */
	box-sizing: border-box;
}

.rsi-search__cardInner {
	display: block;
}

.rsi-search__thumb {
	display: block;
	width: 100%;
	max-width: 240px;
	border-radius: 4px;
	border: 0;
	background: #000;
}

.rsi-search__title {
	margin: 10px 0 6px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #ffffff;
}

.rsi-search__title a {
	color: #ffffff;
	text-decoration: none;
}

.rsi-search__desc {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: #d0d0d0;
	line-height: 1.35em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
}

.rsi-search__meta {
	margin-top: 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.5em;
}

.rsi-search__meta,
.rsi-search__meta div,
.rsi-search__meta span {
	color: #e0e0e0 !important; /* ensure meta text (labels + values) is light on dark */
}

.rsi-search__meta strong {
	font-weight: bold;
	color: #f5f5f5 !important; /* brighten meta labels like Section, Updated, Pictures, Movies, Rating */
}

/* Accent color for links and pills (teal) */
.rsi-search__links a {
	color: #25c4b8;
	text-decoration: none;
	font-weight: bold;
}

.rsi-search__pillGroup {
	margin-top: 6px;
}

.rsi-search__pillTitle {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	margin: 10px 0 4px;
	color: #c8c8c8;
}

.rsi-search__pill a {
	display: inline-block;
	margin: 0 4px 4px 0;
	padding: 4px 8px;
	border-radius: 999px;
	border: 1px solid #333;
	background: #202020;
	color: #f5f5f5;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}

.rsi-search__pill--date {
	display: inline-block;
	margin: 0 0 0 4px;
	padding: 4px 8px;
	border-radius: 999px;
	border: 1px solid #333;
	background: #202020;
	color: #e0e0e0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
}

.rsi-search__pill a:hover {
	background: #25c4b8;
	color: #000;
	border-color: #25c4b8;
}

.rsi-search__empty {
	background: #181818;
	padding: 10px 12px;
	border-radius: 4px;
	border: 1px solid #272727;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-align: center;
	color: #f5f5f5;
}

/* Progressive enhancement for modern browsers (kept simple) */
@media (min-width: 760px) {
	.rsi-search__filterGrid {
		display: table;
		width: 100%;
		border-spacing: 12px 0;
	}
	.rsi-search__filterRow {
		display: table-cell;
		width: 20%;
		margin-bottom: 0;
	}
	.rsi-search__navInner {
		display: table;
		width: 100%;
	}
	.rsi-search__navLeft,
	.rsi-search__navCenter,
	.rsi-search__navRight {
		display: table-cell;
		vertical-align: middle;
		width: 33%;
		margin: 0;
	}
	.rsi-search__navCenter {
		text-align: center;
	}
	.rsi-search__navRight {
		text-align: right;
	}
	/* Tube-style grid: 4 per row on desktop */
	.rsi-search__card {
		flex: 0 0 calc(25% - 12px);
	}
}
