/* Wadebridge and District Angling Association — rebuilt site */
* { box-sizing: border-box; }
body {
  margin: 0; background: #F4F2E6; color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.6;
}
a { color: #1B3A2B; }
a:hover { color: #2E6B4F; }
.site-header {
  background: #F4F2E6; padding: 22px 20px 14px; text-align: center;
  border-bottom: 4px solid #1B3A2B;
}
.site-header img.logo {
  width: 120px; height: auto; background: #fff; border: 1px solid #d8d2bd;
  border-radius: 8px; padding: 6px;
}
.site-header h1 { font-size: 1.6em; margin: 10px 0 2px; color: #1B3A2B; }
.site-header .tagline { margin: 0; color: #555; font-size: 1.05em; }
nav.main {
  background: #1B3A2B; text-align: center; padding: 0 10px;
}
nav.main a {
  display: inline-block; color: #F4F2E6; text-decoration: none;
  padding: 11px 16px; font-size: 1em;
}
nav.main a:hover { background: #2E6B4F; }
nav.main a[aria-current="page"] { background: #2E6B4F; font-weight: bold; }
main {
  max-width: 880px; margin: 0 auto; padding: 24px 20px 40px;
  background: #fff; min-height: 60vh;
}
main h1 { color: #1B3A2B; font-size: 1.5em; margin-top: 0; }
main h2 { color: #1B3A2B; font-size: 1.25em; margin-top: 1.6em; }
main h3 { color: #1B3A2B; font-size: 1.1em; }
figure { margin: 1.4em 0; }
figure img { max-width: 100%; height: auto; display: block; border: 1px solid #ddd; }
figcaption { font-size: 0.9em; color: #555; margin-top: 6px; }
img.hero { width: 100%; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.4em 0; }
.photo-grid figure { margin: 0; }
@media (max-width: 600px) { .photo-grid { grid-template-columns: 1fr; } }
.callouts { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0 1.6em; }
.callouts a {
  background: #1B3A2B; color: #F4F2E6; text-decoration: none;
  padding: 12px 20px; border-radius: 4px; font-weight: bold;
}
.callouts a:hover { background: #2E6B4F; color: #fff; }
.notice {
  background: #F4F2E6; border-left: 5px solid #1B3A2B;
  padding: 12px 16px; margin: 1.2em 0;
}
ol.rules { padding-left: 1.6em; }
ol.rules li { margin-bottom: 0.55em; }
table.beats { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95em; }
table.beats th, table.beats td {
  border: 1px solid #ccc; padding: 8px 10px; text-align: left; vertical-align: top;
}
table.beats th { background: #1B3A2B; color: #F4F2E6; }
table.beats td.note { color: #a33; }
.news-list { list-style: none; padding: 0; }
.news-list li { border-bottom: 1px solid #ddd; padding: 14px 0; }
.news-list .date { color: #555; font-size: 0.9em; }
.news-list h2 { margin: 2px 0 4px; font-size: 1.15em; }
.news-list h2 a { text-decoration: none; }
.news-list h2 a:hover { text-decoration: underline; }
.post-date { color: #555; font-size: 0.95em; margin-top: -8px; }
.download {
  display: inline-block; background: #1B3A2B; color: #F4F2E6;
  text-decoration: none; padding: 10px 18px; border-radius: 4px; font-weight: bold;
}
.download:hover { background: #2E6B4F; color: #fff; }
form.contact label { display: block; font-weight: bold; margin: 14px 0 4px; }
form.contact input[type="text"], form.contact input[type="email"], form.contact textarea {
  width: 100%; max-width: 520px; padding: 9px; font: inherit;
  border: 1px solid #999; border-radius: 4px;
}
form.contact textarea { min-height: 140px; }
form.contact input[type="submit"] {
  margin-top: 16px; background: #1B3A2B; color: #F4F2E6; border: none;
  padding: 11px 24px; font: inherit; font-weight: bold; border-radius: 4px; cursor: pointer;
}
form.contact input[type="submit"]:hover { background: #2E6B4F; }
.honeypot { display: none; }
.site-footer {
  background: #1B3A2B; color: #F4F2E6; text-align: center;
  padding: 20px; font-size: 0.95em;
}
.site-footer a { color: #F4F2E6; }
.site-footer p { margin: 4px 0; }
