
/*****************************************************************************/
/* retrobug variables                                                        */
/*****************************************************************************/
:root {
	--retro-red: #ff3036;
	--retro-darkred: #c02010;
	--retro-orange: #f55b1d;
	--retro-yellow: #ffc107;
	--retro-light: rgb(237, 241, 245);
	--retro-darkblue: rgb(49,61,95);
	--retro-black: rgb(0,0,0);
	--retro-blue: #007185;
	--retro-dark: #262626;
	--retro-gray: #ccc;
	--retro-lightgray: #dde0e6;
	--retro-lightergray: #eee;
	--retro-medium: #888;
	--retro-dark-text:rgb(42, 52, 42);
	--sys-card-width: 260px;
	--sys-img-height: 200px;
	--sys-sticker-top: 180px;
	--sys-sticker-left: 194px;
	--sys-img-box-height: 216px;
	--sticky-top: 50px;

	--main-col-1-sort: 1;
	--main-col-2-sort: 2;
	--main-col-3-sort: 3;
	--page-col-1-sort: 1;
	--page-col-2-sort: 2;
	--main-col-1-width: 25%;
	--main-col-2-width: 55%;
	--main-col-3-width: 20%;
	--main-col-1-padding: 0 0 0 0px;
	--main-col-2-padding: 0 6px 0 6px;
	--main-col-3-padding: 0 4px 0 0;
	--main-column-count: 2;

	--width-main-card: 16.6667%;
	--width-blog-card: 33%;
	--width-three-card: 33%;
	--width-book-card: 14.2857%;
	--width-book-main: 49%;
	--width-flex-gap: 12px;

	--main-card-title-line-height: 26px;
	--page-banner-height: 230px;

	--capture-width: 1200px;
	--page-width-max: 1536px;
}

/*****************************************************************************/
/* MAIN Site css                                                             */
/*****************************************************************************/
html {
	margin: 0px;
	width: 100%;
	min-height: 100%;
}
body {
	margin: 0 auto;
	width: 100%;
	min-height: 100%;
	max-width: var(--page-width-max);
	color: var(--retro-dark-text);
	text-align: justify;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
	font-family: 'Roboto';
	font-weight: 400;
	font-size: 100%;
	font-style: normal;
	font-optical-sizing: auto;
	background-color: var(--retro-lightgray);
}
main {
	width: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	background-color: var(--retro-lightergray);
	box-shadow: 0 -36px 16px black !important;
}
a {
	text-decoration: none;
}
*, ::after, ::before {
    box-sizing: border-box;
}
/*****************************************************************************/
/* Bootstrap Override                                                        */
/*****************************************************************************/
.row>* {
    padding-right: 0;
    padding-left: 0;
}
.no-overflow {
	overflow: wrap;
}
.row-gap {
    display: flex;
    flex-wrap: wrap;
	flex-direction: row;
	margin: 0;
	padding: 0px 8px;
	justify-content: flex-start;
	gap: var(--width-flex-gap);
}
.row {
    display: flex;
    flex-wrap: wrap;
	flex-direction: row;
	margin: 0;
	padding: 0;
	justify-content: flex-start;
}

/* For desktop: */
.col-1 {
	width: 8.3333%;
}
.col-2 {
	width: 16.6666%;
}
.col-3 {
	width: 25%;
}
.col-4 {
	width: 33.3333%;
}
.col-5 {
	width: 41.6666%;
}
.col-6 {
	width: 50%;
}
.col-7 {
	width: 58.3333%;
}
.col-8 {
	width: 66.6666%;
}
.col-9 {
	width: 75%;
}
.col-10 {
	width: 83.3333%;
}
.col-11 {
	width: 91.6666%;
}

/* For desktop: */
.rcol-3 {
	width: 25% !important;
}
.rcol-4 {
	width: 33.33% !important;
}
.rcol-6 {
	width: 50% !important;
}
.rcol-8 {
	width: 66.66% !important;
}
.rcol-9 {
	width: 75% !important;
}

/*****************************************************************************/
/* Padding styles                                                            */
/*****************************************************************************/
.p-0 {
	padding: 0!important;
}
.p-1 {
    padding: .25rem!important;
}
.p-2 {
	padding: .5rem!important;
}
.p-3 {
    padding: 1rem!important;
}
.p-4 {
    padding: 1.5rem!important;
}
.m-0 {
	margin: 0!important;
}
.m-3 {
    margin: 1rem!important;
}
.m-8p {
	margin: 8px!important;
}

/* Left padding */
.pl-0>* {
	padding-left: 0px!important;
}
.pl-1 {
	padding-left: 1px!important;
}
.pl-2 {
	padding-left: 2px!important;
}
.pl-3 {
	padding-left: 3px!important;
}
.pl-4 {
	padding-left: 4px!important;
}
.pl-8 {
	padding-left: 8px!important;
}
.pl-16 {
	padding-left: 16px!important;
}

/* Right Padding */
.pr-0 {
	padding-right: 0!important;
}
.pr-1 {
	padding-right: 1px!important;
}
.pr-2 {
	padding-right: 2px!important;
}
.pr-3 {
	padding-right: 3px!important;
}
.pr-4 {
	padding-right: 4px!important;
}
.pr-8 {
	padding-right: 8px!important;
}
.pr-16 {
	padding-right: 16px!important;
}

/* Top Padding */
.pt-0 {
	padding-top: 0px!important;
}
.pt-1 {
	padding-top: 1px!important;
}
.pt-2 {
	padding-top: 2px!important;
}
.pt-3 {
	padding-top: 3px!important;
}
.pt-4 {
	padding-top: 4px!important;
}
.pt-6 {
	padding-top: 6px!important;
}
.pt-8 {
	padding-top: 8px!important;
}
.pt-16 {
	padding-top: 16px!important;
}
.pt-xl {
	padding-top: 32px!important;
}

/* Bottom Padding */
.pb-0 {
	padding-bottom: 0px!important;
}
.pb-1 {
	padding-bottom: 1px!important;
}
.pb-2 {
	padding-bottom: 2px!important;
}
.pb-3 {
	padding-bottom: 3px!important;
}
.pb-4 {
	padding-bottom: 4px!important;
}
.pb-8 {
	padding-bottom: 8px!important;
}
.pb-16 {
	padding-bottom: 16px!important;
}

/* Left Margin */
.ml-0 {
	margin-left: 0!important;
}
.ml-4 {
	margin-left: 4px!important;
}
.ml-6 {
	margin-left: 6px!important;
}
.ml-8 {
	margin-left: 8px!important;
}
.ml-16 {
	margin-left: 16px!important;
}
.ml-24 {
	margin-left: 24px!important;
}

/* Right Margin */
.mr-0 {
	margin-right: 0!important;
}
.mr-1 {
	margin-right: 1px!important;
}
.mr-2 {
	margin-right: 2px!important;
}
.mr-3 {
	margin-right: 3px!important;
}
.mr-4 {
	margin-right: 4px!important;
}
.mr-6 {
	margin-right: 6px!important;
}
.mr-8 {
	margin-right: 8px!important;
}
.mr-16 {
	margin-right: 16px!important;
}
.mr-24 {
	margin-right: 24px!important;
}
.mr-right-responsive {
	margin-right: 0px!important;
}

