/* Burgundy: wine-toned background with warm accents */
:root{
    --bg: #1e1b46d9;
    --fg: #fff6f1;
    --muted: #ffffff;
    --brand: #ffffffde;
    --brand-contrast: #62443d;
    --card: #9245454d;
    --border: #7274b1;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

.container{max-width: 920px; margin: 0 auto; padding: 1rem;}

.site-header{
  background: var(--card);
  border-bottom: 0px solid var(--border);
}
.site-title{
  margin: 0;
  font-size: clamp(1.25rem, 2vw + 1rem, 2rem);
}
.site-title a{color: inherit; text-decoration: none;}
.meeting-info{margin:.25rem 0 0; color: var(--muted);}

.site-nav{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin-top: .75rem;
}
.site-nav a{
  text-decoration: none;
  color: var(--brand);
  padding: .25rem .5rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.site-nav a:hover{background: var(--brand); color: var(--brand-contrast); border-color: var(--brand);}

.content h2{font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem); margin-top: .25rem;}
.content p{margin: .5rem 0 1rem;}
.content ul{padding-left: 1.25rem;}
.facts li{margin:.25rem 0;}

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

.button{
  display:inline-block; text-decoration:none; padding:.625rem 1rem; border-radius:.5rem;
  background: var(--brand); color: var(--brand-contrast); border: 1px solid var(--brand);
}
.button:hover{filter: brightness(0.95);}

.note{
  font-size: .95rem;
  color: var(--muted);
  background: color-mix(in srgb, var(--card) 85%, var(--brand) 15%);
  border: 1px dashed var(--border);
  padding: .75rem;
  border-radius: .5rem;
}

.map-wrapper{
  position: relative; width: 100%; padding-top: 56.25%; /* 16:9 */
  border: 1px solid var(--border); border-radius: .5rem; overflow: hidden;
}
.map-wrapper iframe{
  position: absolute; top:0; left:0; width:100%; height:100%;
}

.site-footer{
  margin-top: 2rem; padding: 1rem 0; border-top: 0px solid var(--border); color: var(--muted);
  background: var(--card);
}

/* Focus styles for accessibility */
:focus-visible{
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}


/* Make only the page body content left-aligned */
main.container.content {
  text-align: left;
}



/* === Sticky footer (added by ChatGPT) === */
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
}
.site-footer {
  margin-top: auto;            /* pushes footer to the bottom on short pages */
  background: var(--card);     /* ensure full-width footer color */
  border-top: 0px solid var(--border);
}
/* === End sticky footer === */

/* === Content alignment cleanup (added by ChatGPT) === */
/* Keep the same centered column geometry as header/footer */
.container { margin-left: auto; margin-right: auto; }

/* Ensure main content is left-aligned within that column */
main.container.content, .content { text-align: left; }

/* Guard against legacy inline or page-specific centering */
.content > *, 
.content p, .content ul, .content ol, .content li,
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6,
.content .link-list, .content .map-wrapper {
  text-align: left !important;
}
/* === End content alignment cleanup === */

main.container.content {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;   /* same column as header/footer */
  text-align: left;
}

/* === Header image layout (added by ChatGPT) === */
.header-grid{
  display:grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title logo"
    "info  logo"
    "nav   nav";
  gap: .5rem 2rem;
  align-items:center;
}

/* map existing elements to areas */
.site-title{ grid-area: title; }
.meeting-info{ grid-area: info; }
.site-nav{ grid-area: nav; }
.header-right{ grid-area: logo; display:flex; justify-content:flex-end; }

.header-logo{
  max-width: clamp(96px, 22vw, 240px);
  height:auto; /* keep proportions */
  margin-right:200px;
  margin-top:20px;
}

@media (max-width: 720px){
  .header-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "info"
      "nav";
  }
  .header-right{ display:none; } /* hide image on small screens */
}
/* === End header image layout === */

/* -- google cal llayouts -- */

.gc-embed { width: 100%; height: 700px; }         /* month grid height */
.gc-mobile { display: none; }

@media (max-width: 700px) {
  .gc-desktop { display: none; }
  .gc-mobile  { display: block; height: 650px; }  /* agenda list height */
}