/* Summerlin 55+ Community Guide, site stylesheet */
/* Brand colors and font matched to scottrotheiser.com, confirmed 2026-07-27 */

:root {
  --navy: #0b1f3b;
  --white: #ffffff;
  --gray-body: #808080;
  --gray-card: #f4f4f4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  color: var(--gray-body);
  background-color: var(--white);
  line-height: 1.65;
}

a {
  color: var(--navy);
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

h1, h2, h3 {
  color: var(--navy);
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  line-height: 1.25;
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  border-bottom: 2px solid var(--gray-card);
  padding-bottom: 0.4rem;
}

h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-card);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header img.logo {
  height: 42px;
  width: auto;
}

.site-header .site-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1rem 0 1.5rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.photo-grid figure {
  margin: 0;
}

.photo-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.photo-grid figcaption {
  font-size: 0.78rem;
  color: var(--gray-body);
  margin-top: 0.35rem;
  text-align: center;
}

@media (max-width: 600px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-body);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--gray-body);
}

.answer-box {
  background-color: var(--gray-card);
  border-left: 4px solid var(--navy);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 4px;
}

.answer-box p:first-child {
  margin-top: 0;
}

.answer-box p:last-child {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--gray-card);
}

th {
  background-color: var(--gray-card);
  color: var(--navy);
}

.toc {
  background-color: var(--gray-card);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.toc h2 {
  margin-top: 0;
  border-bottom: none;
}

.toc ol {
  columns: 2;
  padding-left: 1.25rem;
}

.toc li {
  margin-bottom: 0.4rem;
  break-inside: avoid;
}

.key-takeaways {
  background-color: var(--gray-card);
  border-left: 4px solid var(--navy);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}

.key-takeaways h2 {
  margin-top: 0;
  border-bottom: none;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.key-takeaways ul {
  margin: 0;
  padding-left: 1.25rem;
}

.key-takeaways li {
  margin-bottom: 0.6rem;
}

.key-takeaways li:last-child {
  margin-bottom: 0;
}

.contact-form {
  background-color: var(--gray-card);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.contact-form label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin: 0.75rem 0 0.25rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 100px;
}

.contact-form button {
  margin-top: 1rem;
  background-color: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  opacity: 0.9;
}

.form-privacy {
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--gray-body);
  margin-top: 1rem;
  line-height: 1.5;
}

.author-box {
  background-color: var(--gray-card);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.author-box img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-box p {
  margin: 0;
  font-size: 0.95rem;
}

.quote-box {
  border-left: 4px solid var(--navy);
  background-color: var(--gray-card);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--navy);
}

.link-needed {
  color: #b3541e;
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  border: 1px dashed #b3541e;
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.85rem;
}

.faq-item {
  margin-bottom: 1.25rem;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.sources {
  font-size: 0.85rem;
}

.sources ol {
  padding-left: 1.25rem;
}

.sources li {
  margin-bottom: 0.5rem;
}

.cta-box {
  background-color: var(--navy);
  color: var(--white);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2.5rem 0 1.5rem;
}

.cta-box a {
  color: var(--white);
  font-weight: 700;
}

.cta-box p {
  margin: 0 0 0.75rem;
}

.site-footer {
  background-color: var(--gray-card);
  padding: 1.5rem;
  margin-top: 3rem;
  font-size: 0.85rem;
  text-align: center;
}

.maintenance-note {
  font-size: 0.85rem;
  color: var(--gray-body);
  border: 1px dashed var(--gray-body);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .toc ol {
    columns: 1;
  }
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