/* Top margin */
.mt-auto {
    margin-top: auto!important;
}
.mt-0 {
    margin-top: 0!important;
}
.mt-1 {
	margin-top: 1px!important;
}
.mt-2 {
	margin-top: 2px!important;
}
.mt-3 {
	margin-top: 3px!important;
}
.mt-4 {
	margin-top: 4px!important;
}
.mt-6 {
	margin-top: 6px!important;
}
.mt-8 {
	margin-top: 8px!important;
}
.mt-16 {
	margin-top: 16px!important;
}

/* Bottom Margin */
.mb-1 {
    margin-bottom: .25rem!important;
}
.mb-2 {
	margin-bottom: .4rem!important;
}
.mb-3 {
    margin-bottom: 1rem!important;
}
.mb-4 {
    margin-bottom: 1.5rem!important;
}
.mb-8 {
	margin-bottom: 8px !important;
}
.mb-16 {
	margin-bottom: 16px!important;
}

/* max-height */
.mh-160 {
	max-height: 160px;
	overflow: hidden;
}
.mh-120 {
	max-height: 120px;
	overflow: hidden;
}
.mh-140 {
	max-height: 140px;
	overflow: hidden;
}


/* Justify & Flex */
.justify-content-between {
    justify-content: space-between!important;
}
img, svg {
    vertical-align: middle;
}

/*****************************************************************************/
/* Width, height and position                                                */
/*****************************************************************************/
.image-container {
    display: flex;
    justify-content: center; /* Centers horizontally */
/*    align-items: center;     Centers vertically */
    height: 100%;           /* Ensure the container has a height */
}
.amazon-system img:first-child {
	/*max-width: 98%!important;*/
	max-height: 200px!important;
}
.h-100 {
	height: 100%!important;
}
.h-90 {
	height: 97%!important;
}
.h-80 {
	height: 80%!important;
}
.w-100 {
	width: 100%!important;
}
.w-90 {
	width: 86%!important;
	max-width: 160px;
}
.w-95 {
	width: 98%!important;
}
.w-80 {
	width: 80%!important;
}
.w-50 {
	width: 50%!important;
}
.w-25 {
	width: 25%!important;
}
.position-relative {
	position: relative;
}
.position-absolute-right {
	position: absolute;
	right: 0px;
}
.position-absolute-right-4 {
	position: absolute;
	right: 4px;
}
.position-absolute-left-top {
	position: absolute;
	left: 0px;
	top: 16px;
	box-shadow: 0 0 32px black !important;
}

