#split-intro {
  display: flex;
  justify-content: space-between;
}

#split-intro-left, #split-intro-right {
  width: 45%;
}

.tab-container {
width: 100%;
max-width: 900px;
margin: 2rem auto;
font-family: sans-serif;
}

.tab-buttons {
display: flex;
border-bottom: 2px solid #ccc;
}

.tab-button {
flex: 1;
padding: 0.75rem;
text-align: center;
cursor: pointer;
background-color: #f5f5f5;
border: none;
border-bottom: 2px solid transparent;
font-weight: bold;
transition: background 0.3s, border-bottom 0.3s;
}

.tab-button.active {
background-color: #ffffff;
border-bottom: 2px solid #0077cc;
color: #0077cc;
}

.format-instruction {
  background-color: #fdf8e4;
  border-left: 5px solid #e0a800;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 1.1rem;
  color: #333;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.format-instruction strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 700;
  color: #8a6d3b;
}

.card {
	padding: 10px;
	border-radius: 10px;
	box-shadow: 2px 2px 5px black;
}

#tabbed-content {
	padding: 20px;
}

.infographic {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.infographic h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #3a7f55;
}

.infographic details {
  margin-bottom: 1.5rem;
  border: 1px solid #dce8e1;
  border-radius: 8px;
  padding: 0.8rem;
  background: #f4fdf7;
}

.infographic summary {
  font-size: 1.2rem;
  font-weight: bold;
  color: #265c36;
  cursor: pointer;
}

.infographic summary::-webkit-details-marker {
  display: none;
}

.infographic summary::before {
  content: "▶ ";
  color: #3a7f55;
  font-weight: bold;
}

.infographic details[open] summary::before {
  content: "▼ ";
}

.order {
  margin-left: 1rem;
  margin-top: 0.8rem;
}

.order h4 {
  font-size: 1.1rem;
  color: #3d7a54;
  margin-bottom: 0.3rem;
}

.species-list {
  list-style: none;
  padding-left: 1.2rem;
}

.species-list li::before {
  content: "🐾";
  margin-right: 0.5rem;
}

.blog-summary {
  padding: 1rem 0;
  padding-left: 1rem;
}

.blog-summary-title {
  font-size: 1.75rem;
  font-weight: bold;
  margin: 0.25rem;
}

.blog-summary-subtitle {
  font-size: 1.1rem;
  color: #666;
  padding-left: 2rem;
}



html {
	scroll-behavior: smooth;
}

.navbar-nav {
	flex-wrap: wrap;
}

h1 {
	font-weight: bold;
	margin: 0.5em 0;
	text-align: center;
}

h2 {
	margin: 24px 0;
}

h3 {
	margin: 16px 0;
}

h1, h2, h3 {
	font-family: Playfair Display, serif
}

h1 small {
    font-size: 0.6em;
    font-weight: normal;
    color: gray;
    display: block;
    margin-top: 0.2em;
    font-style: italic;
}


/*main content.....................................*/

body {
	background-color: #FAFAFA;
}

main {
	display: flex;
	margin: 20px;
	justify-content: space-between;
	flex-wrap: wrap;
}

#content {
	display: flex;
	flex-direction: column;
	flex-grow: 4;
	min-width: 300px;
	align-items:center;
	padding: 10px;
	flex-wrap: wrap;

}

#recentPosts {
	display: flex;
	flex-direction: column;
	max-width: 350px;
	flex-grow: 1;
	align-items: center;
	margin: 0;
	padding: 5px;
	flex-wrap: wrap;
	border-left: solid black 1px;
}

.mainParagraphDiv {
	width: 90%;
	max-width: 800px;
	align-items: center;
	margin-bottom: 20px;
}

.recPostDiv {
	max-width: 200px;
	margin-bottom: 40px;
	border-bottom: dotted black 1px;
}

.recPostDiv a {
	text-decoration: none;
	color: black;
}

#content p {
	line-height: 1.8;
	font-family: Roboto, sans-serif;
	letter-spacing:0.2px;
	color: #333;
}

#content {
  margin: 0 auto;
  padding: 0 1rem;
}

#content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.25rem;
}

figure {
	display: table;
}

figcaption {
	background-color: rgb(240,240,240);
	padding: 5px;
	border-radius: 5px;
	display: table-caption;
	caption-side: bottom;
}

