/* Base styles */
body {
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #222;
}


/* Link styling */
a {
  color: #2e6b2e; /* Mid-dark green */
  text-decoration: none; /* Optional: remove underline */
  transition: color 0.2s ease; /* Smooth hover effect */
}

a:hover,
a:visited {
  color: #3d8a3d; /* Slightly lighter green for hover and visited */
}

a:hover {
  text-decoration: underline;
}


/* Header logo */
.logo-container {
  text-align: center;
  padding: 20px 0;
}
.logo-container img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
}

/* Green banner with white text */
.site-description {
  background-color: #2e6b2e;
  color: white;
  text-align: center;
  padding: 11px 10px;
  font-size: 1.2em;
}

/* Main content area */
.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: white;
}


/*----------'See More' swish-down on main index----------------*/

.short-text,
.full-text {
  margin-bottom: 1em;
}

/* Initially show short text, hide full text */
.full-text {
  display: none;
}

/* When expanded, hide short text and show full text */
.text-container.open .short-text {
  display: none;
}

.text-container.open .full-text {
  display: block;
}

.toggle-button {
  display: inline;
  background-color:  #c9e8c9; /*#5ca65c; /*#2e6b2e; /* Mid-dark green */
  color: black;  /* #3366cc; Use your site's link color */
  font-size: 0.8em;
  font-weight: 600;
  border: 1px solid #ccc;
  padding: 4px 20px;
  margin-left: 4px;
  margin-bottom: 10px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
}

.toggle-button:hover {
  text-decoration: none;
  background-color: #4e914e; /* lighter green hover background */
  color: white; /* optional: white text on green background */
  border-radius: 6px;
}

/*-------------------------------------------------------------*/



/* Formatting of Main Index issues menu */
.issue_title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.issue_keywords {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.issue_keywords::after { /* horizontal line after issue list */
  content: "";
  display: block;
  width: 200px;
  height: 1px;
  background-color: #ccc;
  margin: 1rem 0 2rem 0;
  opacity: 0.3;
}

/* subhead immediately beneath h1 headline */
.subhead1 {
  font-size: 1.25rem;
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.25rem;
  color: #444;
}


/* box styles */

.outline_box {
  border: 1pt solid black;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}


.outline_box p,
.outline_box h1,
.outline_box h2,
.outline_box h3, {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  margin-left: 0;
  margin-right: 0;
}

.box2 {
  border: 1.5pt solid #aaa;
  background-color: #fdfdfd; /* very light off-white */
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.box2 p,
.box2 h1,
.box2 h2,
.box2 h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  margin-left: 0;
  margin-right: 0;
}

.box3 {
  display: inline-block;
  max-width: calc(100% - 420px); /* image width + margin */
  margin: 10px;
  padding: 10px;
  border: 1px solid #999;
  box-sizing: border-box;
  vertical-align: top;
}

.box3 p,
.box3 h1,
.box3 h2,
.box3 h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  margin-left: 0;
  margin-right: 0;
}

/* Small Navigtion bar */

.back_to_main_menu {
  font-size: 0.9rem;
  border-top: 1px solid #2e6b2e;
  border-bottom: 1px solid #2e6b2e;
  margin: 0.5rem 0;
  padding: 0.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back_to_main_menu a {
  text-decoration: none;
  color: #2e6b2e;
  font-weight: normal;
}

.issue_label {
  font-weight: bold;
  color: black;
}

/* Thumbnail images of issue on index menus */
.issue-thumbnail {
  float: right;
  margin: 10px;
  border: 1px solid #ccc;
  max-width: 100%;
  box-sizing: border-box;
}

.issue-thumbnail img {
  width: 360px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Issue, date and Download Pdf line beneath main headline */
.issue_date {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  /* border: 1px solid #ccc; */
  border-bottom: 1px solid #2e6b2e;

  padding: 0rem 1rem 0.5rem 0;
  margin: 1rem 0;
  /* background-color: #fdfdfd;
  border-radius: 6px; */
  font-size: 1rem;
  flex-wrap: wrap;
}

.issue_date span {
  font-weight: 600;
  color: #222;
  flex: 1 1 auto;
}

.issue_date .pdf_link {
  color: #8b2e16; /* dark ochre red */
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  flex: 0 1 auto;
}


/* Base styles for all images with captions */
.image_vert, .image_horiz, .image_wide {
  border: 1px solid black;
  margin: 1rem 0 1rem 1rem;
  background-color: white;
  display: inline-block;
  vertical-align: top;
}

.image_vert img,
.image_horiz img,
.image_wide img {
  display: block;
  width: 100%;
  height: auto;
}

/* Captions for all image types */
.image_vert .caption,
.image_horiz .caption,
.image_wide .caption {
  font-size: 0.8rem;
  color: #333;
  background-color: #f9f9f9;
  padding: 0.4rem 0.6rem;
  border-top: 1px solid #ccc;
  line-height: 1.4;
}

/* Portrait image: fixed width on desktop, full width on small screens */
.image_vert {
  width: 400px;
  float: right;
}

/* Landscape image: wider than portrait, also floats right */
.image_horiz {
  width: 550px;
  float: right;
}

/* Full-width image: spans full width, no float */
.image_wide {
  width: 100%;
  float: none;
  margin: 1.5rem 0;
}

/* Responsive behavior */
@media (max-width: 700px) {
  .image_vert,
  .image_horiz {
    float: none;
    width: 100%;
    margin: 1rem 0;
  }
}




@media (max-width: 600px) {
  .issue_date {
    flex-direction: column;
    align-items: flex-start;
  }

  .issue_date .pdf_link {
    margin-top: 0.5rem;
  }
}



@media (max-width: 600px) {
  .issue-thumbnail {
    float: none;
    width: 100%;
    margin: 10px auto;
  }

  .issue-thumbnail img {
    width: 100%;
  }
}


/* Responsive layout for small screens */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .site-description {
    font-size: 1em;
    padding: 10px 5px;
  }
  .content {
    padding: 15px;
  }
}