/*****************************************************************************/
/* Text styles                                                               */
/*****************************************************************************/
.background-gray-gradient {
	background: linear-gradient(to bottom, #ffffff 70%, #e3e5e9 100%);
}
.background-eee {
	background-color: #eee;
}
.background-black {
	background-color: var(--retro-black);
}
.background-darkblue {
	background-color: var(--retro-darkblue);
}
.background-light {
	background-color: var(--retro-light)!important;
}
.background-red {
	background-color: var(--retro-red)!important;
}
.background-darkred {
	background-color: var(--retro-darkred)!important;
}
.background-white {
	background-color: white!important;
}
.background-50 {
	background-color: rgba(0, 0, 0, 0.5) !important;
	border-radius: 3px;
}
.font-title {
	font-family:Orbitron!important;
	font-display: swap;
}
.font-body {
	font-family: 'Roboto'!important;
	font-display: swap;
}
.text-red {
	color:var(--retro-red)!important;
}
.text-green {
	color:green!important;
}
.text-darkred {
	color:var(--retro-darkred)!important;
}
.text-black {
	color: black!important;
}
.text-orange {
	color: var(--retro-orange)!important;
}
.text-darkblue {
	color: var(--retro-darkblue)!important;
}
.text-gray {
	color:var(--retro-dark)!important;
}
.text-blue {
	color: var(--retro-blue)!important;
}
.text-yellow {
	color: var(--retro-yellow)!important;
}
.text-white {
	color: white !important;
}
.text-lightgray {
	color: #898989;
}
.text-medium {
	color: var(--retro-medium)!important;
}
.text-dark {
    color: #212529!important;
}
.text-no-overflow {
	text-overflow: ellipsis;
	overflow: hidden; 
	white-space: nowrap;
}
.line-height-s {
	line-height: 1.475;
}
.line-height-xs {
	line-height: 1.3;
}
.line-height-xxs {
	line-height: 1.1;
}
.font-xxs {
	font-size: .4375rem;
}
.font-xs {
	font-size: .5rem;
}
.font-ms {
	font-size: 0.6375rem;
}
.font-s {
	font-size: 0.6875rem;
}
.font-sm {
	font-size: 0.75rem;
}
.font-m {
	font-size: 0.8125rem;
}
.font-l {
	font-size: 0.85rem;
}
.font-xl {
	font-size: 1.1rem;
}
.font-xxl {
	font-size: 1.25rem;
}
.font-2xl {
	font-size: 1.5rem;
}
.font-3xl {
	font-size: 1.75rem;
}
.font-4xl {
	font-size: 2.25rem;
}
.no-decoration {
	text-decoration: none!important;
}
.font-i {
	font-style: italic;
}
.font-b {
	font-weight:bold;
}
.font-w3 {
	font-weight: 300;
}
.font-w4 {
	font-weight: 400;
}
.font-w6 {
	font-weight: 600;
}
.font-w7 {
	font-weight: 700;
}
.align-center {
	text-align:center;
}
.align-left {
	text-align:left!important;
}
.align-right {
	text-align: right;
}
.float-left {
	float: left;
}
.float-right {
	float: right;
}
.clearfix {
	content: "";
	display: table;
	clear: both;
}
.margin-auto {
	margin-top: auto;
	margin-bottom: auto;
	margin-left: auto;
	margin-right: auto;
}
.valign-text-bottom {
	vertical-align: text-bottom;
}
.content-bottom {
	position: absolute;
	bottom: 0;	
	width: 55%;
  	white-space: normal; /* allow wrapping */
  	word-wrap: break-word;	
}
.parent-relative {
	position: relative;
}
.no-border {
	border: none!important;
}
.first-letter:first-letter {
	font-weight: 600;
	font-size: 96px;
	color: white;
	background-color: var(--retro-red);
	border-radius: 2px;
	padding: 6px 3px;
	margin-right: 6px;
	float: left;	
	line-height: .85;
	font-family:Orbitron;
	font-display: swap;
}

/*****************************************************************************/
/* bootstrap alternatives                                                    */
/*****************************************************************************/
.text-end {
    text-align: right!important;
}
.ps-2 {
    padding-left: .5em!important;
}
.mb-0 {
    margin-bottom: 0!important;
}
.text-center {
	text-align: center;
}

/*****************************************************************************/
/* html tag overrides                                                        */
/*****************************************************************************/
p {
	margin-bottom:0.75rem;
	margin-top: 2px;
	color: var(--retro-dark-text);
 	break-inside: avoid;
  	page-break-inside: avoid;
}
section {
 	break-inside: avoid;
  	page-break-inside: avoid;
}
cite {
	color: var(--retro-medium);
	font-size: 12px;
	font-weight: 400;
}
span {	
	/*display: inline-block;*/
}
strong {
	font-weight: 600;
}
.light-gray:hover {
	font-weight:600;
	font-style: italic;
	color: var(--retro-red)!important;
	background-color: rgb(244,244,244);
}
.background-highlight:hover {
	text-decoration:none;
	background-color: var(--retro-light);
}
.background-highlight:hover .title-highlight {
	color: var(--retro-red)!important;
}
ol {
	list-style:none;
	counter-reset:li;
	padding-left: 40px;
    -moz-column-count: 2;
    -moz-column-gap: 40px;
    -webkit-column-count: 2;
    -webkit-column-gap: 40px;
    column-count: 2;
    column-gap: 40px;	
	margin-top: 2px!important;
}
ol li{
	position: relative;
	line-height: 24px;
	font-weight:400;
	font-size: 15px;
}
ol li:before {
	content: counter(li);
	top: 1px;
	margin-left:-36px;
	border-radius:16px; 
	counter-increment:li; 
	background: var(--retro-red); 
	color:white;
	position:absolute; 
	width:30px; border:1px solid var(--retro-red);
	height:20px; 
	text-align: center; 
	font-size:16px;
	line-height: 19px;  
	font-weight:500;
}
h1 {
  	font-optical-sizing: auto;
  	font-size: 1.45rem;
	font-weight: 600;
	margin-bottom: 4px!important;
	margin-top: 20px!important;
	color: black;
}
h2 {
	color: black;
	font-weight: 600;
	font-size: 1.0rem;
	font-style: italic;
	margin-bottom: 4px!important;
	margin-top: 16px!important;
}
h4 {
	color: var(--retro-darkblue);
	font-weight: 600;
	font-size: 0.8rem;
	font-style: italic;
	margin-bottom: 4px!important;
	margin-top: 16px!important;
}

/*****************************************************************************/
/* hover text styling                                                        */
/*****************************************************************************/
.hovertext-left:before {
	right: 16px!important;
}
.hovertext-right:before {
	left: 16px!important;
}
.hovertext {
	position: relative;
	top:0px;
}
.hovertext:before {
	content: attr(data-hover);
	visibility: hidden;
	opacity: 0;
	width: max-content;
	background-color: var(--retro-dark);
	color: white;
	text-align: center;
	border-radius: 3px;
	padding: 8px;
	transition: opacity .25s ease-in-out;
	position: absolute;
	z-index: 1;
	right: 0px;
	top: 36px;
}
.hovertext:hover:before {
	opacity: .9;
	visibility: visible;
}

/*****************************************************************************/
/* Blog content types                                                        */
/*****************************************************************************/
.blog-card-img {
  	width: 100%;              /* scales with browser width */
  	aspect-ratio: 1.7;
  	object-fit: fill;  	
	border-radius: 8px !important;
	border: 1px solid var(--retro-gray);
}

/*****************************************************************************/
/* main content types                                                        */
/*****************************************************************************/
.hide-on-mobile {
	visibility: visible;
}
.main-content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 0;
	align-items: stretch;
}
.main-content-spaced {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 0;
	justify-content: space-between;
}
.main-card {
	flex-direction: column;
	align-content:left;
	text-align:left;
	position: relative;
	width: var(--width-main-card);
	border-radius: 8px;
	background-color: white;
	/* Pages like the system list render hundreds of these in one flex-wrap
	   row, which makes the browser redo that whole row's layout on every
	   resize tick. content-visibility skips layout/paint entirely for cards
	   scrolled off-screen; contain-intrinsic-size is the placeholder box
	   size used for those skipped cards (roughly matches an actual card so
	   there's no visible jump when one scrolls into view). */
	content-visibility: auto;
	contain-intrinsic-size: var(--sys-card-width) 300px;
}
.main-card-shadow {
	box-shadow: 0 3px 8px rgba(0,0,0,.25)!important;
}
.main-card-inner {
	box-sizing: border-box;
	height: 100%;
	width: 100%;
	border-radius: 8px;
}
.podcast-card {
	flex-direction: column;
	align-content:left;
	text-align:left;
	position: relative;
	width: var(--width-main-card);
	padding: 2px;
	background-color: white;
}
.podcast-card-inner {
	box-sizing: border-box;
	height: 100%;
	width: 100%;
}
.main-card-title {
	padding: 5px 4px 6px 9px;
	line-height: var(--main-card-title-line-height);
	white-space: nowrap;
	overflow: hidden;
	width: 100%;
	border-radius: 6px 6px 0px 0px;
}
.main-card-title-background {
	background: linear-gradient(90deg, #981c27, #de2436);
}
/* Spec rows (CPU/audio/video) on system-list cards. Used to be a
   row > col-3 > <img> + col-9 > text structure (4 DOM nodes); the icon is
   now a background-image on the row itself via a per-icon class, leaving
   just row > .spec-info (2 nodes) per line - x3 rows x hundreds of cards. */
.spec-row {
	display: flex;
	align-items: center;
}
.spec-row::before {
	content: '';
	flex: 0 0 25%;
	height: 32px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 32px 32px;
}
.spec-row-cpu::before { background-image: url("/resource/img/ui/icon_cpu.png"); }
.spec-row-audio::before { background-image: url("/resource/img/ui/icon_audio.png"); }
.spec-row-video::before { background-image: url("/resource/img/ui/icon_video.png"); }
.spec-info {
	flex: 0 0 75%;
	/* The CPU row's info string embeds a literal &#10; (LF) instead of a
	   <br/> to force the RAM line onto its own line without an extra DOM
	   element - pre-line preserves that newline (and still wraps normally,
	   like white-space:normal, for the audio/video rows which have none). */
	white-space: pre-line;
}
/* Reference tables embedded in reused content_sections (e.g. the 6502
   opcode table) - replaces per-cell inline styles with one shared class,
   since these sections are reused across every system with that CPU. */
.spec-table {
	width: 100%;
	border-collapse: collapse;
	font-family: 'Courier New', Courier, monospace;
	font-size: 14px;
	text-align: left;
	border: 1px solid #005588;
}
.spec-table thead tr {
	background-color: #005588;
	color: #ffffff;
}
.spec-table th {
	padding: 10px;
	border: 1px solid #003366;
}
.spec-table td {
	padding: 8px;
	border: 1px solid #004477;
}
.spec-table td:first-child {
	font-weight: bold;
}
.spec-table tbody tr {
	background-color: #ffffff;
}
.spec-table tbody tr:nth-child(even) {
	background-color: #f0faff;
}
/* Floats over the top-left of the detail page's content column (its
   .position-relative positioning parent), just under the black title bar. */
.back-to-catalog-btn {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
}
.main-card-border {
	box-sizing: border-box;
/*	border: 1px solid #ddd;
	box-shadow: 0 3px 8px rgba(0,0,0,.1)!important;
	border-radius: 4px;*/
	height:100%;
	width: 100%;
	overflow: hidden;
	/* Reserves room for the absolutely-positioned .bottom button bar (36px
	   tall) that used to be reserved by a sibling <div class='main-card-bottom'>
	   spacer (see .main-card-bottom, now unused/removed). Scoped to
	   .main-card-border rather than .main-card-inner because .main-card-inner
	   is shared with the DETAIL page view, which has no button bar. */
	padding-bottom: 36px;
}
.main-card-img-box {
	width:100%;
	height:var(--sys-img-box-height);
	display:block;
	overflow: hidden;
}
.main-card-img-box img {
	height:var(--sys-img-height);
	border-style: none;
	margin-top:6px;
	margin-left:0px;
	vertical-align: bottom;
}
.three-card {
	flex-direction: column;
	align-content:left;
	text-align:left;
	position: relative;
	width: var(--width-three-card);
}
.three-card-inner {
	padding-left: 12px;
	padding-right: 12px;
	padding-bottom: 24px;
	height: 100%;
	width: 100%;
}
/* Home page intro band - sits above the main-col-1/2/3 mash-up, giving a
   first-time visitor a headline, one sentence of context, and a single
   primary action before the podcasts/reads/carousel/events content (which
   all carry equal visual weight) compete for attention. */
.site-intro {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.site-intro-text {
	flex: 1 1 420px;
}
.site-intro h1 {
	font-size: 2.36rem;
	line-height: 1.1;
}
.site-intro p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--retro-light);
	line-height: 1.7;
}
.site-intro .btn {
	flex: 0 0 auto;
	font-size: 1.1rem;
	padding: .5rem 1.2rem;
	margin: auto 0;
}
.main-col-1 {
	order: var(--main-col-1-sort);
	padding: var(--main-col-1-padding);
	width: var(--main-col-1-width);
}
.main-col-2 {
	order: var(--main-col-2-sort);
/*	padding: var(--main-col-2-padding);*/
	width: var(--main-col-2-width);
}
.page-col-1 {
	order: var(--page-col-1-sort);
	padding: var(--main-col-1-padding);
	width: var(--main-col-1-width);
}
.page-col-2 {
	order: var(--page-col-2-sort);
	padding: var(--main-col-2-padding);
	width: var(--main-col-2-width);
}
.main-col-3 {
	order: var(--main-col-3-sort);
	padding: var(--main-col-3-padding);
	width: var(--main-col-3-width);
}
.padding-left {
	padding-left: 8px;
}
.padding-right {
	padding-right: 6px;
}
.mobile-hide {
}
/*****************************************************************************/
/* Media Queries                                                             */
/*****************************************************************************/
@media only screen and (max-width: 5000px) {
	:root {

		--width-main-card: calc((100% - (5 * var(--width-flex-gap))) / 6); 
		--width-book-card: calc((100% - (8 * var(--width-flex-gap))) / 9);
		--width-book-main: calc((100% - (2 * var(--width-flex-gap))) / 3);
		--main-col-3-padding: 0 4px 0 0;
		--base-font-size: 15px;

	}
}
@media only screen and (max-width: 1536px) {
	:root {
		--width-main-card: calc((100% - (4 * var(--width-flex-gap))) / 5);
		--width-book-card: calc((100% - (7 * var(--width-flex-gap))) / 8);
		
	}
}
@media only screen and (max-width: 1280px) {
	:root {
		--width-main-card: calc((100% - (3 * var(--width-flex-gap))) / 4);
		--width-book-card: calc((100% - (6 * var(--width-flex-gap))) / 7);
		--width-book-main: calc((100% - (1 * var(--width-flex-gap))) / 2);
		--main-col-1-width: 25%;
		--main-col-2-width: 52%;
		--main-col-3-width: 23%;
		--page-banner-height: 192px;
	}
}
@media only screen and (max-width: 1024px) {
	:root {
		--width-main-card: calc((100% - (2 * var(--width-flex-gap))) / 3);
		--width-book-card: calc((100% - (5 * var(--width-flex-gap))) / 6);
		--base-font-size: 14px;
		--main-col-1-width: 30%;
		--main-col-2-width: 70%;
		--main-col-3-width: 100%;
		--main-col-3-padding: 0 6px 0 6px;
		--page-col-1-sort: 2;
		--page-col-2-sort: 1;
		--main-col-1-sort: 1;
		--main-col-2-sort: 2;
		--main-col-3-sort: 3;
		--main-column-count: 1;
		--page-banner-height: 154px;
	}
	.event-box { 
		width: 50%!important;
	}
	.mr-right-responsive {
		margin-right: 8px!important;
	}
	.spec-row::before {
		width: 24px;
		height: 24px;
		background-size: 24px 24px;
	}
	/* Shrink and pull the banner cross-link button toward the edge rather
	   than hiding it - keeps it available on mobile too. !important is
	   needed here since the base .catalog-switch-btn sizing further down
	   this file is otherwise the later (and therefore winning) declaration
	   at this same specificity, regardless of the media query matching. */
	.catalog-switch-btn {
		right: 8px !important;
		font-size: .9rem !important;
		padding: .25rem .6rem !important;
	}
	.site-intro h1 {
		font-size: 2.1rem;
	}
}
@media only screen and (max-width: 820px) {
	:root {
		--width-main-card: calc((100% - (1 * var(--width-flex-gap))) / 2);
		--width-book-card: calc((100% - (4 * var(--width-flex-gap))) / 5);
		--main-col-1-width: 35%;
		--main-col-2-width: 65%;
		--main-col-3-width: 100%;
		--sticky-top: 36px;
		--page-banner-height: 115px;
	}
	.sort-search {
		width: 100% !important;
	}
	.sort-search-input {
		width: 80% !important;
	}
	.btn-search {
		width: 20% !important;
		text-align: middle;
	}
	.spec-row::before {
		width: 20px;
		height: 20px;
		background-size: 20px 20px;
	}
	.linkButton {
		font-size: 0.95em;
	}
	.btn-sort {
		padding-left: 4px !important;
		padding-right: 4px !important;
		font-size: 1rem;
	}
	.site-intro h1 {
		font-size: 1.76rem;
	}
}
@media only screen and (max-width: 640px) {
	:root {
		--width-book-card: calc((100% - (3 * var(--width-flex-gap))) / 4);
		--width-book-main: calc((100% - (3 * var(--width-flex-gap))) / 4);
		--main-col-1-width: 100%;
		--main-col-2-width: 100%;
		--main-col-3-width: 100%;
		--main-col-1-padding: 0 0 0 4px;
		--main-col-1-sort: 2;
		--main-col-2-sort: 1;
		--main-col-3-sort: 3;
		--page-banner-height: 89px;
	}
	.hide-on-mobile {
		display: none;
	}
	.order-2 {
		display: block !important;
	}
	.order-1 {
		display: flex;
	}
	[class*="rcol-"] {
		width: 100% !important;
	}
	.padding-left {
		padding-left: 0px!important;
	}
	.padding-right {
		padding-right: 0px!important;
	}
	.ps-2 {
    	padding-left: 0px!important;
	}
	.linkButton::before {
		width: 12px;
		height: 12px;
	}
	.linkButton {
		font-size: 0.9em;
	}
	.btn-sort {
		padding-left: 2px !important;
		padding-right: 2px !important;
		font-size: .9rem !important;
	}
	.site-intro h1 {
		font-size: 1.75rem;
	}
}
@media only screen and (max-width: 512px) {
	:root {
		--width-book-card: calc((100% - (2 * var(--width-flex-gap))) / 3);
		--width-book-main: calc((100% - (2 * var(--width-flex-gap))) / 3);
	}
	.event-box { 
		width: 100% !important;
	}
	[class*="rcol-"] {
	  width: 100% !important;
	}
	.site-intro h1 {
		font-size: 1.3rem;
	}
	.site-intro-text p {
		font-size: .75rem;
	}
	.col-4 {
		width:50%;
	}
	.slide-title {
		font-size:1.5rem!important;
	}
}
@media only screen and (max-width: 390px) {
	:root {
		--width-book-card: calc((100% - (2 * var(--width-flex-gap))) / 2);
		--width-book-main: calc((100% - (2 * var(--width-flex-gap))) / 2);
	}
	.event-box { 
		width: 100% !important;
	}
	[class*="rcol-"] {
	  width: 100% !important;
	}
	.site-intro h1 {
		font-size: 1.1rem;
	}
	.slide-title {
		font-size:1.3rem!important;
	}

}