blockquote {
  font-style: italic;
  margin: 1.5em auto;
  padding: 1em 1.5em;
  border-left: 4px solid #557755;
  background-color: #f7f7f2;
  color: #333;
  max-width: 800px;
  line-height: 1.6;
}

blockquote cite {
  display: block;
  text-align: right;
  margin-top: 0.5em;
  font-style: normal;
  color: #666;
  font-size: 0.95em;
}

ul, ol {
  padding-left: 1.5em; /* Indent */
  margin-top: 1em;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.75em;
  line-height: 1.6;
}

table {
  width: 100%;            /* full‑width table */
  border-collapse: collapse;   /* merge borders */
}

th, td {
  border: 1px solid #ddd; /* light box around every cell */
  padding: 8px;           /* breathing room */
  text-align: left;       /* easy reading */
}

thead th {
  background: #f7f7f7;    /* subtle header contrast (optional) */
}


/*All Photos........................................*/
.mainPhotoDiv {
	display: flex;
	justify-content: center;
  width:750px;
}

.mainPhoto {
	width:750px;
	border-radius: 5px;
	box-shadow: 2px 2px 5px black;
	margin: 20px 0 20px 0;
}

.recPostImg {
	max-width: 350px;
	margin:0;
}

.smallerPhotoDiv {
	float: right;
	width: 350px;
	margin-left: 20px;
}

.smallerPhotoDivLeft {
	float: left;
	width: 350px;
	margin-right: 20px;
}

.smallerPhoto {
	width: 350px;
	border-radius: 5px;
	box-shadow: 2px 2px 5px black;
}

.smallestPhotoDiv {
	float: right;
	width: 200px;
	margin: 0 10px;
}

.smallestPhotoDivLeft {
	float: left;
	width: 200px;
	margin-right: 20px;
}

.smallestPhoto {
	width: 200px;
	border-radius: 5px;
	box-shadow: 2px 2px 5px black;
}

.chevronright {
	width: 20px;
	height: 20px;
	border: solid black 1px;
	border-radius: 5px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	list-style-type: none;
	transition-duration: .5s;
}

.chevronright:hover {
	background-color: lightgrey;
}

.rotated {
	transform: rotate(90deg);
	background-color: yellow;
}

.btn:focus {
  box-shadow: none;
}

.internal-reference {
  background-color: #f2f8f4;
  border-left: 4px solid #557755;
  padding: 1em 1.25em;
  margin: 2em 0;
  font-size: 1.05em;
  line-height: 1.6;
  color: #333;
  border-radius: 4px;
}

.internal-reference a {
  color: #2a5d3f;
  text-decoration: underline;
  font-weight: 500;
}

.internal-reference a:hover {
  color: #1e3e2a;
}

/* Container ..........................................*/
.expander-icon {
  display: inline-block;
  position: relative;
}

/* Remove default disclosure triangle */
.expander-icon summary {
  list-style: none;
  cursor: pointer;
}
.expander-icon summary::-webkit-details-marker { display: none; }
.expander-icon summary::marker { content: ""; }

/* Icon base style */
.icon-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #e5e7eb;
  color: #333;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background 0.2s ease, transform 0.2s ease;
}

/* Default icon = ℹ️ */
.icon-tooltip::before {
  content: "ℹ️";
}

/* Hover effect */
.icon-tooltip:hover {
  background: #d1d5db;
  transform: scale(1.05);
}

/* Tooltip text */
.icon-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.icon-tooltip:hover::after { opacity: 1; }

.expander-icon .body {
  background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 50%, #81d4fa 100%);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 0 8px rgba(129, 212, 250, 0.4);
  color: #111; /* Dark text for high contrast */
  animation: fadeSlideIn 0.3s ease-out;
  max-width: 100%;         /* never exceed parent width */
  box-sizing: border-box;  /* include padding/border in width calculation */
  overflow-wrap: break-word; /* break long words/URLs */
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-instructions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0f9ff; /* soft blue */
  border-left: 4px solid #0284c7; /* blue accent line */
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #03314b;
  line-height: 1.4;
}

.info-instructions .info-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

pre {
	background-color: white;
	display: inline-block;
	padding: 5px;
}


/* Change to X when open */
.expander-icon[open] .icon-tooltip::before {
  content: "✖";
}
.expander-icon[open] .icon-tooltip::after {
  content: "Click to close";
}


