* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: #94a5b4;
  font-family: Arial, sans-serif;
  color: #555;
}

/* Layout */
.content { max-width: 800px; margin: 0 auto; padding: 24px; }
@media (max-width: 1024px) { .content { max-width: 700px; padding: 20px; } }
@media (max-width: 600px)  { .content { padding: 16px; } }
@media (max-width: 480px)  { .content { padding: 12px; } }

/* Header & Nav */
#site-header { background: #7f8c9a; }
#main-nav { max-width: 1000px; margin: 0 auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.nav-item { flex: 1; text-align: center; }
.nav-item a { display: block; padding: 12px 0; color: #2c3e50; font-weight: bold; font-size: 18px; text-decoration: none; transition: background-color .3s, color .3s; }
.nav-item a:hover { background: #555; color: #fff; }

/* Typography */
h1 { color: #2c3e50; text-align: center; }
p { font-size: 22px; line-height: 1.5; }
@media (max-width: 600px) { p { font-size: 18px; } }

/* Links – your final purple → orange style */
a { color: #6f42c1; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; transition: all .22s ease; }
a:hover, a:focus { color: #e67e22; text-decoration-color: #e67e22; font-weight: 600; }

/* Footer */
footer.content { margin-top: 60px; padding: 32px 24px; background: #2c3e50; color: #ecf0f1; text-align: center; border-top: 4px solid #e67e22; border-radius: 10px; overflow: hidden; }
footer.content p { margin: 8px 0; font-size: 16px; color: #bdc3c7; }
footer.content .small { font-size: 14px; color: #95a5a6; margin-top: 12px; }
footer.content em { color: #e74c3c; }

/* Images */
main.content img { display: block; max-width: 100%; height: auto; margin: 30px auto; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
main.content p:last-of-type { text-align: center; font-style: italic; color: #555; font-size: 18px; margin: -15px auto 30px; }
@media (max-width: 600px) { main.content p:last-of-type { font-size: 16px; } }

/* Goals Page */
.goal-list h2 { margin-top: 50px; color: #2c3e50; border-bottom: 3px solid #e67e22; padding-bottom: 8px; }
.numbered-goals { font-size: 20px; line-height: 1.8; padding-left: 28px; }
.numbered-goals .done { color: #27ae60; font-weight: bold; text-decoration: line-through; opacity: 0.8; }
@media (max-width: 600px) {
  .numbered-goals { padding-left: 32px; font-size: 19px; }
  .numbered-goals li { margin: 14px 0; }
}

/* Blog Index */
.post-list article { margin: 40px 0; padding-bottom: 30px; border-bottom: 1px solid #ddd; }
.post-list h2 a { color: #6f42c1 !important; text-decoration: underline !important; text-underline-offset: 4px !important; border-bottom: none !important; }
.post-list h2 a:hover { color: #e67e22 !important; }
.post-list time { display: block; margin: 8px 0; color: #777; font-style: italic; }
.post-preview { padding: 20px; border-radius: 10px; transition: background-color .25s; }
.post-preview:hover { background: rgba(230,126,34,.05); }

/* Checkers Game */
.game-section { margin: 60px auto; }
.game-section h2 { color: #2c3e50; margin-bottom: 20px; }
.game-container { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 40px 0; }
#checkersBoard { border: 3px solid #2c3e50; cursor: pointer; display: block; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.game-info { font-size: 18px; font-weight: bold; color: #2c3e50; height: 30px; text-align: center; }
#resetBtn { padding: 12px 24px; font-size: 16px; background-color: #e67e22; color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; transition: background-color 0.3s; }
#resetBtn:hover { background-color: #d35400; }
.instructions { background-color: #ecf0f1; padding: 20px; border-radius: 8px; color: #2c3e50; margin: 20px 0; }
.instructions h3 { margin-top: 0; color: #2c3e50; }
.instructions ul { margin: 10px 0; padding-left: 20px; }
.instructions li { margin: 8px 0; line-height: 1.6; }