@media print {
	body {
		/* Force the browser to render screen styles */
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
    	}

	/* Trick: tell the browser to use screen styles */
	html {
		zoom: 100%; /* keep proportions */
	}

	/* Avoid Bootstrap’s print overrides */
	* {
		visibility: visible !important;
		overflow: visible !important;
	}
}

/*****************************************************************************/
/* Podcast Styles                                                            */
/*****************************************************************************/
.btn-podcast {
	border-radius: 36px !important;
	background-color: #fff;
	border: 1px solid var(--retro-gray) !important;
	color: var(--retro-blue);
}
.btn-podcast:hover {
	background-color: var(--retro-blue);
	color: #fff;
}
.podcast-img {
	width: 100%;
	margin-bottom:6px;
	margin-top:12px;	
	border-radius: 12px;
	border: 1px solid var(--retro-gray);
}
.podcast-title {
	padding-top: 6px;
	padding-bottom: 4px;
}
.podcast-border {
	border: 1px solid var(--retro-gray);
	box-sizing: border-box;
	height: 100%;
	width: 100%;
	margin-bottom: 6px;
	margin-top:12px;
}
.episode-marker {
    background-color: var(--retro-red);
    right: 0px;
    top: 0px;	
	border-radius: 50rem!important;
	position: absolute!important;
	display: inline-block;
    padding: .35em .65rem;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
	font-weight: 700;
	right: 0px;
	top: 0px;
}
.btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
	cursor: pointer;
    padding: .25rem .8rem;
	border-radius: .25rem;
	margin: 3px;
	border: 1px solid transparent;
	font-family: inherit;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;	
}
.btn-sort {
	color: #fff !important;
	background-color: black;
	border:none;
	margin-left:0px;
	margin-bottom: 5px;
	padding-left: 8px;
	padding-right: 8px;
	font-size: 1.25rem;
}
.btn-sort:hover {
    background-color: var(--retro-darkred)!important;
}
.btn-sort-active {
	text-decoration: var(--retro-yellow) wavy underline! important;
}
.btn-main {
	color: #aaa !important;
	background-color: black;
	border-color: #222;
	margin-left:0px;
	padding-left: 4px;
	padding-right: 4px;
}
.btn-main:hover {
    color: var(--retro-darkred)!important;
    background-color: white!important;
    border-color: var(--retro-border);
}
.btn-yellow {
	background-color: var(--retro-yellow)!important;
	border-color: var(--retro-yellow)!important;
	color: black;
	margin-right: 8px;
}
.btn-yellow:hover {
    background-color: white!important;
	border-color: white!important;
}