aside {
  border-left: solid lightgrey 5px;
  padding-left: 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

/* ===== Infographic TOC ===== */
:root {
  --toc-bg: #f8fafc;          /* very light gray background */
  --toc-card: #ffffff;        /* pure white cards */
  --toc-accent: #3ba272;      /* green accent line/dots */
  --toc-line: linear-gradient(180deg, #3ba272, #6dd5a7); /* soft green gradient */
  --toc-text: #1e293b;        /* slate-900 text */
  --toc-muted: #64748b;       /* slate-500 muted */
  --toc-focus: #f59e0b;       /* amber-500 focus ring */
  --toc-card-hover: #f1f5f9;  /* slate-100 for hover */
  --toc-active: #eaf8f1;      /* very light mint for active */
}

.toc-infographic {
  background: var(--toc-bg);
  color: var(--toc-text);
  border-radius: 14px;
  padding: 1.25rem 1rem 1.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  max-width: 760px;
  /* Make sticky if desired (uncomment next two lines) */
  /* position: sticky; 
     top: 1rem; */
}

.toc-title {
  margin: 0 0 .75rem 0;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--toc-muted);
}

/* List layout */
.toc-list {
  list-style: none;
  margin: 0;
  padding: .25rem 0 .25rem 2.25rem; /* space for the vertical line */
  counter-reset: toc;
  position: relative;
}

/* Vertical connector line */
.toc-list::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: .25rem;
  bottom: .25rem;
  width: 4px;
  background: var(--toc-line);
  border-radius: 999px;
  opacity: .9;
}

/* Each item card */
.toc-list > li {
  position: relative;
  margin: .35rem 0;
  background: var(--toc-card);
  border-radius: 12px;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

/* Numbered dot */
.toc-list > li::before {
  counter-increment: toc;
  content: counter(toc);
  position: absolute;
  left: -2.05rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.9rem;
  height: 1.9rem;
  background: #ffffff;
  color: var(--toc-accent);
  border: 3px solid var(--toc-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 0 0 3px rgba(59,162,114,.15);
}

/* Link row */
.toc-list a {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  align-items: center;
  gap: .6rem;
  padding: .75rem .9rem;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  outline: none;
}

/* Icon bubble */
.toc-list .icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 10px;
  background: rgba(59,162,114,.1);
  font-size: 1.05rem;
}

/* Label text */
.toc-list .label {
  line-height: 1.25;
  font-size: .98rem;
}

/* Hover / focus states */
.toc-list > li:hover,
.toc-list > li:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  background: var(--toc-card-hover);
}

.toc-list a:focus-visible {
  box-shadow: 0 0 0 3px var(--toc-focus);
  background: #fff8eb; /* pale amber */
  color: var(--toc-text);
}

/* Current section highlight (optional use with JS/IntersectionObserver) */
.toc-list > li.is-active {
  background: var(--toc-active);
}

.toc-list > li.is-active::before {
  border-color: var(--toc-accent);
  background: #ffffff;
  color: var(--toc-accent);
}

/* Responsive: stack into two columns on small screens */
@media (max-width: 720px) {
  .toc-list {
    padding-left: 0;
  }
  .toc-list::before {
    display: none;
  }
  .toc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
  }
  .toc-list > li::before {
    display: none;
  }
  .toc-list a {
    grid-template-columns: 1.4rem 1fr;
    padding: .7rem .75rem;
  }
}

/* Very small screens: single column */
@media (max-width: 420px) {
  .toc-list {
    grid-template-columns: 1fr;
  }
}
/*.....................................................*/

figure.maps {
  width: 100%;
  text-align: center;
}

figure.maps iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

figure.maps figcaption {
  font-size: 0.9rem;
  color: #555;
}

/*.....................................................................*/

.chevronbutton{
  text-align: left;
  margin:20px 0;
}


/*Media queries................................................*/
@media (max-width: 1070px) {
	main {
		margin: 0;	
	}
	.mainParagraphDiv {
		width: 95%;
	}

	#content {
		padding: 0;
	}
}


/*Medium screens*/
@media (max-width: 768px) {
	.mainPhoto {
		width:465px;
	}
  #split-intro-left {
    width: 100%;
  }
  #split-intro-right {
    display: none;
  }
}

@media (min-width: 768px) {
  .collapse.dont-collapse-sm {
    display: block;
    height: auto !important;
    visibility: visible;
  }
}

@media (max-width: 465px){
	.mainPhoto {
		width:375px;
	}
  .mainPhotoDiv {
    width: 100%;
  }
}

@media (hover: none) {
  a:hover {
    background-color: transparent;
  }
}

