
.TextBlock a {
color: white;
}
  /* Form Styles */
.form-container .hs-form input:hover,
.form-container .hs-form textarea:hover,
.form-container .hs-form select:hover {
  border: 2px solid #007bff; /* Blue border on hover */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Subtle blue glow */
  transition: all 0.2s ease-in-out; /* Smooth transition */
}

/* Focus effect for better usability */
.form-container .hs-form input:focus,
.form-container .hs-form textarea:focus,
.form-container .hs-form select:focus {
  border: 2px solid #007bff; /* Same as hover */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Same as hover */
  outline: none; /* Remove default outline */
}
@media screen and (max-width: 768px) {
  /* Reduce the form container padding */
  .form-container {
    padding: 10px;
    margin: 0;
  }

  /* Decrease the font size of the form header */
  .form-header {
    font-size: 1.5rem; /* Smaller font for mobile */
    margin-bottom: 10px; /* Reduce bottom margin */
  }

  /* Adjust margins for form fields */
  .form-container .hs-form .hs-form-field {
    margin-bottom: 0 !important; /* Reduce field spacing */
  }

  /* Adjust font sizes for labels */
  .form-container .hs-form label {
    font-size: 1rem !important; /* Slightly smaller labels */
    font-weight: 500; /* Adjust font weight for better readability */
    margin-bottom: 5px;
  }

  /* Adjust input, select, and textarea sizes */
  .form-container .hs-form input,
  .form-container .hs-form select,
  .form-container .hs-form textarea {
    font-size: 0.9rem; /* Smaller input text */
    padding: 8px; /* Reduce padding */
  }

  /* Adjust radio and checkbox styles */
  .form-container .hs-form input[type="radio"],
  .form-container .hs-form input[type="checkbox"] {
    width: 14px !important;
    height: 14px;
  }

  /* Adjust error message font size */
  .form-container .hs-form .hs-error-msg {
    font-size: 0.75rem; /* Smaller error messages */
    margin-top: 3px;
  }
.legal-consent-container .hs-richtext p {
  margin-top: 0px !important;
  margin-bottom: 5px !important;
  display: block !important;
}
  /* Adjust spacing between grouped fields */
  .form-container .hs-form fieldset {
    margin-bottom: 10px; /* Reduce spacing between fieldsets */
  }

  /* Adjust spacing for lists */
  .form-container .hs-form ul li {
    gap: 5px; /* Reduce gap between list items */
  }

  /* Adjust the submit button */
  .form-container .hs-form .hs-submit .hs-button {
    font-size: 1rem; /* Smaller button text */
    padding: 10px 15px; /* Reduce button padding */
    margin-top: 0 !Important; 
  }
}
/* Style for the <legend> elements */
.form-container .hs-form legend.hs-field-desc {
  font-family: var(--FontFamily__Copy);
  font-size: var(--FontSize__Body);
  font-weight: 400; /* Same as paragraph text */
  color: var(--Color__Brand--Faded); /* Subtle, faded color */
  margin-bottom: 5px !important; /* Add 5px bottom margin */
  display: block; /* Ensure it takes up full width */
  line-height: 1.5; /* Match line-height */
}
.form-container .hs-form legend.hs-field-desc {
    font-size: 1rem !Important;
}
/* General Form Container Styling */
.form-container {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #F6F1EB;
  padding: 0px;
  border-radius: 0px;
  box-shadow: none;
  font-family: var(--FontFamily__Copy);
}

/* Form Header */
.form-header {
  font-size: var(--FontSize__H2);
  font-family: var(--FontFamily__Titling);
  color: var(--Color__Brand--Dark);
  text-align: center;
  margin-bottom: 30px;
}

/* Clear bullet points and spacing for form lists */
.form-container .hs-form ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.form-container .hs-form ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.form-container .hs-form ul li::before {
  content: none !important;
}

/* Radio and Checkbox Inputs */
.form-container .hs-form ul li input[type="radio"],
.form-container .hs-form ul li input[type="checkbox"] {
  margin: 0;
  vertical-align: middle;
  display: inline-block;
  width: 16px !important;
  height: 16px;
  margin-right: 10px;
}

/* Labels (Field Titles) */
.form-container .hs-form label {
  font-family: var(--FontFamily__Copy);
  font-size: var(--FontSize__Body);
  font-weight: 600; /* Make titles stand out */
  color: var(--Color__Brand--Dark);
  margin-bottom: 8px;
  display: block;
}