/*****************************************************************************/
/* Inline page search (black sort bar)                                      */
/*****************************************************************************/
.sort-search {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	padding-right: 8px;
	padding-bottom: 2px;
	padding-top: 2px;
}
.sort-search-input {
	background-color: var(--retro-dark);
	color: white;
	border: 1px solid var(--retro-medium);
	border-radius: .25rem;
	padding: .25rem .5rem;
	font-family: inherit;
	outline: none;
}
.sort-search-input:focus {
	border-color: var(--retro-yellow);
}
.sort-search-input::placeholder {
	color: var(--retro-gray);
}
/* Rotating LED-strip border around the current search match (a whole
   .main-card, since search only matches on data-keywords now). */
@property --search-cursor-angle {
	syntax: '<angle>';
	inherits: false;
	initial-value: 0deg;
}
.search-match-cursor {
	position: fixed;
	border-radius: 8px;
	pointer-events: none;
	/* Below .sticky-top (1020) and .sticky-top-2 (1010), so the ring passes
	   behind the main nav / sort-search bar instead of drawing over them
	   while a matched card scrolls underneath. */
	z-index: 1000;
	/* border-image ignores border-radius (it's not clipped to rounded corners
	   in any browser), so the rotating gradient is painted as a background
	   instead and masked down to a ring - mask DOES respect border-radius. */
	padding: 4px;
	background: conic-gradient(from var(--search-cursor-angle), var(--retro-red), var(--retro-orange), var(--retro-yellow), var(--retro-red));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	animation: search-cursor-spin 1.2s linear infinite;
}
@keyframes search-cursor-spin {
	to {
		--search-cursor-angle: 360deg;
	}
}

/*****************************************************************************/
/* Backgrounds																 */
/*****************************************************************************/
.page-header {
	background-repeat: no-repeat;
	background-size: cover;
	
}
.podcast-background {
	width: 100%;
    aspect-ratio: 1280 / 140; /* Replace with your image's actual dimensions */
	background-image: url("/resource/img/ui/banner_podcast1.webp");
	background-repeat: no-repeat;
	background-size: 100% auto;
	position: relative;
}
.system-background {
	width: 100%;
    aspect-ratio: 1280 / 140; /* Replace with your image's actual dimensions */
	background-image: url("/resource/img/ui/banner_system.webp");
	background-repeat: no-repeat;
	background-size: 100% auto;
	position: relative;
}
.console-background {
	width: 100%;
    aspect-ratio: 1280 / 140; /* Replace with your image's actual dimensions */
	background-image: url("/resource/img/ui/banner_console.webp");
	background-repeat: no-repeat;
	background-size: 100% auto;
	position: relative;
}
.library-background {
	width: 100%;
    aspect-ratio: 1280 / 140; /* Replace with your image's actual dimensions */
	background-image: url("/resource/img/ui/banner_library2.webp");
	background-repeat: no-repeat;
	background-size: 100% auto;
	position: relative;
}
.news-background {
	width: 100%;
    aspect-ratio: 1280 / 140; /* Replace with your image's actual dimensions */
	background-image: url("/resource/img/ui/banner_news.webp");
	background-repeat: no-repeat;
	background-size: 100% auto;
	position: relative;
}
/* Cross-link banner button (Browse Consoles / Browse Computers) - sized to
   match the home page's .site-intro .btn CTA. The banner scales with
   aspect-ratio, and the logo artwork baked into the banner image occupies
   more of the (proportionally shorter) width below ~1024px, so this is
   hidden there rather than risk overlapping it - the Computers/Consoles nav
   links remain the reliable path at every width regardless. */
