@charset "utf-8";

/* CSS Variables for easy updates */
:root {
  --primary-green: #145a32;
  --border-gray: #c8c8c8;
  --border-dark: #bebebe;
  --font-main: 'Open Sans', 'Times New Roman', Arial, Helvetica, sans-serif;
  --font-heading: 'Times New Roman', Times, serif;
  --info-link: #145a32;
  --info-bg: #fff;
  --divider-main: #c8c8c8;
  --divider-block: #145a32;
  --divider-block-2: #145a32;
  --footer-bg: #145a32;
  --footer-text: #fff;
  --max-width-desktop: 600px;
  --max-width-tablet: 900px;
}

/* ===== MOBILE-FIRST DEFAULT STYLES ===== */
body {
  background-color: #fff;
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
}

.desktop,
.tablet {
  max-width: 100%;
  border: none;
  margin: 0;
  background: #fff;
}

main {
  margin: 0 15px 0;
}

.subber {
  color: #145a32;
  font-size: .9rem;
  text-transform: uppercase;
}

.t-row { 
  color: #145a32; 
  font-size: .9rem;
  font-weight: 700;
  margin: 15px 0px 2px 0px;
}

/* =============== THUMBROW MOBILE STYLES (ALL TOGETHER) =============== */

.thumbrow-section {
  background: #fff;
  border-top: .8px solid var(--divider-main);
  border-bottom: .8px solid var(--divider-main);
  margin: 5px 0px 5px;
  padding: 10px 0px 10px;
  display: flex;
  flex-direction: column;
}

/* Section divider for thumbrow: handles all vertical spacing */
.thumbrow-divider {
  border: none;
  border-top: .8px solid var(--divider-main);
  margin: 10px 0; /* controls only vertical space */
  width: 100%;
}

.thumbrow-divider-top {
  border: none;
  border-top: .8px solid var(--divider-main);
  margin: 0px 0px 10px;
}

/* Optional green divider variant */
.thumbrow-divider--green {
  border-top-color: var(--primary-green);
}

/* Thumbrow outer flex container with no extra margin/padding */
.content-block-thumbrow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  flex-direction: row;
}
.content-block-thumbrow:first-child {
  margin-top: 0;
}
.content-block-thumbrow:last-child {
  margin-bottom: 0;
}

