/* Homepage Styles */
body {
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  /* Mobile default */
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

@media (min-width: 768px) {
  .container {
    width: 40%;
    max-width: none;
    /* Override max-width for the 40% requirement */
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, serif;
}

h1 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #336E2F;
  color: #336E2F;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: transparent;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .btn {
    width: auto;
  }
}

.btn:hover {
  background-color: #336E2F;
  color: #ffffff;
  text-decoration: none;
}

a {
  color: #336E2F;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

.footer {
  margin-top: 4rem;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

/* Common UI Components */
*,
*::before,
*::after {
  box-sizing: border-box;
}



.muted {
  color: #555;
  margin-bottom: 1.5rem;
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9c9c9;
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.inline-field {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.inline-field .flex-1 {
  flex: 1;
  min-width: 0;
}

.btn.filled {
  background-color: #336E2F;
  color: #ffffff;
}

.btn.secondary {
  border-color: #111;
  color: #111;
  background-color: #fff;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

.status {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.status.error {
  color: #b00020;
}

.status.success {
  color: #1b7f3f;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #e6f4ea;
  color: #1b7f3f;
  border: 1px solid #b7e0c4;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
}

#recaptcha-container {
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .container {
    padding: 1rem 1rem;
    width: 100%;
  }
}

.post-body {
  font-size: 0.95rem;
  line-height: 1.5;
}

.post-body div {
  margin: 0 0 0.35rem;
}

.post-body ul,
.post-body ol {
  margin: 0 0 0.5rem 1.25rem;
  padding: 0;
}

.post-body blockquote {
  border-left: 3px solid #ccc;
  margin: 0 0 0.5rem;
  padding-left: 0.75rem;
  color: #555;
}

.post-body code {
  background: #f5f5f5;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.post-body pre {
  background: #f5f5f5;
  padding: 0.75rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 0 0 0.75rem;
}