.catalog-switch-btn {
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
	font-size: 1.1rem;
	padding: .5rem 1.2rem;
	margin: 0;
	box-shadow: 0 0 32px black !important;
}
.catalog-switch-btn:hover {
	box-shadow: 0 0 32px var(--retro-red) !important;

}
.books-background {
	height: 200px;
	background-image: url("/resource/img/ui/banner_books.webp");
	background-repeat: no-repeat;
	background-size:cover;
}
.text-shadow-black {
	text-shadow: 2px 2px 24px black;
}

/*****************************************************************************/
/* Text expansion with a more button                                         */
/*****************************************************************************/
.textExpansionBox input {
	opacity: 0;
	position: absolute;
	pointer-events: none;
}
.textExpansionBox span {
	display: -webkit-inline-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.textExpansionBox input:focus ~ label {
	outline: -webkit-focus-ring-color auto 5px;
}
.textExpansionBox input:checked + span {
	-webkit-line-clamp: unset;
	overflow: visible;
}
.textExpansionBox label {
	border-radius: 4px;
	position: absolute;
	right: 15px;
}
.expandText {
	visibility: hidden;
}
.sys-text-2 {
	column-count: var(--main-column-count);        /* two columns */
	column-gap: 2rem;       /* spacing between them */
	column-fill: balance;   /* balance columns nicely */
}
.sys-text p {
  display: block;         /* make sure each paragraph flows properly */
  margin-bottom: 1em;
}
  
/*****************************************************************************/
/* Book List Styles                                                          */
/*****************************************************************************/
.booklist-img {
	width: 88px;
	float: right;
	height: 120px;
	padding: 0;
	margin: 3px;
	-webkit-border-radius: 5px;
	border-radius:5px;
}
.book-box {
	flex-direction: column;
	align-content:left;
	text-align:left;
	overflow: hidden;
	position: relative;
}
.book-box-main {
	width: var(--width-book-main);
}
.book-box-general {
	width: var(--width-book-card);
}
.book-box-inner {
	padding-bottom: 6px;
	padding-top:0px;
}
.book-box p {
	margin-bottom: 0.5rrem;
}
.book-box-img-box {
	margin-bottom: 8px;
	position: relative;
	display: block;
}
.book-box-img-box img:first-child {
	width:100%;
	border: none;
}
.book-box-img-box:hover {
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
	-webkit-transform: translateY(-5px) scale(1.1);
	-moz-transform: translateY(-5px) scale(1.1);
	-o-transform: translateY(-5px) scale(1.1);
	transform: translateY(-5px) scale(1.1);	
}

/*****************************************************************************/
/* News Styles                                                               */
/*****************************************************************************/
.article-img {
	width: 188px;
	border: none;
	margin-top: 0px;
	margin-bottom:4px;
	margin-left: 8px;	
	float:none;
	display: inline-block;
}
/*****************************************************************************/
/* Top info content                                                          */
/*****************************************************************************/
div.section-title {
	margin-top:16px;
	margin-bottom:8px;
	padding-top:8px;
	border-bottom:1px solid #aaa;
}

/*****************************************************************************
 * Footer content                                                          
 *****************************************************************************/
div.footer {
	margin-top:8px;
	margin-bottom:16px;
	padding-right: 16px;
	padding-left: 16px;
	padding-top:8px;
	padding-bottom:24px;
	border-top:1px solid var(--retro-gray);
}

/******************************************************************************/
/* Event and Calendar Styles                                                  */
/******************************************************************************/
.calendar-tile {
	width: 60px;
    height: 100%;
	background-color: var(--retro-red);
	text-align: center;
	color: var(--retro-dark);
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: 0px 6px 6px 0px;
	position: absolute;
	top: 0px;
	right: 0px;
  }
.calendar-tile .month {
	font-size: 20px;
	margin-bottom: 0px;
	font-weight: bold;
 }
.calendar-tile .day {
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 2px;
    margin-top: 2px;
    color: white;
}
.calendar-tile .year {
	font-size: 16px;
	margin-bottom:4px;
}
.calendar-tile .duration {
	color: var(--retro-yellow);
	font-size: 14px;
	font-style: italic;
}
.event-box {
	width: 100%;
	border-radius: 6px 0px 0px 6px;
}
.event-box-wide {
	width: 100%;
	border-radius: 6px 0px 0px 6px;
}
.event-box-padding {
	margin-bottom: 12px!important;
	padding-right: 56px;	
}
.event-box-inner {
	border: 1px solid var(--retro-gray);
	width: 100%;
	font-family: halyard-display, sans-serif;
	border-radius: 6px 0px 0px 6px;
}
.event-image {
	height: 106px;
}
.event-image img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	max-width: 96%;
	max-height: 86px;
}
.event-detail-img {
	max-height: 180px;
	max-width: 100%;
}

/*****************************************************************************/
/* Navigator bar                                                             */
/*****************************************************************************/
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
}	
.sticky-top-2 {
    position: -webkit-sticky;
    position: sticky;
    top: var(--sticky-top);
    z-index: 1010;
}	

.search-bar {
	padding-right:16px;
	height: 40px;
}
.collapse:not(.show) {
    display: none;
}
.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: .5rrem;
    padding-bottom: .5rrem;
}
.navbar details > summary {
    list-style-type: none;
	font-weight: 700;
	padding-right: 16px;
    font-size: 24px!important;
    color: white;
	background-color:transparent;
	border: none;
}
.navbar details > summary img {
	vertical-align: middle;
}

.navbar details > summary::-webkit-details-marker {
    display: none;
}

.navbar details > summary::before {
    content: '☰';
}

.navbar details[open] > summary::before {
    color: var(--retro-darkred);
}

.navbar details {
    padding-left: 0.5rrem;
}

.navbar details[open] > summary {
    margin-bottom: 0.5rrem;
}
.navlink {
    align-content: center;
    display: inline-flex;
	flex-wrap: wrap;
	padding-left: 12px!important;
}
.navlink a {
    font-size: 16px!important;
    font-weight: 600!important;
    color: #fff;
	text-decoration:none;
}
.navlink a:hover {
	color: var(--retro-yellow);
}
.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}
.navbar-nav {
    display: flex;
    padding-left: 0;
    list-style: none;
	margin-top: 0;
	flex-direction: column;
}

@media (min-width: 992px) {
	.navbar-expand-lg {
		flex-wrap: nowrap;
		justify-content: flex-start;
	}
	.navbar-expand-lg .navbar-toggler {
		display: none;
	}	
	.navbar-expand-lg .navbar-collapse {
    	display: flex!important;
    	flex-basis: auto;
	}
	.navbar-expand-lg .navbar-nav {
		flex-direction: row;
	}
	.mb-lg-0 {
		margin-bottom: 0!important;
	}
}


.form-label {
    margin-bottom: .5rrem;
}

