
/*
Theme Name: CADTB Win98 Desktop
Theme URI: https://controlaltdeletetechbits.co.uk/
Author: Mark Oldham (Control Alt Delete Tech Bits)
Author URI: https://www.linkedin.com/in/markoldham365/
Description: Windows 98-style homepage with Start menu using 98.css. Standard templates for posts, pages, and archives for strong SEO. No plugins required.
Version: 1.80.8
Text Domain: cadtb98
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Base tweaks shared across the site */
:root{
  --cadtb-primary:#007FFF;
  --taskbar-height: 42px;
  --desktop-bg: #0e7c80; /* teal-ish */
}

/* Typography inherits from browser/98.css on front page; keep body readable on posts */
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  margin: 0;
}

/* Simple content layout for posts/archives */
.cadtb-container{
  width: min(1100px, 92vw);
  margin: 2rem auto;
}

.cadtb-post-title{ margin: 0 0 1rem; }

.cadtb-post-meta{
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.25rem;
}

.cadtb-content img{ max-width: 100%; height: auto; }

/* Basic archive grid */
.cadtb-archive ul{ list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); }
.cadtb-archive li{ border: 1px solid #e5e5e5; padding: 1rem; border-radius: 8px; background: #fff; }
.cadtb-archive h2{ font-size: 1.1rem; margin: 0 0 0.5rem; }

/* Comments */
.cadtb-comments{ margin-top: 2rem; }


/* Back to Desktop button (posts/pages) */
.cadtb-return{ margin: 0 auto; width:min(1100px,92vw); padding: 8px 0 0; }
.cadtb-start-link{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid #7d7d7d; background:#c0c0c0; padding:6px 10px; text-decoration:none; color:#000;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #808080;
  border-radius:4px; font-weight:600;
}
.cadtb-start-link:active{ box-shadow: inset -1px -1px #fff, inset 1px 1px #808080; }
@media (max-width:700px){ .cadtb-return{ padding: 8px 12px 0; } }
@media print{ .cadtb-return{ display:none; } }
