/* ===== Reset (light) + Box Model ===== */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Base ===== */
body {
  font: 16px/1.55 Georgia, "Times New Roman", Times, serif;
  color: #191919;
  background: #fff;
  margin: 0;
}

a { color: #f00; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; outline: none; }

/* Accessible skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: static; width: auto; height: auto; padding: 8px 12px; background: #000; color: #fff;
}

/* ===== Shell / Layout ===== */
.shell {
  max-width: 1100px;              /* allows breathing room on large screens */
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 24px;
}

/* Sidebar nav mimics your original background */
.site-nav {
  flex: 0 0 191px; /* fixed column width (your original) */
  background: url(../images/navigation_ribbon.jpg) left top no-repeat;
  padding-bottom: 24px;
}

#navigation { list-style: none; margin: 0; padding: 0; }
#navigation li { margin: 30px 0 30px 30px; }
#navigation a { color: #f4f2f2; }
#navigation a:hover,
#navigation a:focus { color: #fff; text-decoration: underline; }
#navigation a[aria-current="page"] { text-decoration: underline; }

/* Content area sized like your 690px column, but flexible */
.site-main {
  flex: 1 1 0%;
  min-width: 0;
}

/* Headings mimic original sizes */
h1 { padding: 5px 0 5px 40px; margin: 15px 0 40px; font-size: 2rem;
     background: url(../images/example_logo.jpg) left 50% no-repeat; }
h2 { font-size: 1.5rem; font-weight: 700; margin: 15px 0; }
h3 { font-size: 1.25rem; font-weight: 700; margin: 15px 0; }
h4 { font-size: 1.15rem; font-weight: 700; margin: 15px 0; }
h5 { font-size: 1rem; font-style: italic; color: gray; margin: 15px 0; }

p, ul, ol, dl { margin: 15px 0; }
#content p, #content li { line-height: 1.5; }

.index { margin: 10px 10px 10px 0; padding-left: 0; }
.hero { margin: 0 auto 16px; }

/* Tables / code */
table.center { margin-left: auto; margin-right: auto; }
pre, code, tt {
  font: 0.95em/1.4 Courier, monospace;
  font-weight: 600;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Forms */
input, textarea {
  padding: 6px 8px;
  font: 0.95em/1.4 Helvetica, Arial, Verdana, sans-serif;
  color: #333;
}
input { width: 100%; max-width: 320px; }
textarea { width: 100%; max-width: 420px; height: 150px; }
#submit { width: 120px; font-weight: 700; color: #000; }

/* Footer (if used) */
#footer { clear: both; padding: 60px 15px 30px; font-size: .9em; font-style: italic; color: gray; }

/* ===== Small screens: stack nav above content ===== */
@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .site-nav { flex-basis: auto; background-size: cover; }
  #navigation li { margin: 16px 0 16px 16px; }
  h1 { margin-bottom: 24px; }
}
