body {
  font-family: system-ui, sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;

}

a { color: #0066cc; }

.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #003366;
  color: white;
  padding: 1rem;
}

.logo {
  max-height: 60px;
}

.PSoALogo { 
  max-height:125px; 
  margin-left: 15px;
}

.header-text {
  font-size: 1.5rem;
  font-weight: bold;
}

.header-title {
  display: block;
  float: right;
  padding-left: 20px;
  padding-top: 50px;
}
.content {
  padding: 1rem;
  max-width: 1200px;
  margin: auto;
}

.contact-line {
  margin: 0.25rem 0;
}

.contact-line .email img {
  display: inline-block;
  vertical-align: middle; /* Keeps it centered with text */
  height: 1em;            /* Matches font size */
  width: auto;
  margin: 0 2px;
}


h1, h2 {
  text-align: center;
}

.mosasaur-image,
.grid-item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.grid-item {
  background: white;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.note {
  width: 100%;
  border-collapse: collapse;
}

.note th, .note td {
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
}

.responsive-map {
  width: 100%;
  height: 300px;
  border: 0;
}

@media (max-width: 600px) {
  .content { padding: 0.5rem; }
  h1 { font-size: 1.75rem; }
}


.responsive-img {
  max-width: 100%;   /* Prevents image from exceeding its container */
  width: 100%;       /* Forces it to scale to container width */
  height: auto;
  object-fit: contain;
  display: block;
}
 
footer {
   
  text-align: center;
  padding: 1rem;
}

footer img {
   
  margin: 0 10px;
}
.navbar {
  background: #003366;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  align-items: center;
}

.navbar a {
  color: white;
  text-decoration: none;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.navbar-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 12px;
  margin: 4px 2px 4px 2px;
  width: 15%;
  text-align: center;
  border: none;
  outline: none;
  transition: 0.4s;
  font: Tahoma,Arial,sans-serif; 
  font-size: 2vw;

}

 
/* Style the accordion panel. Note: hidden by default */
.panel {
    gap: 10px;
    padding: 8px 8px 8px 0px;
    background-color: white;
    display: none;
    overflow: hidden;
}

/* newsletter issues and headers */
.months {
    display: grid;
    /*    grid-template-columns: .18fr .18fr .18fr .18fr .18fr .18fr; */
    grid-template-columns: .15fr .15fr .15fr .15fr .15fr .15fr;
    font: Tahoma,Arial,sans-serif; 
    font-size: 1vw;
    padding: 8px;
    width: 100%;
}

.issue {
    font: Tahoma,Arial,sans-serif; 
    font-size: 2.8vw;
    width: inherit;
    display: inline;
    text-align: center;
    margin: 4px;
    padding: 8px 0 ;
    color: darkgray;
    background-color: white;
}

.issue a {
    display: inline-block;
    text-align: center;
    width: 10vw;;
    margin: 0px;
    padding: 4px;
    background-color: lightblue; 
}

/* none of this seems to work */
@media screen and (max-width:740px) {
    .months {
  font-size: 3vw;
  padding: 2px;
    }
    .panel {
  padding: 0px;
    }
    .issue {
  padding: 3px;
  margin: 1px;
  /* font-size: inherit; */
  background-color: white; 
    }
    .issue a {
  padding: 4px;
  margin: 0px;
  font-size: 11px;
  color: white
  background-color: lightblue;
    }
    .accordion {
  padding: 4px;
  text-align: middle;
  font-size: 14px;
    }
 }



.navbar-brand {
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.PSoALogo {
  height: 85px;  
  margin-right: 24px;
}

.brand-title {
  font-size: 1.8rem; 
  color: #fff;  
  white-space: nowrap;
  
}


/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 12px;
  margin: 4px 2px 4px 2px;
  width: 15%;
  text-align: center;
  border: none;
  outline: none;
  transition: 0.4s;
  font: Tahoma,Arial,sans-serif; 
  font-size: 2vw;

}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    gap: 10px;
    padding: 8px 8px 8px 0px;
    background-color: white;
    display: none;
    overflow: hidden;
}

/* newsletter issues and headers */
.months {
    display: grid;
    /*    grid-template-columns: .18fr .18fr .18fr .18fr .18fr .18fr; */
    grid-template-columns: .15fr .15fr .15fr .15fr .15fr .15fr;
    font: Tahoma,Arial,sans-serif; 
    font-size: 1vw;
    padding: 8px;
    width: 100%;
}

.issue {
    font: Tahoma,Arial,sans-serif; 
    font-size: 2.8vw;
    width: inherit;
    display: inline;
    text-align: center;
    margin: 4px;
    padding: 8px 0 ;
    color: darkgray;
    background-color: white;
}

.issue a {
    display: inline-block;
    text-align: center;
    width: 10vw;;
    margin: 0px;
    padding: 4px;
    background-color: lightblue; 
}

 
   
  

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .navbar {
    position: relative;
    padding: 0.5rem 1rem; /* Keep navbar padding */
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    background: #003366;
    width: 100%;
    position: absolute;
    top: 100%; /* start exactly below navbar */
    left: 0;
    z-index: 1000;
    padding: 0.75rem 0; /* top/bottom padding for the whole menu */
    margin: 0; /* remove any default margin */
  }

  .navbar-menu li {
    padding-left: 1.5rem; /* extra left padding for tap target */
    padding-right: 1rem;
  }

  .navbar-menu li a {
    display: block;
    padding: 0.5rem 0; /* vertical padding per link */
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-brand {
    align-items: flex-start;
    flex-direction: row;
  }

  .PSoALogo {
    height: 50px;
    margin-right: 12px;
    margin-left: 0; /* remove left margin on mobile */
  }

  .brand-title {
    font-size: 1rem;
    line-height: 1.2;
    white-space: normal;
    display: block;
    max-width: 150px;
    text-align: left;
  }
}