label {
    display: inline-block;
}
.form-control {
    display: block;
    width: 100%;
    padding: .3rem .75rem;
    font-size: 1.0rem;
    font-weight: 400;
    line-height: 1.2;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.badge {
    display: inline-block;
    padding: 0 .65rem;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

/*****************************************************************************/
/* Border Options                                                            */
/*****************************************************************************/
.border-dark {
	border: 1px solid var(--retro-dark);
}
.border-light {
	border: 1px solid var(--retro-gray);
}
.border-light-top {
	border-top: 1px solid var(--retro-gray);
}
.border-light-bottom {
	border-bottom: 1px solid var(--retro-gray);
}
.border-red-bottom {
	border-bottom: 1px solid var(--retro-red);
}
.border-red-bottom-dashed {
	border-bottom: 2px dashed var(--retro-red);
}
.border-rad-4 {
	border-radius: 4px;
}
.border-rad-8 {
	border-radius: 8px !important;
}

/*****************************************************************************/
/* Navigator bar                                                             */
/*****************************************************************************/
.date-bar {
	height: 32px;
	width: 100%;
	background-color:var(--retro-dark);
	color: #c9c9c9;
	font-size: 0.76em;

}

.like {
	background-color:var(--retro-darkblue);
	font-weight: 900;
	color: white;
	display: block;
	width: 90px;
	height: 31px;
	border-radius: 4px;
	text-align: center;
	font-size: 20px;
	padding-top:2px;
}
.search-box {
	width: 80%;
	max-width: 600px;
    margin: 1px 0 1px 1px;
    padding: 0;
    max-height: none;
    outline: none;
    box-sizing: border-box;
    height: 32px;
    vertical-align: top;
	background: url("/resource/img/ui/ui_search.png");
	background-position-y: 5px;
	background-position-x: 8px;
	background-size: 24px;
	background-repeat: no-repeat;
	text-align: left;
}
.search-input {
    background-color: transparent;	
	overflow: hidden;
	-webkit-appearance: none;
    height: 32px;
	appearance: none;
	resize: none;
	font-family: 'Roboto';
  	font-weight: 300;
	border: none;
	width: 80%;
	border: 0;
	outline: none;
}
.search-submit {
	background-color: transparent;
    width: 24px;
    height: 24px;
    text-indent: -99rem;
    border-width: 0;
    border-style: solid;
    margin: 5px 5px 5px 5px;
    position: relative;
    left: 2px;
	cursor:pointer;
}

.hero-image {
	max-height: 460px;
	object-fit: contain;
	width: 90%;
}


/*******************************************************************
	Image Lightbox
********************************************************************/
.lightbox {
	--overlay-bg: rgba(255, 255, 255, 0.85); /* 70% gray filter */
	--overlay-bg2: rgba(128, 128, 128, 0.63); /* 70% gray filter */
	--radius: 12px;
	--shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
	--speed: 420ms;
	--easing: cubic-bezier(.2,.7,.2,1);
    	margin-inline-start: 0;
    	margin-inline-end: 0;	
	text-align: center;
}

.lightbox__toggle {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	clip-path: inset(50%);
	border: 0;
	margin: -1px;
	padding: 0;
}

.lightbox__thumb {
	cursor: zoom-in;
}
.lightbox__thumb img {
	width: 99%;
	object-fit: contain;
	height: auto;
	border-radius: 0;
	max-height: 270px;
}


.lightbox__overlay {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	background: var(--overlay-bg2);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--speed) var(--easing), visibility var(--speed) var(--easing);
	cursor: zoom-out;
	z-index: 9999;
}

.lightbox__overlay img {
	width: auto;
	height: auto;
	display: block;
	max-width: 80vw;
	max-height: 80vh;
	min-width: 50vw;
	object-fit: contain; /* preserves aspect ratio */
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	background: var(--overlay-bg);
	transition: transform var(--speed) var(--easing);
	transform: scale(.98);
}

.lightbox__toggle:checked ~ .lightbox__overlay {
	opacity: 1;
	visibility: visible;
}
.lightbox__toggle:checked ~ .lightbox__overlay img {
	transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
	.lightbox__overlay,
	.lightbox__overlay img {
		transition: none;  
  	}
}

/*************************************************************************
	Carrousel
**************************************************************************/
.carousel {
  width: 100%;          /* set as needed */
  aspect-ratio:2;
  position: relative;
  overflow: hidden;
	border-radius: 8px !important;
	border: 1px solid var(--retro-gray);
	margin-left:8px;
	margin-right:8px;
	padding: 0;
}

/* SLIDES */
.slides {
  display: flex;
  width: 600%;           /* 100% × number of slides */
  height: 100%;
  animation: slide 39s infinite;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  height: 100%;
}

.slide-panel {
	width: 16.66667%;
	height: 90% !important;
}
.slide-title {
	font-size: 1.75rem;
	font-size: clamp(1.1rem, 7cqw, 1.75rem);
	font-weight: 400;
}
.slide-info-bar {
	background-color: var(--retro-light);
	font-size: 18px;
	font-weight: 200;
	font-size: clamp(8px, 1.5cqw, 18px);
	position: absolute;
	bottom: 64px;
	padding: 4px 0px 4px 16px;
	opacity: 0.85;
	width: 65%;
}
.slide-content {
	width: 100%;
	max-width: 100%;
	height: 100%;
	position: relative;
}
.slide-img-panel {
	height: 96% !important;
}
.slide img {
	width: 100% !important;
	max-height: 90% !important;
	object-fit: contain;
}

/* DOTS */
.dots {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
}

.dots span {
	width: 10px;
	height: 10px;
	background: var(--retro-gray);
	border-radius: 50%;
	animation: dot 39s infinite;
}

/* DOT TIMING */
.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 6.5s; }
.dots span:nth-child(3) { animation-delay: 13s; }
.dots span:nth-child(4) { animation-delay: 19.5s; }
.dots span:nth-child(5) { animation-delay: 26s; }
.dots span:nth-child(6) { animation-delay: 32.5s; }

/* SLIDE ANIMATION */
@keyframes slide {
  0%, 15.4%   { transform: translateX(0); }
  16.7%, 32%  { transform: translateX(-100%); }
  33.3%, 48.7%  { transform: translateX(-200%); }
  50%, 65.4%  { transform: translateX(-300%); }
  66.7%, 82%  { transform: translateX(-400%); }
  83.3%, 98.7%  { transform: translateX(-500%); }
  100%      { transform: translateX(0); }
}

/* DOT ANIMATION */
@keyframes dot {
  0%, 15.4%   { background: var(--retro-red); }
  16.7%, 100% { background: var(--retro-gray); }
}

.yt-card-container {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	overflow: hidden;
	max-width: 600px;
	background-color: #ffffff;
	transition: box-shadow 0.3s ease;
	margin: 20px auto;
}

.yt-card-container:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.yt-card-header {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	text-decoration: none;
	color: #1f1f1f;
	border-bottom: 1px solid #f0f0f0;
}

.yt-logo {
	width: 24px;
	height: 24px;
	margin-right: 12px;
}

.yt-info {
	flex-grow: 1;
}

.yt-title {
	font-size: 14px;
	font-weight: 600;
	margin: 0;
	display: block;
}