.form-container .hs-form .hs-form-field {
  margin-bottom: 10px;
}

/* Error Messages */
.form-container .hs-form .hs-error-msg {
  color: red;
  font-size: 0.875rem; /* Smaller size */
  margin-top: 5px;
  font-family: var(--FontFamily__Copy);
}

/* Adjust Dropdown (Selector) Size */
.form-container .hs-form select {
  width: 100%; /* Ensures it matches the input field width */
  height: 50px; /* Explicit height */
  padding: 12px; /* Adds internal spacing */
  font-family: var(--FontFamily__Copy);
  font-size: var(--FontSize__Body); /* Adjust font size */
  line-height: 1.5;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.hs-form .form-columns-2 .hs-fieldtype-select .input {
  padding: 0 !important; 
}

/* Improved Radio and Checkbox Styling */
.form-container .hs-form input[type="radio"],
.form-container .hs-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px !important;
  height: 18px;
  border: 2px solid var(--Color__Brand--Dark);
  border-radius: 50%; /* Makes them circular */
  background-color: white;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.form-container .hs-form input[type="radio"]:checked,
.form-container .hs-form input[type="checkbox"]:checked {
  background-color: var(--Color__Brand--Dark);
  border-color: var(--Color__Brand--Dark);
}

.form-container .hs-form input[type="radio"]:checked::before,
.form-container .hs-form input[type="checkbox"]:checked::before {
  content: "";
  width: 10px !Important;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Hover effect for a better interactive experience */
.form-container .hs-form input[type="radio"]:hover,
.form-container .hs-form input[type="checkbox"]:hover {
  box-shadow: 0 0 5px rgba(0, 57, 100, 0.5);
}
/* Input and Select Fields */
.form-container .hs-form input,
.form-container .hs-form select,
.form-container .hs-form textarea {
  font-family: var(--FontFamily__Copy);
  font-size: var(--FontSize__Body);
  font-weight: 400;
  line-height: var(--LineHeight__Body);
  padding: 10px;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Submit Button Styling */
.form-container .hs-form .hs-submit .hs-button {
  background-color: var(--Color__Brand);
  color: white !important;
  font-family: var(--FontFamily__Titling);
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color var(--TransitionDuration), transform var(--TransitionDuration--Short);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container .hs-form .hs-submit .hs-button:hover {
  background-color: var(--Color__Brand--Dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.form-container .hs-form .hs-submit .hs-button:active {
  background-color: var(--Color__Brand--Darker);
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Adjust textarea height */
.form-container .hs-form textarea {
  min-height: 200px;
  resize: vertical;
}

/* Grouped Fields Spacing */
.form-container .hs-form fieldset {
  padding: 0;
  border: none;
}

/* Responsive: Single column on mobile */
@media screen and (max-width: 768px) {
  .form-container .hs-form fieldset {
    flex-direction: column;
    margin-bottom: 0 !important;
  }

  .form-container .hs-form .hs-form-field {
    min-width: 100%;
    flex: 1;
    padding: 10px;
  }

  /* Ensure proper alignment on smaller screens */
  .form-container .hs-form ul li {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
li.hs-form-checkbox label[for="product5-cb10d287-00d5-4240-b345-7c359e588e26"] {
  display: none !important;
} 
  p.form-description {
    padding: 0 40px;
  }
/* Climate Award Section */
.with-padding {
  padding-top: 25px; 
}
.no-top-margin {
  margin-top: 0 !important; 
}
.change-font {
 font-size: 1rem !Important
}
.climate-award-section {
  margin: 40px 0;
  text-align: center;
  margin-bottom: 0;
}
.climate-award-section br {
    display: none;
}
.climate-award-section h3 {
    padding-top: 2rem;
}
.winners-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 3rem !important;
}

.winner-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 370px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.winner-card h3 {
     margin-top:1rem !Important;
}
.winner-images-one,
.winner-images-two,
.winner-images-three {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px; /* Fix the height to ensure uniformity */
}

.winner-images-two {
  justify-content: space-around;
}

.winner-images-three {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 170px;
  margin: 0 auto;
}

.winner-images-three img {
  width: 80px !important;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* Ensure the first image spans both columns on top */
.winner-images-three img:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
  align-self: center;
  justify-self: center;
}

/* Ensure the two bottom images align side by side */
.winner-images-three img:nth-child(2),
.winner-images-three img:nth-child(3) {
  grid-row: 2;
  justify-self: center;
}

.winner-image {
  width: 130px !important;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.winner-names {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0px !important; /* Removed bottom margin */
}

.winner-location {
  color: #666;
  margin: 0px 0 10px !important; /* Removed top margin */
}

.winner-description {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
  margin-top: auto;
}

.project-link {
  color: #003964;
  font-weight: bold;
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
}

/* Flexbox adjustment for equal height alignment */
.winner-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.winner-description {
  flex-grow: 1;
  margin-top: 10px;
}

.project-link {
  margin-top: auto;
}
/* General Finalist Grid Styling */
.finalists-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.finalists-row {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  align-items: stretch; /* Make all items stretch to match the tallest item */
}

.finalist-item {
  text-align: center;
  flex-basis: 13%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content from the top */
  align-items: center;
  height: 100%; /* Ensure it takes up the full height */
}

.finalist-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  display: block;
}

/* Fix for the logo-style images */
.finalist-image[src*="CLF-Logo-Circle.svg"] {
  object-fit: contain;
  width: 100px;
  height: 100px;
  border-radius: 0;
  background-color: transparent;
}

/* Finalist name and title styling */
.finalist-name {
  font-weight: bold;
  margin-bottom: 0 !important;
  min-height: 40px; /* Set a minimum height for the name */
}

.finalist-title {
  color: #666;
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}

.finalist-location {
  margin-top: 0px !important;
}

/* Mobile-specific adjustments for finalist grid */
@media (max-width: 768px) {
  .finalists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Create 3 columns */
    gap: 20px;
  }

  .finalists-row {
    display: contents; /* Ensures the grid applies correctly */
  }

  .finalist-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .finalist-image {
    width: 90px !important;
    height: 90px;
    margin-bottom: 10px;
  }

  /* Ensure the last row is centered with only one item */
  .finalist-item.empty-item {
    visibility: hidden;
  }
}


html {
    scroll-behavior: smooth;
}
main h2, main h3 {
    scroll-margin-top: 80px; /* Adjust value as needed for your design */
}

.custom-carousel:has(.carousel-slide:nth-child(2)) .carousel-controls {
    display: flex; /* Show arrows if there is more than one image */
}

.custom-carousel:not(:has(.carousel-slide:nth-child(2))) .carousel-controls {
    display: none; /* Hide arrows if there is only one image */
}
/* Ensure the project container places the intro & carousel side by side */
.project-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Ensure the project introduction section takes up proper space */
.project-intro {
    flex: 1;
    max-width: 60%;
}

/* Mobile: Stack carousel and text */
@media (max-width: 768px) {
    .project-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .project-intro {
        max-width: 100%;
    }
}

/* Carousel container */
.custom-carousel {
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f4f4; /* Light grey background */
    overflow: hidden;
    position: relative;
}

/* Ensures images fit within the box */
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures full image is visible */
    object-position: center; /* Centers the image */
    background-color: #d9d9d9; /* Grey background */
    display: block;
    margin: auto;
}

/* Hide all slides by default */
.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
}

/* Show only the active slide */
.carousel-slide.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure carousel navigation controls are visible */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-50%);
    z-index: 10;
}

/* Ensure the buttons are positioned correctly */
.carousel-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white !important;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 20;
}

/* Fix left arrow position */
.carousel-btn.prev {
    position: absolute;
    left: 0px;
}

/* Fix right arrow position */
.carousel-btn.next {
    position: absolute;
    right: 0px;
}

/* Ensure the buttons are always visible */
.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
}



/* Hide the second element */
.Layer.SiteHero.SiteHero--StyleNoImage {
    display: none;
}
@media (max-width: 768px) {
    .extra-top-margin {
        margin-top: 6rem !important;
    }
    .custom-size {
        max-height: 300px !important;
        width: auto !important;
    }
}
    .no-margin-top {
        margin-top: 0 !important;
    }
    .wp-caption {
        margin-top: 0 !important;
    }
@media (max-width: 1050px) {
    .image-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px; /* Add margin at the bottom for spacing */
    }

    .float-image-left, .float-image-right {
        float: none; /* Remove float for smaller screens */
        margin: 0 auto 20px auto; /* Center the images with margin at the bottom */
        width: 100%; /* Ensure images take up the full width */
        max-height: 300px; /* Limit the height on smaller screens */
        object-fit: cover; /* Maintain the aspect ratio */
    }

    .text-section {
        width: 100%; /* Take full width for text */
        text-align: left;
        margin-bottom: 20px; /* Add margin to prevent overlap */
    }

    .clear {
        clear: both;
    }
}