/* Clickable card for each thumbrow entry */
.content-block-thumbrow-link {
  background: #fff;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.content-block-thumbrow-link:hover,
.content-block-thumbrow-link:focus {
  background: #f0f9f0;
  box-shadow: 0 2px 8px rgba(20,90,50,0.06);
  outline: none;
}

/* Zero out margins/paddings for inner heading/text */
.content-block-thumbrow-link h2,
.content-block-thumbrow-link p {
  color: inherit;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

/* Force black text for clickable blocks */
.content-block-thumbrow-link,
.content-block-thumbrow-link h2,
.content-block-thumbrow-link p,
.content-block-thumbrow-link .thumbrow-heading {
  color: #000;
  text-decoration: none;
  margin: 0;
  padding: 0;
}
.content-block-thumbrow-link:focus:not(:focus-visible) {
  outline: none;
}

/* Thumbnail (left column) */
.thumbrow-thumb {
  flex: 0 0 100px;
  max-width: 100px;
  max-height: 100px;
  height: 100px;
}
.thumbrow-thumb img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0;
  padding: 0;
  display: block;
}

/* Content/text (right column) */
.thumbrow-content {
  flex: 1;
  font-size: 0.98rem;
  margin: 0;
  padding: 0;
}
.thumbrow-content h2.thumbrow-heading {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: .2em;
  padding-top: 0;
  font-weight: bold;
  line-height: 1.2;
}
.thumbrow-content p {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

/* ============== END THUMBROW MOBILE STYLES ============== */

/* ---- NON-THUMBROW (unchanged) ---- */

.header-bar {
  background-color: var(--primary-green);
  padding: 8px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}
.header-logo .logo-link {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-left: 15px;
  text-decoration: none;
}
.header-logo {
  margin-left: 0;
}
.header-nav {
  margin: 0;
  width: auto;
  text-align: right;
  display: block;
}
.header-nav .nav-link {
  padding: 5px 8px;
  color: #fff;
  border: .6px solid #fff;
  font-size: .7rem;
  font-weight: 700;
  text-decoration: none;
  margin-right: 15px;
}

.link-icon {
  color: #39FF14;
  margin-left: 15px;
}

/* Featured image */
.featured-image-wrapper {
  position: relative;
  text-align: center;
  color: white;
}
.featured-image {
  border-top: 0.6px solid #fff;
  border-bottom: 0.6px solid var(--primary-green);
  border-radius: 0;
  margin-top: 0;
  max-width: 100%;
  vertical-align: top;
}
.featured-caption {
  position: absolute;
  bottom: 0px;
  left: 5px;
  color: #fff;
  font-size: .7rem;
  font-weight: bold;
  background: transparent;
  padding: 2px 5px;
}

/* Headings */
h1 {
  color: #000;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  padding-top: 10px;
}
.subheading {
  display: block;
  color: var(--primary-green);
  font-family: Arial, sans-serif;
  font-size: .85rem;
  font-weight: 700;
  margin-top: 5px;
  text-transform: uppercase;
}
h2, .h2 {
  color: #000;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 0;
  padding-top: 5px;
}
h3 {
  color: var(--primary-green);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 5px 0 0 0;
}

/* Dividers - general */
.divider-main, .divider-sub {
  border: 0.6px solid #145a32;
  opacity: .6;
  border-radius: 5px;
  margin-top: 3px;
  margin-bottom: 0;
  padding: 0;
}
.divider-block {
  border: 0.6px solid var(--divider-block);
  border-radius: 5px;
  margin-top: 5px;
}
.divider-block-2 {
  border: 0.6px solid var(--divider-block-2);
  border-radius: 5px;
  margin-top: 5px;
  opacity: .6;
}
.last-divider-block {
  border: 0.6px solid #c8c8c8;
  border-radius: 5px;
  margin-top: 10px;
}

/* Info box */
.info-container {
  display: flex;
  background-color: var(--info-bg);
  margin-top: 20px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
}
.info-box {
  background-color: var(--info-bg);
  margin: 0 3px 5px 3px;
  padding: 1px 2px 3px 2px;
  font-size: 1rem;
  color: var(--info-link);
  text-align: center;
  border-radius: 5px;
  border: .8px solid var(--border-gray);
  width: 85%;
  box-sizing: border-box;
}

/* More info link */
a.info-link:link,
a.info-link:visited,
a.info-link:hover,
a.info-link:active {
  color: var(--info-link);
  text-decoration: none;
  font-size: .7rem;
  font-weight: 700;
  margin: 0;
  display: inline-block;
}

/* General link styles */
a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}
a:link    { color: #0000ee; }
a:visited { color: #800080; }
a:hover   { color: #551A8B; }
a:active  { color: #0000FF; }

.white-link:link,
.white-link:visited,
.white-link:hover,
.white-link:active {
  color: #fff !important;
  text-decoration: none;
}

/* Lite content block */
.lite-divider {
  border: 0.6px solid #145a32;
  opacity: .6;
  background: #fff;
  border-radius: 5px;
  margin-top: 5px;
  margin-bottom: 0;
}
.lite-divider2 {
  border: 0.6px solid #c8c8c8;
  border-radius: 5px;
  margin-top: 5px;
}
.lite-divider-green {
  border: 0.6px solid #145a32;
  opacity: .6;
  background: #fff;
  border-radius: 5px;
  margin-top: 5px;
  margin-bottom: 0;
}
.lite-block {
  background-color: #fff;
  padding: 0;
  margin-bottom: 0;
  border-radius: 7px;
  max-width: 100%;
  text-align: left;
}
.lite-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px 0;
  padding-top: 8px;
}
.lite-paragraph {
  color: #000;
  font-size: 0.97rem;
  margin-bottom: 5px;
  margin-top: 5px;
  font-family: var(--font-main);
}
.lite-info-link2:link,
.lite-info-link2:visited {
  display: inline-block;
  margin: 5px 0 8px;
  color: #209252;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.lite-info-link:link,
.lite-info-link:visited {
  font-size: 0.7rem;
  font-weight: 700;
  border: .6px solid #145a3299;
  margin: 8px 0 10px 0;
  padding: 3px 10px 2.5px;
  border-radius: 7px;
  text-decoration: none;
  color: #145a32;
  background: #fff;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.lite-info-link3:link,
.lite-info-link3:visited {
  font-size: 0.75rem;
  font-weight: 700;
  border: .6px solid #145a32;
  margin: 5px 0 8px 0;
  padding: 2px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #145a32;
  background: #fff;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-size: 14px;
  padding: 10px;
  text-align: center;
}
.footer-text {
  color: var(--footer-text);
  font-size: 1rem;
}

/* Misc */
ul {
  list-style-type: square;
  margin-left: 0;
  padding-left: 15px;
}

/* Block images and summaries */
.block-image, img, img.a, img.b, img.c {
  border-radius: 4px;
  margin-top: 5px;
  max-width: 100%;
  vertical-align: top;
  height: auto;
}
.block-image-2 {
  border-radius: 4px;
  margin-top: 0;
  max-width: 100%;
  vertical-align: top;
  height: auto;
}
.block-image-3 {
  border-radius: 4px;
  margin-top: 8px;
  margin-bottom: 3px;
  max-width: 100%;
  vertical-align: top;
  height: auto;
}
.block-summary, .page-summary, .p, p {
  color: #000;
  font-size: 0.97rem;
  margin-bottom: 10px;
  margin-top: 10px;
}

/* ===== TABLET STYLES ===== */
@media (min-width: 600px) and (max-width: 899px) {
  .tablet {
    max-width: var(--max-width-tablet);
    margin: auto;
    background: #FFFFFF;
    border-left: 3px solid var(--border-dark);
    border-right: 3px solid var(--border-dark);
  }
  body {
    background-color: var(--primary-green);
    padding: 0;
  }
  
  .info-box {
    padding: 6px 3px 6px 3px;
    width: 85%;
    font-size: 1rem;
  }
  h2, .h2 {
    font-size: 1.4rem;
    padding-top: 0;
  }
}

/* ===== DESKTOP STYLES ===== */
@media (min-width: 900px) {
  .desktop {
    background: #FFFFFF;
    margin: auto;
    max-width: var(--max-width-desktop);
    border-left: 2px solid var(--border-dark);
    border-right: 2px solid var(--border-dark);
  }
  body {
    background-color: rgba(20, 90, 50, 0.7);
    padding: 0;
  }
  main {
    margin: 0 15px 0;
  }
  h1 {
    font-size: 1.5rem;
    padding-top: 10px;
  }
  h2, .h2 {
    font-size: 1.5rem;
    padding-top: 0;
  }
  h3 {
    font-size: 0.8rem;
  }
  .block-image, img, img.a, img.b, img.c {
    max-width: 100%;
    height: auto;
    margin-top: 5px;
  }
  .header-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
  }
  .header-logo {
    margin-left: 0;
  }
  .header-nav {
    margin: 0;
    width: auto;
    text-align: right;
    display: block;
  }
  .header-nav .nav-link {
    margin-right: 15px;
  }
  .info-box {
    padding: 8px 3px 8px 3px;
    width: 85%;
    font-size: 14px;
  }
}

/* ===== END ===== */