.yt-meta {
	font-size: 12px;
	color: #707070;
	margin-top: 2px;
}

.yt-video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
}

.yt-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.linkButton {
	background-color: transparent;
	color: var(--retro-medium);
	border: none;
/*	padding-left: 8px;
	padding-right: 8px;*/
	height: 30px;
	align-self: end;
	padding-top: 2px;
	padding-bottom: 1px;
	width: 33%;
	font-size: 12px;
	font-weight: 200;
}
.linkButton:hover {
	background-color: var(--retro-red);
	color: #fff;
}

/* Like/Favorite/Share icons: used to be an inline <svg><path> pair (plus an
   empty wrapper <span>) per button - 5 DOM nodes each. Now a CSS mask-image
   on the button itself, painted with background-color: currentColor, so
   hover/.isFavorite recoloring (below) falls out of the existing
   .linkButton/.linkButton:hover/.isFavorite color rules automatically -
   no separate ":hover svg path" override needed any more. */
.linkButton::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	margin-right: 3px;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
}
.icon-like::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m12.91 7-2.25-2.57a8.2 8.2 0 0 1-1.5-2.55L9 1.37A2.08 2.08 0 0 0 7 0a2.08 2.08 0 0 0-2.06 2.08v1.17a5.8 5.8 0 0 0 .31 1.89l.28.86H2.38A1.47 1.47 0 0 0 1 7.47a1.45 1.45 0 0 0 .64 1.21 1.48 1.48 0 0 0-.37 2.06 1.54 1.54 0 0 0 .62.51h.05a1.6 1.6 0 0 0-.19.71A1.47 1.47 0 0 0 3 13.42v.1A1.46 1.46 0 0 0 4.4 15h4.83a5.6 5.6 0 0 0 2.48-.58l1-.42H14V7zM12 12.11l-1.19.52a3.6 3.6 0 0 1-1.58.37H5.1a.55.55 0 0 1-.53-.4l-.14-.48-.49-.21a.56.56 0 0 1-.34-.6l.09-.56-.42-.42a.56.56 0 0 1-.09-.68L3.55 9l-.4-.61A.28.28 0 0 1 3.3 8h5L7.14 4.51a4.2 4.2 0 0 1-.2-1.26V2.08A.09.09 0 0 1 7 2a.1.1 0 0 1 .08 0l.18.51a10 10 0 0 0 1.9 3.24l2.84 3z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m12.91 7-2.25-2.57a8.2 8.2 0 0 1-1.5-2.55L9 1.37A2.08 2.08 0 0 0 7 0a2.08 2.08 0 0 0-2.06 2.08v1.17a5.8 5.8 0 0 0 .31 1.89l.28.86H2.38A1.47 1.47 0 0 0 1 7.47a1.45 1.45 0 0 0 .64 1.21 1.48 1.48 0 0 0-.37 2.06 1.54 1.54 0 0 0 .62.51h.05a1.6 1.6 0 0 0-.19.71A1.47 1.47 0 0 0 3 13.42v.1A1.46 1.46 0 0 0 4.4 15h4.83a5.6 5.6 0 0 0 2.48-.58l1-.42H14V7zM12 12.11l-1.19.52a3.6 3.6 0 0 1-1.58.37H5.1a.55.55 0 0 1-.53-.4l-.14-.48-.49-.21a.56.56 0 0 1-.34-.6l.09-.56-.42-.42a.56.56 0 0 1-.09-.68L3.55 9l-.4-.61A.28.28 0 0 1 3.3 8h5L7.14 4.51a4.2 4.2 0 0 1-.2-1.26V2.08A.09.09 0 0 1 7 2a.1.1 0 0 1 .08 0l.18.51a10 10 0 0 0 1.9 3.24l2.84 3z'/%3E%3C/svg%3E");
}
/* Default (not favorited): hollow outline heart, same as the old
   fill='none' stroke='currentColor' SVG. */
.icon-favorite::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 .2l2.47 5.01 5.53.8-4 3.9 1.18 5.7L8 13l-5.18 2.61L4 9.91.53 6.01l5.53-.8L8 .2z' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 .2l2.47 5.01 5.53.8-4 3.9 1.18 5.7L8 13l-5.18 2.61L4 9.91.53 6.01l5.53-.8L8 .2z' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
}
/* Favorited: solid filled heart - swaps to a differently-shaped mask rather
   than trying to recolor a fill:none shape, since a mask has no fill/stroke
   of its own to override (only background-color: currentColor above, which
   already tracks .isFavorite's own color change). */
.isFavorite.icon-favorite::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 .2l2.47 5.01 5.53.8-4 3.9 1.18 5.7L8 13l-5.18 2.61L4 9.91.53 6.01l5.53-.8L8 .2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 .2l2.47 5.01 5.53.8-4 3.9 1.18 5.7L8 13l-5.18 2.61L4 9.91.53 6.01l5.53-.8L8 .2z'/%3E%3C/svg%3E");
}
.icon-send::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14 2 0 6.67l5 2.64 5.67-3.98L6.7 11l2.63 5z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M14 2 0 6.67l5 2.64 5.67-3.98L6.7 11l2.63 5z'/%3E%3C/svg%3E");
}

.bottom {
	border-top: 1px dotted #ddd;
	background-color: #transparent;
	position: absolute;
	width: 100%;
	bottom: 0;
	height: 36px;
}

.isFavorite {
	color: var(--retro-red);
	background: var(--retro-light);
}

/* THE MAIN GLASS BUTTON STYLES */
/* Used to be two nested divs (.button-outer ring + .button-inner gradient
   body) - box-shadow accepts a comma-separated list mixing normal (drop)
   and inset shadows on the SAME element, so the outer ring's drop-shadow
   and the inner body's 3 inset highlight shadows all combine into one
   box-shadow list here. Verified pixel-identical against the live two-div
   version before merging. */
.button-glass {
	z-index: 10; /* Ensure it is above the computer part */
	position: absolute;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	top: 200px; /* Position to overlap background similar to image */
	right: 16px;

	/* Outer boundary definition (frosted ring appearance) */
	border: 1px solid rgba(255, 255, 255, 0.5); /* Outer rim */

	/* The light grey, semi-transparent gradient body (was .button-outer's
	   frosted background-color: rgba(255,255,255,0.1) before, but that was
	   always fully covered by .button-inner's own opaque-ish gradient, so
	   it never contributed anything visible - safe to drop) */
	background: linear-gradient(135deg, rgba(230, 238, 248, 0.85) 0%, rgba(160, 160, 160, 0.85) 100%);

	/* Drop-shadow for the whole element, plus the inner highlight shadows */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3),
				inset 0 0 0 1px rgba(255, 255, 255, 0.2),
				inset 10px 10px 20px rgba(0, 0, 0, 0.26),
				inset -5px -5px 10px rgba(255, 255, 255, 1),
				inset 11px 12px 10px rgba(255, 255, 255, 1);

	/* Center the text */
	display: flex;
	justify-content: center;
	align-items: center;

	/* Text styles */
	color: #ffffff;
	text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.6);

	font-size: 21px;
	font-weight: 500;
	font-family: system-ui;
}