/* Existing styles */
.image-trio {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.float-image-left,
.float-image-middle,
.float-image-right {
    flex: 1;
    margin-right: 10px;
    margin-left: 10px;
}

.left-image,
.middle-image,
.right-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.float-image {
    margin-bottom: 20px;
    margin-top: 0 !important;
    max-width: 100%;
    text-align: center;
}

.clear {
    clear: both;
}

@media (max-width: 768px) {
    .image-trio {
        flex-direction: column;
    }
    .float-image-left,
    .float-image-middle,
    .float-image-right {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 10px;
    }
}
.float-image-left {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    max-width: 300px; /* Set a maximum width if needed */
    text-align: center;
}

.float-image-right {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
    max-width: 300px; /* Set a maximum width if needed */
    text-align: center;
}

.left-image, .right-image {
    max-width: 100%; /* Ensures the image fits within its container */
    height: auto;
    border-radius: 5px; /* Makes the image rounded */
}

.clear {
    clear: both;
}
/* Auto Generated TOC */
#toc-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
    text-align: center;
}

.toc-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #fff; /* Optional: Add background color if needed */
    border-radius: 8px; /* Optional: Add rounded corners if needed */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow for better visibility */
}

.toc-profile-pic {
    width: 150px !important;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.toc-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.toc-title {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
    flex-grow: 1; /* Ensures this section grows to fill available space */
}

.toc-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007acc;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    align-self: center; /* Center the button horizontally */
}

