/* Sarasota Coastal Living Guide - shared styles
   Brand: RE/MAX red #ff1200, RE/MAX blue #0054A4, white #ffffff */

:root {
  --brand-red: #ff1200;
  --brand-blue: #0054A4;
  --brand-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-body: #2b2b2b;
  --bg-tint: #f4f7fb;
  --answer-tint: #eef4fb;
  --quote-tint: #fff1ef;
  --note-tint: #fff6e8;
  --note-border: #d98a00;
  --border-gray: #d8dde3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--brand-white);
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brand-blue);
  line-height: 1.3;
}

h1 { font-size: 2.1rem; margin: 0 0 .4rem; }
h2 { font-size: 1.5rem; margin-top: 2.4rem; }
h3 { font-size: 1.2rem; color: var(--text-dark); }

a { color: var(--brand-blue); }
a:hover { color: var(--brand-red); }

main { max-width: 880px; margin: 0 auto; padding: 0 1.25rem 3rem; }

/* Navigation */
header.site-nav {
  background: var(--brand-blue);
  border-bottom: 4px solid var(--brand-red);
}
header.site-nav nav {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.1rem;
  padding: .85rem 1.25rem;
}
header.site-nav a {
  color: var(--brand-white);
  text-decoration: none;
  font-size: .97rem;
  font-weight: bold;
}
header.site-nav a:hover { color: #ffd9d4; }
header.site-nav .brand-link { font-family: Georgia, serif; font-size: 1.1rem; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #003d7a 100%);
  color: var(--brand-white);
  padding: 2.75rem 1.25rem 2.25rem;
}
.hero-inner { max-width: 880px; margin: 0 auto; }
.hero h1 { color: var(--brand-white); }
.hero .last-updated {
  display: inline-block;
  margin-top: .5rem;
  font-size: .95rem;
  color: #ffe2de;
  font-weight: bold;
}

/* Key takeaways */
.key-takeaways {
  background: var(--bg-tint);
  border: 1px solid var(--border-gray);
  border-left: 6px solid var(--brand-blue);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0 2rem;
}
.key-takeaways h2 { margin-top: 0; font-size: 1.15rem; }
.key-takeaways ul { margin: .5rem 0 0; padding-left: 1.25rem; }
.key-takeaways li { margin-bottom: .6rem; }

/* Direct answer box */
.direct-answer {
  background: var(--answer-tint);
  border-left: 5px solid var(--brand-blue);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin: .6rem 0 1.1rem;
  font-weight: 500;
}

/* Expert quote box */
.expert-quote {
  background: var(--quote-tint);
  border-left: 5px solid var(--brand-red);
  border-radius: 4px;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
  font-style: italic;
}
.expert-quote .attribution {
  display: block;
  margin-top: .6rem;
  font-style: normal;
  font-weight: bold;
  color: var(--text-dark);
}

/* Important / note box */
.important-note {
  background: var(--note-tint);
  border-left: 5px solid var(--note-border);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

/* Data table */
table.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 .5rem;
  font-size: .95rem;
}
table.data-table caption {
  caption-side: bottom;
  text-align: left;
  font-size: .85rem;
  color: #555;
  padding-top: .5rem;
}
table.data-table th, table.data-table td {
  border: 1px solid var(--border-gray);
  padding: .6rem .7rem;
  text-align: left;
  vertical-align: top;
}
table.data-table th { background: var(--brand-blue); color: var(--brand-white); }
table.data-table tr:nth-child(even) { background: var(--bg-tint); }

/* Photo with caption */
figure.photo { margin: 1.5rem 0 2rem; }
figure.photo img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--border-gray); }
figure.photo figcaption { font-size: .9rem; color: #444; margin-top: .5rem; }

/* Bio block */
.bio-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-tint);
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  padding: 1.25rem;
  margin: 2.5rem 0 2rem;
}
.bio-block img {
  border-radius: 6px;
  flex-shrink: 0;
}
.bio-block .bio-text { flex: 1; min-width: 220px; }
.bio-block .bio-text p { margin: 0 0 .5rem; }
.bio-block .credential-line { font-size: .9rem; color: #444; }

/* Contact section */
.contact-section {
  background: var(--brand-blue);
  color: var(--brand-white);
  border-radius: 6px;
  padding: 1.75rem;
  margin: 2.5rem 0;
}
.contact-section h2 { color: var(--brand-white); margin-top: 0; }
.contact-section label { display: block; font-weight: bold; margin: .8rem 0 .3rem; }
.contact-section input, .contact-section select, .contact-section textarea {
  width: 100%;
  padding: .55rem .6rem;
  border-radius: 4px;
  border: 1px solid var(--border-gray);
  font-size: 1rem;
  font-family: inherit;
}
.contact-section textarea { min-height: 100px; }
.contact-section button {
  margin-top: 1.1rem;
  background: var(--brand-red);
  color: var(--brand-white);
  border: none;
  padding: .8rem 1.5rem;
  font-size: 1.05rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}
.contact-section button:hover { background: #d10e00; }
.form-privacy { font-size: .85rem; margin-top: .7rem; color: #e7eefb; }
.hidden { display: none; }

/* Footer */
footer.site-footer {
  background: var(--text-dark);
  color: #ddd;
  font-size: .88rem;
  padding: 2rem 1.25rem;
}
footer.site-footer .footer-inner { max-width: 880px; margin: 0 auto; }
footer.site-footer a { color: #9ec4f2; }
footer.site-footer nav { margin: .75rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
footer.site-footer .disclaimer { color: #aaa; line-height: 1.5; }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; margin-bottom: .5rem; }
.breadcrumb a { color: #d7e6fb; }

@media (max-width: 768px) {
  header.site-nav nav { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 1.6rem; }
  .bio-block { flex-direction: column; }
}
