body {
  color: #000;
  background-color: #fff;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Lucida Grande", "Lucida Sans Unicode", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

#content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  text-align: left;
}

#content p {
  margin-top: 0.5em;
  margin-bottom: 0;
}

#content h1 {
  margin-left: auto;
  margin-right: auto;
}

#column1 {
  width: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
  #content {
    padding: 1rem;
  }
  
  h1 {
    font-size: 2rem;
    letter-spacing: 0.1em;
  }
  
  .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
  }
  
  ul.sidebar li {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  
  ul.sidebar li p {
    margin-left: 85px;
  }
  
  h4 {
    margin-left: 0.5em;
    font-size: 0.95rem;
  }
  
  ul.details {
    margin-left: 85px;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }
  
  /* Picklets tablet layout */
  .set > div {
    max-width: 250px;
    min-width: 180px;
  }
  
  .set img {
    width: 130px;
  }
}

@media (max-width: 480px) {
  #content {
    padding: 0.5rem;
  }
  
  h1 {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
  }
  
  .icon {
    width: 60px;
    height: 60px;
    margin-right: 0.75rem;
  }
  
  ul.sidebar li p {
    margin-left: 65px;
  }
  
  ul.details {
    margin-left: 65px;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }
  
  h4 {
    margin-left: 0.25em;
    font-size: 1.1rem;
  }
  
  p {
    font-size: 16px;
    line-height: 1.75;
  }
  
  /* Picklets responsive layout */
  .set {
    flex-direction: column;
    gap: 2rem;
  }
  
  .set > div {
    max-width: 100%;
    min-width: auto;
  }
  
  .set img {
    width: 120px;
  }
}

a:link, a:visited {
  text-decoration : none;
  color: #595959;
  background: transparent; 
}

/* Accessibility utilities - from docs/accessibility.md */

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Enhanced focus indicators (required) */
*:focus {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

/* Skip link pattern */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* Audience selector fieldset styling */
.audience-selector-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.audience-selector-fieldset legend {
  position: absolute;
  left: -9999px; /* Visually hidden but available to screen readers */
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

a:hover {
  text-decoration : underline;
  color: #F68E56;
  background: transparent; 
}

a:active {
  text-decoration : none;
  color: #000;
  background: transparent;  
}

h1 {
  font-weight: 300;
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  margin: 1rem 0 0.5rem 0;
  text-align: center;
}

h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 0;
  text-align: center;
}

h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 1.5rem 0 2rem 0;
  text-align: center;
  color: #555;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 1em;
  text-align: left;
  color: #333;
  line-height: 1.4;
}

h4 a {
  color: #333;
}

h4 a:hover {
  color: #F68E56;
}

p {
  margin: 0.5rem 0;
  margin-left: 0;
  line-height: 1.7;
  text-align: left;
  padding-right: 10px;
}

/* Better spacing for project entries */
ul.sidebar li {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

ul.sidebar li:last-child {
  border-bottom: none;
}

p#extracontact {
	text-align: center;
	color: #aaa;
}

li#home a:link, li#home a:visited, li#home a:hover {
color: #000;
background: #eee;
text-decoration: none;
}

img {
  display: block;
  border: 0;
}

img#emailaddress {
  display: inline;
}

ul.sidebar {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 0;
}

ul.sidebar li {
  text-align: left;
  margin: 0 0 20px 0;
  padding: 0;
}

ul.sidebar li p {
  margin-left: 105px;
}

ul.details {
  list-style: none;
  margin: 0.5rem 0 0.5rem 105px;
  padding: 0;
}

ul.details li {
  margin: 0;
  padding: 2px 0;
  color: #666;
  font-size: 0.9rem;
}

#navigation {
  font-size: medium;
  height: 2em;
}

#navigation ul  {
  background-color: #ccc;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

#navigation li {
  background-color: #ccc;
  width: 80px;
  line-height: 2em;
  text-align: center;
  float: left;
}

#navigation a {
  display: block;
}

#navigation a:link, #navigation a:visited {
  display: block;
}

#navigation a:hover {
  text-decoration : underline;
  color: #F68E56;
  background: #eee;
}

#thispage li {
  background-color: #eee;
}

.icon {
  float: left;
  margin: 0 1rem 1rem 0;
  padding: 0;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
}

h1#header {
  background: url(images/header.png) top left no-repeat;
}

#headerbg {
  margin: 0;
  padding: 0;
  height: 150px;
  background: #ccc;
}

#headerbg h1 {
  margin: 0;
  padding: 0;
  padding-top: 150px;
  overflow: hidden;
  height: 0px !important;
}

#contact {
  text-align: right;
  float: right;
  margin-right: 10px;
  font-size: xx-small;
}

/* .movie is the <object> class of embedded quicktime movies */

.movie {
  text-align: left;
  margin: 10px;
  border: 0;
  width: 160px;
  height: 136px;
  background: #eee url(images/pecking_order_still.jpg) no-repeat top left;
}

.hide {
  display: none;
}

.set {
  display: flex;
  flex-direction: row;
  /* margin: 0 auto; */
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.set > div {
  margin: 0;
  max-width: 280px;
  min-width: 200px;
  flex: 1;
  text-align: center;
}

.set img {
  width: 150px;
  height: auto;
  margin: 0 auto 1rem auto;
}