.toc-button:hover {
    background-color: #005fa3;
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    #toc-container {
        grid-template-columns: 1fr; /* Stack items in a single column on mobile */
    }
}
/* Centered Text Container */
.text-container {
    max-width: 1240px;
    margin: 0 auto;
    text-align: left; 
    margin-top: -3rem !important; 
}

/* General Hero Section Styles */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: #333;
   margin-bottom: -1rem !important;
}

.hero-title {
    font-size: 3.75rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: bold;
    line-height: 1.15;
}

.hero-title .lighter-text {
    color: #777; /* Slightly greyer color */
}

.hero-subtext {
    font-size: 1.5625rem !important; /* 25px equivalent in rem */
    margin-bottom: 3rem !important;
    margin-top: 0rem !important;
    color: #555;
    max-width: 800px;
    margin: 0 auto; /* Centered with margin auto */
}

.hero-buttons {
    display: flex;
    align-items: center; /* Center align items vertically */
    gap: 20px;
    flex-wrap: wrap;
}

.button {
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    background-color: rgb(0, 57, 100); /* Updated background color */
    color: white !important;
    border-radius: 25px; /* More rounded corners */
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle button shadow */
}

.button:hover {
    background-color: #00395e; /* Darker shade for hover effect */
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
}

.button:active {
    transform: translateY(0); /* Reset on active click */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reset shadow on active click */
}

.text-link {
    font-size: 18px;
    color: rgb(0, 57, 100);
    text-decoration: none;
    cursor: pointer;
    display: flex; /* Flex display for centering */
    align-items: center; /* Center align vertically */
    height: 100%; /* Full height to align properly */
    border-bottom: none !important; /* Remove underline */
    margin-top: 0; /* Adjust position */
}

