.header .navbar-brand,
.header .brand-logo {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    display: block;
}

.header .brand-logo img,
.header .navbar-brand img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0;
}

.header.container-header {
    padding: 0 !important;
}


/* Main menu styling - horizontal, styled to match old site */
#mod-menu1,
.top-a .mod-menu,
ul.mod-menu.mod-list.nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
    background-color: #f5f9fa !important;
}

#mod-menu1 > li,
.top-a .nav-item {
    display: inline-block !important;
}

#mod-menu1 > li > a,
.top-a .nav-item > a {
    display: block !important;
    padding: 14px 18px !important;
    font-family: 'Open Sans', Arial, 'Arial Unicode MS', Helvetica, sans-serif !important;
    font-size: 15px !important;
    color: #284F76 !important;
    text-decoration: none !important;
}

#mod-menu1 > li > a:hover,
#mod-menu1 > li.active > a,
#mod-menu1 > li.current > a {
    color: #4D9C9A !important;
}


/* Refined menu styling */
.top-a .mod-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.top-a .nav-item > a {
    display: block;
    padding: 16px 20px;
    font-family: 'Inter', 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--headercolor, #284F76);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

/* Animated underline on hover/active */
.top-a .nav-item > a::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 10px;
    height: 2px;
    background-color: var(--link-color, #4D9C9A);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.top-a .nav-item > a:hover::after,
.top-a .nav-item.active > a::after,
.top-a .nav-item.current > a::after {
    transform: scaleX(1);
}

.top-a .nav-item > a:hover,
.top-a .nav-item.active > a,
.top-a .nav-item.current > a {
    color: var(--link-color, #4D9C9A);
}

.top-a .card {
    border: none;
    background: transparent;
    box-shadow: none;
}

.top-a .card-body {
    padding: 0;
}

/* Subtle separator under the whole nav bar */
.container-top-a {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Mobile: clean vertical stack */
@media only screen and (max-width: 767px) {
    .top-a .mod-menu {
        flex-direction: column;
        gap: 0;
    }
    .top-a .nav-item > a {
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        padding: 14px;
    }
    .top-a .nav-item > a::after {
        display: none;
    }
}

.container-top-a {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--headerbg, #f5f9fa);
}

/*  Where we work page css */


        
        h1 {
            color: #2c3e50;
            border-bottom: 2px solid #3498db;
            padding-bottom: 10px;
        }
        
        h2 {
            color: #2980b9;
            margin-top: 30px;
            padding-bottom: 5px;
        }
        
        h3 {
            color: #2c3e50;
            margin-top: 25px;
        }
        
        .page-break {
            page-break-before: always;
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px dashed #ccc;
        }
        
        .highlight-box {
            background-color: #f8f9fa;
            border-left: 4px solid #3498db;
            padding: 15px;
            margin: 20px 0;
        }
        
        .stats {
            font-weight: bold;
            color: #e74c3c;
        }
        
        .objective {
            margin-left: 20px;
            margin-bottom: 10px;
        }
        
        .location-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }
        
        .location-item {
            background-color: #f5f5f5;
            padding: 15px;
            border-radius: 5px;
        }
        
        .financial-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        
        .financial-table th, .financial-table td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }
        
        .financial-table th {
            background-color: #f2f2f2;
            font-weight: bold;
        }
        
        .financial-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        
        .url {
            color: #3498db;
            font-weight: bold;
            margin-bottom: 20px;
        }
        
        .quote {
            font-style: italic;
            border-left: 3px solid #3498db;
            padding-left: 15px;
            margin: 20px 0;
            color: #555;
        }
        
        .committee-list, .volunteer-list {
            margin-left: 20px;
        }
        
        .footer {
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid #ddd;
            font-size: 0.9em;
            color: #777;
        }
        
        @media print {
            .page-break {
                page-break-before: always;
            }
        }
/* Footer */
footer.container-footer .grid-child {
    justify-content: center !important;
}

footer.container-footer .sledt-footer {
    text-align: center !important;
    font-family: 'Open Sans', Arial, sans-serif !important;
    font-size: 10pt !important;
    width: 100%;
}

footer.container-footer .sledt-footer p {
    margin: 4px 0 !important;
}

footer.container-footer .sledt-footer a {
    text-decoration: underline !important;
}
footer.container-footer .grid-child {
    padding: .5rem .5em !important;
}
/* Medium-style typography: Charter serif body, Inter sans-serif UI/headings */
.com-content-article__body {
    font-family: Charter, Georgia, 'Times New Roman', serif;
    font-size: 19px;
    line-height: 1.7;
    color: #292929;
}
 
.com-content-article__body p {
    margin-bottom: 1.3em;
}
 
.com-content-article__body h1,
.com-content-article__body h2,
.com-content-article__body h3,
.com-content-article__body h4 {
    font-family: 'Inter', 'Open Sans', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}
 
/* Keep nav, buttons, metadata on Inter for a clean UI contrast against the serif body */

.sledt-sidebar-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
 
.sledt-sidebar-cta a,
.sledt-sidebar-cta button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff;
    font-family: 'Inter', 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    padding: 16px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
 
.sledt-sidebar-cta a:hover,
.sledt-sidebar-cta button:hover {
    transform: translateY(-2px);
}
 
.btn_donate { background-color: #e60000; }
.btn_donate:hover { background-color: #ff4d4d; }
 
.btn_carbon { background-color: #2dc85c; }
.btn_carbon:hover { background-color: #24a34a; }
 
.btn_empower { background-color: #ffcc00; color: #1a1a1a !important; }
.btn_empower:hover { background-color: #e6b800; }
 
.btn_newsletter { background-color: #0099ff; }
.btn_newsletter:hover { background-color: #007acc; }

/* Sponsor Logos */

sledt-partner-logos {
    text-align: center;
    padding-top: 10px;
}
 
.sledt-partner-logos a {
    display: block;
    margin: 15px auto;
}
 
.sledt-partner-logos img {
    max-width: 100%;
    height: auto;
}

/* Floating Socials */



.icon-bar_ {
  position: fixed;
  top: 65%;
  right: 3%; /* Align to the right side */
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.icon-bar_ a {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 25px !important;
  color: white !important; /* Ensure the icon font color is white */
    transition: all 0.3s ease;
    animation: innerGlow 2s infinite;
}


.icon-bar_ a:hover {
  background-color: #000;
}

.facebook_ {
  background: #3B5998;
  color: white;
}

.twitter_ {
  background: #55ACEE;
  color: white;
}

.google_ {
  background: #dd4b39;
  color: white;
}

.linkedin_ {
  background: #007bb5;
  color: white;
}

.youtube_ {
  background: #bb0000;
  color: white;
}

/* New CSS for inner glow animation */
        @keyframes innerGlow {
            0%, 100% {
                box-shadow: inset 0 0 10px 2px rgba(255, 255, 255, 0);
            }
            50% {
                box-shadow: inset 0 0 10px 2px rgba(255, 255, 255, 0.8);
            }
        }

/* Newsletter Modal */

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  .modal-box {
    background: #fff;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
  }

  .modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
  }

  .modal-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
  }

  .modal-form {
    display: flex;
    flex-direction: column;
  }

  .modal-form label {
    margin-top: 10px;
    font-weight: bold;
  }

  .modal-form input {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
  }

  .modal-submit {
    margin-top: 20px;
    padding: 12px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
  }

  .modal-submit:hover {
    background-color: #005bb5;
  }

  .required {
    color: red;
  }

  .hidden {
    display: none;
  }

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