/* default fallback if no one overrides it */
:root {
  --main-color: #333333;
}

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&display=swap');

body {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    color: #000;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    color: #278496;
}

a:visited {
    color: #278496;
}

a:hover {
    color: #1f6b7a;
}

/* anywhere you want the “main” color: */
h1.dashboard-title {
  color: var(--main-color);
}


h1 {
  font-size: 40px;
  margin-top: 0rem;
  font-weight: bold;
}

h2 {
  margin-top: 0rem;
}

a {
  color: #fb663c;
  text-decoration: none;
}

p{
  font-size: 16px;
}

.full-bleed {
  position: relative;
  left: 50%;
  width: 100vw;               /* full viewport width */
  margin-left: -50vw;         /* shift back into place */
  /* min-height: 100vh; */    /* uncomment if you want full viewport height */
  /*padding: 40px 0;             vertical padding only */
  overflow-x: hidden;         /* prevent horizontal scrollbars */
}

.content-container {
  max-width: 400rem;       /* or whatever your ideal page width is */
  margin-left: auto;
  margin-right: auto;
  padding-left: 5rem;   /* match your usual gutter */
  padding-right: 5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.section-accent {
  border-left: 4px solid var(--main-color);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  background-color: #fafafa;    /* optional very light tint */
  border-radius: 0.25rem;
}

/* stack all .grid children at <768px */
@media (max-width: 767px) {
  .grid {
    /* force a single-column grid on mobile */
    grid-template-columns: 1fr !important;
  }
  
  .content-container {
    padding-left: 1rem;   /* match your usual gutter */
    padding-right: 1rem;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  overflow: auto;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 80%;     /* limit how wide it gets */
  max-height: 90vh;     /* avoid overflow on tall screens */
  overflow: auto;       /* enable scroll if content is too tall */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}



.btn-custom {
  background-color: #799420 !important;
  color: white !important;
  border: none !important;
    font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 5px; !important
  width: 100%;
  border-color: #ffffff;
  display: flex; 
  justify-content: space-around;
}

.btn-custom:hover {
  background-color: #4C5D14 !important;
  color: white !important;
}

/* Custom TOC button styling */
.btn-toc {
  background-color: #000 !important;
  color: #ffffff !important;
  border-color: #000 !important;
}

.btn-toc:hover,
.btn-toc:focus {
  background-color: #fb663c !important;
  color: #ffffff !important;
  border-color: #fb663c !important;
}

.callout-box {
        background-color: #f5f5f5;
        border-radius: 10px;
        border: 2px solid #799420;
        padding: 20px;
        display: flex;
        align-items: center;
        margin: 20px 0;
      }
      .callout-left {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-right: 20px;
      }
      .callout-divider {
        width: 2px;
        background-color: #ccc;
        margin-right: 20px;
        align-self: stretch;
      }
      .callout-right {
        flex: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; /* This will left-align content */
      }
      .callout-text {
        font-size: 16px;
        margin-bottom: 10px;
      }
      .btn-custom {
        background-color: #799420;!important
        color: white;
        border: none;
      }
      .btn-custom:hover {
        background-color: #4C5D14;
        color: white;
      }
    

/* Base value‐box styles */
.custom-value-box,
.custom-value-box-el-green,
.custom-value-box-el-orange,
.custom-value-box-lo-blue,
.custom-value-box-lo-orange {
  color: white !important;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-value-box .left-section,
.custom-value-box-el-green .left-section,
.custom-value-box-el-orange .left-section,
.custom-value-box-lo-blue .left-section,
.custom-value-box-lo-orange .left-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-value-box .number,
.custom-value-box-el-green .number,
.custom-value-box-el-orange .number,
.custom-value-box-lo-blue .number,
.custom-value-box-lo-orange .number {
  font-size: 40px;
  font-weight: bold;
}

.custom-value-box .subtitle,
.custom-value-box-el-green .subtitle,
.custom-value-box-el-orange .subtitle,
.custom-value-box-lo-blue.subtitle,
.custom-value-box-lo-orange .subtitle {
  font-size: 14px;
}

.custom-value-box .title,
.custom-value-box-el-green .title,
.custom-value-box-el-orange .title,
.custom-value-box-lo-blue .title, 
.custom-value-box-lo-orange .title {
  font-size: 12px;
  font-style: italic;
}

.custom-value-box .icon,
.custom-value-box-el-green .icon,
.custom-value-box-el-orange .icon,
.custom-value-box-lo-blue .icon,
.custom-value-box-lo-orange .icon {
  width: 60px;
  height: 60px;
}

/* Color overrides */
.custom-value-box {
  background-color: #6EB203 !important;
}

.custom-value-box-el-green {
  background-color: #799420 !important;
}

.custom-value-box-el-orange {
  background-color: #FD6B09 !important;
}

.custom-value-box-lo-blue {
  background-color: #1B2446 !important;
}

.custom-value-box-lo-orange {
  background-color: #E49140 !important;
}


@media (max-width: 576px) {
  .toc-buttons {
    gap: 1rem;        /* even bigger gap when things wrap a lot */
  }
  .toc-buttons .btn-toc {
    flex: 1 1 100%;  /* each button takes its own full line */
  }
}



.community-toggle-container {
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 2rem;
}

.toggle-wrapper {
  text-align: center;
}


.full-bleed {
  position: relative;
  left: 50%;
  width: 100vw;               /* full viewport width */
  margin-left: -50vw;         /* shift back into place */
  /* min-height: 100vh; */    /* uncomment if you want full viewport height */
  /*padding: 40px 0;             vertical padding only */
  overflow-x: hidden;         /* prevent horizontal scrollbars */
}

.content-container {
  max-width: 400rem;       /* or whatever your ideal page width is */
  margin-left: auto;
  margin-right: auto;
  padding-left: 5rem;   /* match your usual gutter */
  padding-right: 5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.section-accent {
  border-left: 4px solid var(--main-color);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  background-color: #fafafa;    /* optional very light tint */
  border-radius: 0.25rem;
}

/* stack all .grid children at <768px */
@media (max-width: 767px) {
  .grid {
    /* force a single-column grid on mobile */
    grid-template-columns: 1fr !important;
  }
  
  .content-container {
    padding-left: 1rem;   /* match your usual gutter */
    padding-right: 1rem;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  overflow: auto;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 80%;     /* limit how wide it gets */
  max-height: 90vh;     /* avoid overflow on tall screens */
  overflow: auto;       /* enable scroll if content is too tall */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}



.btn-custom {
  background-color: #799420 !important;
  color: white !important;
  border: none !important;
    font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 5px; !important
  width: 100%;
  border-color: #ffffff;
  display: flex; 
  justify-content: space-around;
}

.btn-custom:hover {
  background-color: #4C5D14 !important;
  color: white !important;
}

/* Custom TOC button styling */


.callout-box {
        background-color: #f5f5f5;
        border-radius: 10px;
        border: 2px solid #799420;
        padding: 20px;
        display: flex;
        align-items: center;
        margin: 20px 0;
      }
      .callout-left {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-right: 20px;
      }
      .callout-divider {
        width: 2px;
        background-color: #ccc;
        margin-right: 20px;
        align-self: stretch;
      }
      .callout-right {
        flex: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; /* This will left-align content */
      }
      .callout-text {
        font-size: 16px;
        margin-bottom: 10px;
      }
      .btn-custom {
        background-color: #799420;!important
        color: white;
        border: none;
      }
      .btn-custom:hover {
        background-color: #4C5D14;
        color: white;
      }
    

/* Base value‐box styles */
.custom-value-box,
.custom-value-box-el-green,
.custom-value-box-el-orange {
  color: white !important;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-value-box .left-section,
.custom-value-box-el-green .left-section,
.custom-value-box-el-orange .left-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-value-box .number,
.custom-value-box-el-green .number,
.custom-value-box-el-orange .number {
  font-size: 40px;
  font-weight: bold;
}

.custom-value-box .subtitle,
.custom-value-box-el-green .subtitle,
.custom-value-box-el-orange .subtitle {
  font-size: 14px;
}

.custom-value-box .title,
.custom-value-box-el-green .title,
.custom-value-box-el-orange .title {
  font-size: 12px;
  font-style: italic;
}

.custom-value-box .icon,
.custom-value-box-el-green .icon,
.custom-value-box-el-orange .icon {
  width: 60px;
  height: 60px;
}

/* Color overrides */
.custom-value-box {
  background-color: #6EB203 !important;
}

.custom-value-box-el-green {
  background-color: #799420 !important;
}

.custom-value-box-el-orange {
  background-color: #FD6B09 !important;
}


@media (max-width: 576px) {
  .toc-buttons {
    gap: 1rem;        /* even bigger gap when things wrap a lot */
  }
  .toc-buttons .btn-toc {
    flex: 1 1 100%;  /* each button takes its own full line */
  }
}



.community-toggle-container {
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 2rem;
  background: white;
  transition: all 0.3s ease;
}

.community-toggle-container.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 0;
}

.toggle-wrapper {
  text-align: center;
}

.btn-community-toggle {
  background: linear-gradient(135deg, #075099 0%, #075099 50%, #77bb87 50%, #77bb87 100%) !important;
  border: none !important;
  color: white !important;
  padding: 12px 24px;
  border-radius: 5px !important;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-community-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.toggle-arrow {
  margin-left: 8px;
  font-size: 14px;
}

.chart-container {
  transition: opacity 0.3s ease-in-out;
}