.text-link:hover {
    text-decoration: underline;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Default width */
    max-width: 900px; /* Maximum width */
    max-height: 90%; /* Maximum height */
    overflow-y: auto; /* Enable vertical scroll if content exceeds height */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Remove line breaks in buttons and links */
.button br {
    display: none !important;
}

/* Remove empty <p> tags */
p:empty {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtext {
        font-size: 1.125rem !important; /* Adjusted for mobile view */
        margin-bottom: 3rem !important;
        margin-top: 0rem !important;
    }

    .button {
        font-size: 16px;
        padding: 12px 25px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .text-link {
            margin-top: -4rem !important;
             font-size: 1rem;
    }
}
/* Hide the first element */
.Layer.SiteHero.SiteHero--StyleCorporateBlue {
    display: none;
}

/* Hide the second element */
.Layer.Layer--BackgroundWatercolor.Layer--PaddingVerticalSmall.Layer--BackgroundWatercolor--FlushTop {
    display: none;
}
/* Existing CSS */

/* Story Container */
.story-container br:empty {
    display: none;
}
.story-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.student-info {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Default to left-align for single profile */
    margin-bottom: 25px;
}

.profile-pic {
    width: 150px !important; /* Size for single profile */
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

/* Adjustments for sections with two profile pictures */
.student-info.two-profiles {
    justify-content: space-between; /* Space out for two profiles */
}

.two-profiles .profile-pic {
    width: 100px !important; /* Adjust width for dual profiles */
    height: 100px;
}

.two-profiles .student-details {
    flex: 1;
    text-align: center; /* Center the name between the two images */
}

.two-profiles .student-details h2 {
    text-align: center;
    margin: 0 20px;
}

/* Default left-align for single profile sections */
.student-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.student-details h2 {
    margin: 0 0 10px 0;
    font-size: 2em;
    font-weight: bold;
    text-align: left; /* Left-align name for single profile */
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start; /* Left-align social icons for single profile */
}

.two-profiles .social-icons {
    justify-content: center; /* Center social icons for dual profiles */
}

.social-icons a img {
    width: 35px;
    height: 35px;
}

.social-icons a {
    border-bottom: none !important;
}

.back-to-top {
    display: block;
    margin: 30px auto 0 auto;
    text-align: center;
    color: #007acc !Important;
    text-decoration: none;
    border-bottom: none !Important;
    font-weight: bold;
    font-size: 1.1em;
}

.back-to-top:hover {
    text-decoration: underline;
}
/* Tooltip for copied message */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the icon */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%; /* Bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip.show .tooltiptext {
    visibility: visible;
    opacity: 1;
}


/* ===== Climate Leadership Award — Cohort 8 (transferred from main CLF page) ===== */
/* ===== CLF Winners (compact, mobile-first) ===== */
:root {
  --clif-bg: #f4f4ec;
  --clif-card: #fff;
  --clif-text: #222;
  --clif-muted: #666;
  --clif-accent: #003964; /* Rustic blue */
  --clif-radius: 16px;
  --clif-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Light background band */
.clif-wrap {
  background: var(--clif-bg);
  border-radius: var(--clif-radius);
  padding: 12px;
  margin: 20px 0;
}

/* Layout: 1-col → 2-col */
.clif-winners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 880px) {
  .clif-winners-grid { grid-template-columns: 1fr 1fr; }
}

/* Card */
.clif-card {
  background: var(--clif-card);
  border-radius: var(--clif-radius);
  box-shadow: var(--clif-shadow);
  padding: 14px 18px; /* more left/right padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Avatar */
.clif-avatar {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  object-fit: cover;
  margin: 4px auto 10px;
}
@media (max-width: 480px) {
  .clif-avatar { width: 120px !important; height: 120px !important; }
  .clif-desc, .clif-impact-list, .clif-impact-title {
      font-size: 0.96rem !important;
   }
}
@media (min-width: 880px) {
  .clif-avatar { width: 140px !important; height: 140px !important; }
}

/* Headings/meta */
.clif-project {
  margin: 8px 0 4px !important;
  line-height: 1.25 !important;
}
.clif-names {
  margin: 0 !important;
}
.clif-location {
  margin: 2px 0 20px !important;
  line-height: 1.35 !important;
  color: var(--clif-muted);
  font-size: 0.95rem !important;
}

/* Description */
.clif-desc {
  margin: 0 0 12px !important;
  padding: 0 4px; /* slight L/R padding */
  color: #444;
  line-height: 1.5 !important;
  max-width: 60ch;
}

/* Impact box */
.clif-impact {
  width: 100%;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px 14px !important; /* extra L/R padding */
  margin-top: auto !important;
  text-align: left;
}
.clif-impact-title {
  font-weight: 700;
  color: var(--clif-accent);
  margin-bottom: 4px;
}

/* Bulleted impact list */
.clif-impact-list {
  margin: 0 !important;
  padding-left: 1.1rem !important;
  list-style: disc !important;
  color: #333;
  line-height: 1.45;
}
.clif-impact-list li {
  margin-bottom: 4px;
}
/* --- Bullet fix for Impact list --- */
/* 1) Force real list markers and proper indent */
.clif-impact-list,
.clif-impact-list li {
  list-style-type: disc !important;
}
.clif-impact-list {
  padding-left: 1.25rem !important;
  margin: 0 !important;
}

/* 2) Neutralize the site's .TextBlock pseudo-bullets */
.clif-impact-list li::before {
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* 3) Style the native marker (size + color to match "Impact") */
.clif-impact-list li::marker {
  color: var(--clif-accent) !important;
  font-size: 0.85em !important;   /* slightly smaller than text */
}

/* Optional: a touch more breathing room inside the box */
.clif-impact { padding: 12px 16px !important; }
.clif-desc   { padding: 0 6px !important; }

/* Section heading above finalists */
.climate-award-section h3 { margin: 0 !important; }

/* Desktop adjustments */
@media (min-width: 880px) {
  .clif-card { align-items: stretch; text-align: left; }
  .clif-project, .clif-names, .clif-location { text-align: center; }
  .clif-desc { text-align: left !important; margin-left: auto; margin-right: auto; }
  .clif-impact-title { text-align: left; }
}

.climate-award-section br {
    display: none;
}
/* Finalist/Semi-finalist section */
.climate-award-section .finalists-grid br { display: none !important; }

.finalists-grid { display: flex; flex-direction: column; gap: 20px; }
.finalists-row { display: flex; justify-content: space-around; gap: 20px; align-items: stretch; }
.finalist-item { text-align: center; flex-basis: 13%; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; height: 100%; }
.finalist-item.empty-item { visibility: hidden; }

/* single headshot */
.finalist-image { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; display: block; }

/* placeholder (new asset) + legacy logo */
.finalist-image[src*="CLF_logo_Headshot_Placeholder"] { object-fit: contain; width: 100px; height: 100px; border-radius: 0; background: transparent; }
.finalist-image[src*="CLIF-Logo-Circle.svg"]        { object-fit: contain; width: 100px; height: 100px; border-radius: 0; background: transparent; }

/* name & title */
.finalist-name { font-weight: bold; margin-bottom: 0 !important; min-height: 40px; }
.finalist-title { color: #666; margin: 0 !important; }

/* avatar groups occupy the same 120x120 box (desktop) */
.finalist-avatars { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.finalist-avatars .finalist-image { margin-bottom: 0 !important; }

/* two-person group */
.finalist-avatars.two { gap: 12px; }
.finalist-avatars.two .finalist-image { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* three-person group (2 on top, 1 centered below) */
.finalist-avatars.three { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto; gap: 8px; place-items: center; }
.finalist-avatars.three .finalist-image { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.finalist-avatars.three .finalist-image.is-small { width: 46px; height: 46px; grid-column: 1 / -1; }

/* long group names */
.finalist-item.group-2 .finalist-name,
.finalist-item.group-3 .finalist-name { line-height: 1.18; }

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .finalists-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .finalists-row { display: contents; }

  /* keep content starting at top so long names don't collide with avatars */
  .finalist-item { align-items: center; justify-content: flex-start; width: 100%; }

  /* headshot sizes */
  .finalist-image { width: 90px !important; height: 90px !important; margin-bottom: 10px; }

  /* group avatar box + spacing under it */
  .finalist-avatars { width: 90px; height: 90px; margin-bottom: 8px; }

  /* compact group sizes */
  .finalist-avatars.two .finalist-image   { width: 56px !important; height: 56px !important; }
  .finalist-avatars.three .finalist-image { width: 40px !important; height: 40px !important; }
  .finalist-avatars.three .finalist-image.is-small { width: 34px !important; height: 34px !important; }

  /* slightly smaller trio name on mobile for tidy wraps */
  .finalist-item.group-3 .finalist-name { font-size: .92rem !important; }
}

/* Override CMS rule that makes all TextBlock links white */
.TextBlock .text-container a {
    color: #3366ff !important;
}
.TextBlock .text-link.explore-programs {
    color: rgb(0, 57, 100) !important;
    text-decoration: none !important;
}

/* Fix hero buttons layout (was missing dot) */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* Fix bullet li spacing */
.story-container ul,
.story-container ol {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-left: 1.5em;
}
.story-container ul li,
.story-container ol li {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.6;
}

/* Solo/no-gallery: full-width intro text */
.project-container.project-solo {
    flex-direction: column;
}
.project-container.project-solo .project-intro {
    max-width: 100% !important;
    width: 100%;
    flex: unset;
}
.project-container.project-solo .single-image {
    max-width: 480px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 16px;
}


/* Dual-student two-headshot layout */
.dual-headshot-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px;
    margin: 16px 0 24px;
    width: 100%;
}
.dual-headshot-title h3 {
    flex: 1 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 10px;
}
.dual-headshot-title .left-pic,
.dual-headshot-title .right-pic {
    width: 130px !important;
    height: 130px !important;
    min-width: 130px;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

