/* Responsive Hosta Lists homepage. Navigation markup remains in its own text include. */
:root {
  --green-950:#173525; --green-900:#214631; --green-800:#2d5a3d;
  --green-700:#3f704e; --green-100:#eaf1e8; --green-050:#f5f8f2;
  --cream:#fbfaf4; --ink:#26332a; --muted:#5c695f; --line:#d9e2d7;
  --link:#245b3b; --shadow:0 8px 24px rgba(28,54,36,.08);
}
* { box-sizing:border-box; }
html { background:var(--cream); scroll-behavior:smooth; }
body { margin:0; padding:0; color:var(--ink); background:var(--cream);
  font:16px/1.6 Arial,Helvetica,sans-serif; }
.site-shell { width:min(100% - 36px,1200px); margin:0 auto; }
.skip-link { position:absolute; left:-9999px; top:8px; z-index:2000; padding:10px 14px;
  color:#fff; background:var(--green-950); border-radius:6px; }
.skip-link:focus { left:12px; }
.main-content {display: flow-root; width:100%; margin:24px auto 40px; padding:clamp(20px,3vw,38px);
  background:#fff; border:1px solid var(--line); border-radius:14px;
  box-shadow:var(--shadow); overflow-wrap:anywhere; }  
.page-intro { margin:0 0 24px; padding:0 0 18px; border-bottom:1px solid var(--line); text-align:center; }
h1 { margin:0 0 8px; color:var(--green-900); font:700 clamp(2rem,4vw,3rem)/1.15 Georgia,"Times New Roman",serif; text-align:center; }
.byline { margin:0; color:var(--muted); font-size:.95rem; text-align:center; }
p { margin:0 0 1.2rem; text-align:left; }
.main-content > p { max-width:1000px; margin:0 auto 28px; color:#3f4b42; font-size:1.02rem; }
h2.main { clear:both; width:100%; margin:28px 0 14px; padding:11px 16px;
  color:var(--green-900); background:var(--green-100); border-left:5px solid var(--green-700);
  border-radius:5px; font-size:clamp(1.15rem,2vw,1.4rem); line-height:1.3; text-align:left; }
h2.main.red,h2.main.maroon { color:var(--green-900); }
.subhead { margin:12px 0 5px; color:var(--green-800); font-size:1rem; font-weight:700; line-height:1.35; }
a { color:var(--link); text-decoration-thickness:1px; text-underline-offset:3px; }
a:visited { color:#526b57; }
a:hover,a:focus-visible { color:#143c26; text-decoration-thickness:2px; }
a:focus-visible { outline:3px solid #9bbd91; outline-offset:3px; border-radius:2px; }

/* Existing homepage tables and their links are retained; the columns become fluid. */
.category-table,.resource-table { width:100% !important; border:0; border-collapse:separate;
  border-spacing:12px 8px; table-layout:auto; }
.category-table tr:not(:has(td[colspan])) td { width:33.333%; padding:15px 16px;
  vertical-align:top; background:var(--green-050); border:1px solid var(--line);
  border-radius:9px; line-height:1.85; }
.category-table tr:has(td[colspan]) td { padding:0; }
.category-table h2.main { margin-top:22px; }
.resource-table { border-spacing:0 12px; }
.resource-table td { display:block; width:100%; padding:18px 20px; background:#f8faf6;
  border:1px solid var(--line); border-radius:9px; line-height:1.8; }
.resource-table h2.main { margin:0 0 10px; padding:0 0 8px; background:transparent;
  border:0; border-bottom:1px solid var(--line); border-radius:0; font-size:1.15rem; }

/* Refreshed styling for the existing separately loaded dropdown navigation. */
ul#nav.drop,ul#nav.drop ul { margin:0; padding:0; list-style:none; background:var(--green-900); }
ul#nav.drop { position:relative; z-index:1000; display:flex; flex-wrap:wrap; width:100%;
  border-radius:10px; box-shadow:var(--shadow); font:600 .88rem Arial,Helvetica,sans-serif; }
ul#nav.drop > li { position:relative; display:flex; flex:1 1 auto; min-width:0; }
ul#nav.drop a,ul#nav.drop a:visited { display:flex; align-items:center; min-height:48px;
  padding:10px 13px; color:#fff; background:transparent; text-decoration:none; line-height:1.3; }
ul#nav.drop > li > a { justify-content:center; width:100%; border-right:1px solid rgba(255,255,255,.14); text-align:center; }
ul#nav.drop > li:last-child > a { border-right:0; }
ul#nav.drop a:hover,ul#nav.drop a:focus-visible,ul#nav.drop li:focus-within > a { color:#fff; background:var(--green-700); }
ul#nav.drop ul { position:absolute; top:100%; left:0; z-index:1100; display:none;
  min-width:220px; max-width:min(320px,90vw); padding:6px; background:var(--green-950);
  border:1px solid rgba(255,255,255,.15); border-radius:0 0 8px 8px; box-shadow:0 12px 24px rgba(0,0,0,.18); }
ul#nav.drop ul li { position:relative; }
ul#nav.drop ul a,ul#nav.drop ul a:visited { min-height:0; padding:9px 11px; border-radius:5px;
  font-size:.88rem; font-weight:400; text-align:left; }
ul#nav.drop li:hover > ul,ul#nav.drop li:focus-within > ul { display:block; }
ul#nav.drop ul ul { top:0; left:100%; border-radius:8px; }
ul#nav.drop .box,ul#nav.drop .box#small,ul#nav.drop .box#small2,
ul#nav.drop .box#themes,ul#nav.drop .box#boxend { width:auto; height:auto; border:0; font-size:inherit; }
ul#nav.drop img { display:block; width:28px; height:auto; }

/* Legacy selectors retained to reduce surprises on other pages sharing this CSS. */
.center,.left,.main,.none { width:100%; }
.ast { color:var(--green-900); }
.red,.maroon { color:var(--green-900); }
#right { float:right; text-align:left; }
div#anchor { position:fixed; right:20px; bottom:20px; z-index:600; padding:6px 12px;
  color:var(--green-950); background:#e7f0e2; border:1px solid var(--green-700);
  border-radius:6px; font-size:.9rem; text-align:center; }
div#anchor a,div#anchor a:visited { color:var(--green-950); text-decoration:none; }

@media (max-width:900px) {
  .site-shell { width:min(100% - 24px,760px); }
  ul#nav.drop > li { flex:1 1 25%; }
  ul#nav.drop > li > a { min-height:44px; }
  .category-table tr:not(:has(td[colspan])) td { padding:12px; }
}
@media (max-width:640px) {
  .site-shell { width:min(100% - 20px,560px); }
  .main-content { margin-top:12px; padding:16px 12px; border-radius:10px; }
  ul#nav.drop { display:block; border-radius:8px; }
  ul#nav.drop > li { display:block; width:100%; }
  ul#nav.drop > li > a { justify-content:flex-start; min-height:44px; padding:10px 14px;
    border-right:0; border-bottom:1px solid rgba(255,255,255,.12); text-align:left; }
  ul#nav.drop ul { position:static; display:none; max-width:none; padding:4px 8px 8px 18px;
    border:0; border-radius:0; box-shadow:none; background:#183a28; }
  ul#nav.drop ul ul { position:static; display:none; padding-left:14px; background:#143321; }
  ul#nav.drop li:hover > ul,ul#nav.drop li:focus-within > ul { display:block; }
  ul#nav.drop ul a { min-height:38px; }
  .category-table,.category-table tbody,.category-table tr,.category-table td { display:block; width:100% !important; }
  .category-table { border-spacing:0; }
  .category-table { background: transparent;  margin-top: 20px;}
  .category-table tr:not(:has(td[colspan])) td { margin:0 0 10px; padding:13px 15px; }
  .category-table tr:has(td[colspan]) td { padding:0; }
  .category-table h2.main { margin-top:18px; }
  .resource-table { border-spacing:0 10px; }
  .resource-table td { padding:14px; }
  .main-content .resource-table {
  display: table;
  position: static;
  float: none;
  margin-left: 0;
  margin-right: 0;
}
  .main-content > p { font-size:.98rem; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
/* Hosta Lists expandable contact form */
.hostalist-contact {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin: 32px 0 24px;
  padding: 24px;
  border: 1px solid #d5dfd0;
  border-radius: 14px;
  background: #eef2e9;
  color: #263b2c;
}
.hostalist-contact-copy { flex: 1 1 300px; }
.hostalist-contact-copy h2 {
  margin: 0 0 6px;
  color: #294a34;
  font-size: 1.35rem;
}
.hostalist-contact-copy p { margin: 0; }
.hostalist-contact-action {
  position: relative;
  flex: 0 1 360px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 650px) {
  .hostalist-contact {
    flex-direction: column;
    padding: 19px;
  }

  .hostalist-contact-action {
    width: 100%;
    min-width: 0;
  }
}
.hostalist-contact-toggle,
.hostalist-contact-form button {
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: #315b3d;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.hostalist-contact-toggle:hover,
.hostalist-contact-form button:hover { background: #24452e; }
.hostalist-contact-form {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  z-index: 1000;

  display: grid;
  gap: 7px;
  width: min(360px, calc(100vw - 40px));
  max-height: 70vh;
  overflow-y: auto;
  box-sizing: border-box;

  margin: 0;
  padding: 17px;
  border: 1px solid #d5dfd0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}
.hostalist-contact-form[hidden] { display: none !important; }
.hostalist-contact-form label { font-weight: 650; font-size: .92rem; }
.hostalist-contact-form input,
.hostalist-contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #bdcbbb;
  border-radius: 6px;
  background: #fff;
  color: #263b2c;
  font: inherit;
}
.hostalist-contact-form textarea { resize: vertical; }
.hostalist-contact-form button { justify-self: start; margin-top: 6px; }
.hostalist-contact-feedback { margin: 10px 0 0; font-size: .92rem; }
.hostalist-contact-feedback.success { color: #285b36; }
.hostalist-contact-feedback.error { color: #9b2e24; }
.hostalist-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 650px) {
  .hostalist-contact { flex-direction: column; padding: 19px; }
.hostalist-contact-action {
  position: relative;
  flex: 0 1 360px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
}

/* Modern category layout */

.category-list {
    width: 100%;
}

.category-section {
    margin: 0 0 28px;
}

.category-section > h2 {
    margin: 0 0 14px;
}

.category-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px 30px;
}

.category-grid.three-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-grid.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-group {
    min-width: 0;
}

.category-group .subhead {
    margin: 0 0 7px;
}

.category-group .subhead:not(:first-child) {
    margin-top: 20px;
}

.category-group a {
    display: block;
    margin: 0 0 4px;
}

@media (max-width: 800px) {
    .category-grid.three-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .category-grid.three-columns,
    .category-grid.two-columns {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Soft green background behind category columns */

.category-group {
    background: #e8f0e4;
    padding: 14px 16px;
    border-radius: 4px;
    min-width: 0;
}
/* Resource and search instructions */

.resource-list {
    width: 95%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.resource-group {
    background: #e8f0e4;
    padding: 14px 16px;
    border-radius: 4px;
    min-width: 0;
}

.resource-group h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.resource-group p {
    margin: 0 0 8px;
}
.resource-group {
    background: #e8f0e4;
    padding: 14px 16px;
    border-radius: 4px;
    width: auto;
    box-sizing: border-box;
}

.resource-group p {
    background: transparent;
}
/* Reusable content layouts for new Hosta Lists pages */

.content-section {
  width: 100%;
  margin: 38px 0;
}

.content-heading {
  margin: 0 0 14px;
  padding: 11px 16px;
  color: var(--green-900);
  background: var(--green-100);
  border-left: 5px solid var(--green-700);
  border-radius: 5px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.3;
  text-align: left;
}

.content-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.content-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.content-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.content-grid + .content-grid {
  margin-top: 30px;
}
.content-column {
  min-width: 0;
  padding: 15px 16px;
  background: var(--green-050);
  border: 1px solid var(--line);
  border-radius: 9px;
  line-height: 1.8;
}

.content-column h3 {
  margin: 0 0 7px;
  color: var(--green-800);
  font-size: 1rem;
  line-height: 1.35;
}

.content-column p:last-child {
  margin-bottom: 0;
}
@media(max-width:760px) {
  .content-grid--3,
  .content-grid--4 {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 560px) {
  .content-grid--2,
  .content-grid--3,
  .content-grid--4 {
    grid-template-columns: 1fr;
  }

  .content-column {
    padding: 13px 15px;
  }
}
/* Miniature Hostas registered-list table */
.page-description {
  max-width: 1000px;
  margin: 0 auto 28px;
}

.table-scroll {
  width: 100%;
  margin: 18px 0 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.miniature-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  font-size: .94rem;
  line-height: 1.45;
}

.miniature-table th,
.miniature-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.miniature-table thead th {
  color: var(--green-900);
  background: var(--green-100);
  font-weight: 700;
  text-align: center;
}

.miniature-table tbody tr:nth-child(even) {
  background: var(--green-050);
}

.miniature-table tbody tr:last-child td {
  border-bottom: 0;
}

.miniature-table td:nth-child(3),
.miniature-table td:nth-child(4) {
  white-space: nowrap;
}

.footnotes {
  max-width: 1000px;
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .94rem;
}

.footnotes p {
  margin: 0 0 12px;
}

@media (max-width: 640px) {
  .page-description { margin-bottom: 22px; }
  .miniature-table { font-size: .9rem; }
  .miniature-table th,
  .miniature-table td { padding: 8px 10px; }
}
/* Apomictic Hostas article */
.article-content {
  max-width: 980px;
  margin: 0 auto;
  line-height: 1.7;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content blockquote {
  margin: 22px 0;
  padding: 16px 22px;
  background: var(--green-100);
  border-left: 4px solid var(--green-700);
  border-radius: 5px;
  line-height: 1.65;
  text-align: left;
}
/* Chemically-induced polyploid sports page */
.polyploid-intro p {
  margin: 0 0 16px;
}

.polyploid-group {
  margin-top: 26px;
}

.polyploid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 30px;
  margin: 0;
  padding: 0 0 0 24px;
  line-height: 1.5;
}

.polyploid-list li {
  padding-left: 3px;
}

.polyploid-footnote {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.94em;
  line-height: 1.6;
}

.polyploid-footnote p {
  margin: 0;
}

@media (max-width: 640px) {
  .polyploid-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
/* Flow cytometry list page */
.flow-cytometry-intro h2 {
  margin: 0 0 16px;
  color: var(--green-900);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  text-align: center;
}

.flow-cytometry-intro p {
  margin: 0 0 16px;
}

.flow-cytometry-list {
  margin-top: 26px;
}

.flow-cytometry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.flow-cytometry-column {
  min-width: 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.flow-cytometry-column br + br {
  display: block;
  content: "";
  margin-top: 8px;
}

.flow-cytometry-related {
  margin-top: 24px;
}

.flow-cytometry-notes {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.flow-cytometry-notes p {
  margin: 0 0 16px;
}

.flow-cytometry-notes h5 {
  margin: 28px 0 14px;
  color: var(--green-900);
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .flow-cytometry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .flow-cytometry-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.convention-entry {
    display: grid;
    grid-template-columns: 3.5em minmax(0, 1fr);
    margin-bottom: 2px;
}

.hosta-list-key {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-bottom: 12px;
}

.hosta-entry {
    padding: 7px 0;
    border-bottom: 1px solid #d8e0d5;
}

.hosta-entry-name {
    font-weight: 600;
    margin-bottom: 3px;
}

.hosta-entry-details {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 12px;
    font-size: 0.94em;
}
.section-jump-links {
    padding-left: 2.5em;
}