/**
Theme Name: Spark27 - Child Theme
Author: Spark27 Creative
Author URI: https://spark27creative.com/
Description: Spark27 theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spark27-theme
Template: astra
*/


/*----------- General Styles -----------*/

.ast-header-break-point .main-navigation ul .menu-item .menu-link{
	border:none !important;
}
.hero-transp-nav .fl-row-content-wrap{
  padding-top:250px;
  background-color:var(--in28-color-blue);
}
.home-hero .hero-transp-nav .fl-row-content-wrap{
  padding-top:250px;
  background-color:var(--in28-color-blue);
}
.hero-gradient .fl-row-content-wrap:after{
  border-radius: inherit;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-image: linear-gradient(100deg, rgba(36, 62, 137, 0.92) 10%, rgba(36, 62, 137, 0.18) 100%);
}
.hero-gradient .fl-row-content{
  z-index:1;
  
}
.section-grey-gradient{
background: #FFFFFF;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(235, 235, 235, 1) 52%, rgba(255, 255, 255, 0.53) 100%);
}
@media all and (max-width:768px) {
    .hero-transp-nav .fl-row-content-wrap{
  padding-top:190px;
}
}

/* Padding Row */
@media all and (min-width:768px) {
  .fl-row-content-wrap {
    padding: 60px 20px;
  }
}
.contain-small-col .fl-col-content .fl-module{
  width:400px;
  max-width:100%;
}
/* Typography */


/* Center Headline Lines */
@media all and (min-width:500px){


.headline-with-line .fl-heading {
  display: flex;
  align-items: center;
  gap: 1rem; /* spacing between text and line */
}
.headline-with-line  .fl-heading-text {
/*  white-space: nowrap;*/
  position: relative;
  z-index: 1;
}

.headline-with-line  .fl-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: var(--in28-color-light-green) ; /* light green line color */
  display: block;
}

  
.center-headline-line .fl-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.center-headline-line .fl-heading:before,
.center-headline-line .fl-heading:after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: var(--in28-color-light-green); /* light green line color */
  display: block;
}

.center-headline-line .fl-heading::before {
  margin-right: 1rem;
}

.center-headline-line .fl-heading::after {
  margin-left: 1rem;
}

.center-headline-line .fl-heading-text {
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

}
/* Images */
.in28-vertical-img .fl-photo-content img.fl-photo-img{
  object-fit: cover;
  aspect-ratio: 3/3.2;
  border-top-right-radius: 16px;
  border-bottom-left-radius: 16px;;
}

/* Buttons */
.fl-builder-content .fl-node-content a.fl-button{
    border-radius: 0px;
    padding: 0.6em 1.7em;
    font-weight: 700;
    font-family:'Georama',sans-serif;
}
/* Primary Button */
.fl-builder-content .fl-node-content .primary-btn a.fl-button{
    background: var(--in28-color-light-green);
    border:2px solid var(--in28-color-light-green);
    border-radius:40px;
}
.fl-builder-content .fl-node-content .primary-btn a.fl-button:hover{
    background: var(--in28-color-dark-green);
    border:2px solid var(--in28-color-dark-green);
}
.fl-builder-content .fl-node-content .primary-btn a.fl-button span{
  color: #000000;
}
.fl-builder-content .fl-node-content .primary-btn a.fl-button:hover span{
	color: #ffffff;
}
/* Secondary Button */
.fl-builder-content .fl-node-content .secondary-btn a.fl-button{
    background: transparent;
    border:2px solid var(--in28-color-light-green);
    border-radius:40px;
}
.fl-builder-content .fl-node-content .secondary-btn a.fl-button:hover{
    background: var(--in28-color-light-green);
    border:2px solid var(--in28-color-light-green);
}
.fl-builder-content .fl-node-content .secondary-btn a.fl-button span{
  color: #ffffff;
}
.fl-builder-content .fl-node-content .secondary-btn a.fl-button:hover span{
	color: #000000;
}

/* Tertiary Button */
.fl-builder-content .fl-node-content .tertiary-btn a.fl-button{
    background: transparent;
    border:2px solid var(--in28-color-light-green);
    border-radius:40px;

}
.fl-builder-content .fl-node-content .tertiary-btn a.fl-button:hover{
    background: var(--in28-color-light-green);
    border:2px solid var(--in28-color-light-green);
}
.fl-builder-content .fl-node-content .tertiary-btn a.fl-button span{
  color: #000000;
}
.fl-builder-content .fl-node-content .tertiary-btn a.fl-button:hover span{
  color: #000000;
}


/* Group Buttons for dark Backgrounds */


/* Base Styles for All Group Buttons */
.in28-light-group-btn .fl-button {
    border-radius: 0px;
    padding: 0.6em 1.7em;
    font-weight: 700;
    font-family: 'Georama', sans-serif;
}

/* First Button – Primary Style */
.in28-light-group-btn .fl-button-group-button:nth-child(1) .fl-button {
    background: var(--in28-color-light-green);
    border: 2px solid var(--in28-color-light-green);
    border-radius: 40px;
}

.in28-light-group-btn .fl-button-group-button:nth-child(1) .fl-button:hover {
    background: var(--in28-color-dark-green);
    border: 2px solid var(--in28-color-dark-green);
}

.in28-light-group-btn .fl-button-group-button:nth-child(1) .fl-button span {
    color: #000000;
}

.in28-light-group-btn .fl-button-group-button:nth-child(1) .fl-button:hover span {
    color: #ffffff;
}

/* Second Button – Secondary Style */
.in28-light-group-btn .fl-button-group-button:nth-child(2) .fl-button {
    background: transparent;
    border: 2px solid var(--in28-color-light-green);
    border-radius: 40px;
}

.in28-light-group-btn .fl-button-group-button:nth-child(2) .fl-button:hover {
    background: var(--in28-color-light-green);
    border: 2px solid var(--in28-color-light-green);
}

.in28-light-group-btn .fl-button-group-button:nth-child(2) .fl-button span {
    color: #ffffff;
}

.in28-light-group-btn .fl-button-group-button:nth-child(2) .fl-button:hover span {
    color: #000000;
}


/* Bar CTA */
@media all and (min-width:768px){
.bar-cta .fl-module-content{
  max-width:1200px;
  margin:10px auto 5px;
}

.bar-cta .fl-cta-inline .fl-cta-text{
  /*width:80%;*/
  vertical-align: middle;
}
.bar-cta .fl-cta-inline .fl-cta-text h3{
margin-bottom:0px;
}
}

.announcement-bar .fl-module-html p{
  color:#000000;
  text-align:center;
  margin-bottom:0px;
  font-weight:700;
  font-size:17px;
        font-family:'Georama',sans-serif;

}
.announcement-bar .fl-module-html a{
  display:inline-block;
  margin-left:20px;
    color:#000000;

}

.announcement-bar .fl-module-html a:hover{
opacity:0.8;
}


/* Blog Page */
.sc-blog .fl-post-grid-post{
  display:flex;
  flex-direction:column;
}

.sc-blog .fl-post-text{
  flex-grow:1;
  display:flex;
  flex-direction:column;

}

.sc-blog .fl-post-more-link{
  margin-top:auto;
  margin-bottom:0;
}



/* Single Post */
.single-post-img .fl-photo-content img{
  aspect-ratio: 19/22;
  object-fit:cover;
  border-top-right-radius: 16px;
  border-bottom-left-radius: 16px;
}


.investor-groups-wrapper {
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.investor-group {
  text-align: center;
}

.investor-group-title .fl-heading-text {
  font-size: 2rem;
  font-weight: 600;

}


.investor-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  justify-items: center;
  align-items: center;
  margin-top:2rem;
}

.investor-logo {
  width: 100%;
  max-width: 180px; /* Bigger logos */
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.responsive-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Responsive Layout */
@media (max-width: 1024px) {
  .investor-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .investor-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .investor-group-title {
    font-size: 1.4rem;
  }

  .investor-logo {
    max-width: 140px;
  }
}


/* Post Index Page */

.news-post .fl-post-grid-post{
  border:none;
}
/* === Wrapper for each post item === */
.news-post .fl-post-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* === Image container with 19:22 aspect ratio and corner radius === */
.news-post .fl-post-image {
  flex: 0 0 40%;
  max-width: 40%;
  aspect-ratio: 19 / 22;
  overflow: hidden;
  display: flex;
}

.news-post .fl-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-right-radius: 16px;
  border-bottom-left-radius: 16px;
}

/* === Text area === */
.news-post .fl-post-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding:20px 0px;
}

.news-post .fl-post-meta {
  font-size: 1rem;
  color: var(--in28-color-grey);
  display: block;
}

.news-post .fl-post-title,
.news-post .fl-post-title a {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--in28-color-blue);
  margin: 1.2rem 0 2rem;
}


.news-post .fl-post-more-link a {
  background-color: transparent;
  color: #000000;
  text-decoration: none;
  padding: 0.6em 1.7em;
  border-radius: 40px;
  font-weight: 700;
  border:2px solid var(--in28-color-light-green);
  display: inline-block;
  transition: all 0.2s ease-in-out;
  font-family:'Georama',sans-serif;
  line-height:1em;
}

.news-post .fl-post-more-link a:hover {
  background-color: var(--in28-color-dark-green);
  border-color:var(--in28-color-dark-green);
  color: #ffffff;
}



/* === Responsive layout === */
@media (max-width: 980px) {
 
  .news-post .fl-post-item {
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    gap: 0;
    display: flex;
    flex-direction: column;
    height: 100%;

  }
  .news-post .fl-post-image {
    width: 100%;
    /* Remove flex: 1 to prevent image from stretching */
    flex: 0 0 auto;
    margin-bottom: 1rem;
    max-width: 100%;
    /* Set a specific aspect ratio for mobile */
    aspect-ratio: 16/9;
  }
  .news-post .fl-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 16px;
  }
  .news-post .fl-post-text {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    flex: 1;
    min-height: 0;
    /* Create proper spacing */
    justify-content: space-between;
  }
  .news-post .fl-post-title {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
  }
  .news-post .fl-post-excerpt {
    margin-bottom: 1rem;
  }
  .news-post .fl-post-more-link {
    margin-top: 1rem; /* Add a specific margin instead of auto */
  }
}

/* Data Boxes - Home Page */
.data-col .fl-col-content {
  display: flex;
  flex-direction: column;
  margin:10px;
  border-radius:16px;
}


.data-desc{
  flex:1;
}

/* Goals Boxes */
.goal-col .fl-col-content{
  background-color: var(--in28-color-blue);
  margin:10px;
  border-radius:16px;
}

.goal-col .fl-col-content{
  background-color: var(--in28-color-blue);
  margin:10px;
  border-radius:16px;
  padding:20px 20px;
  display: flex !important;
  flex-direction: column;
}



.goal-col .data-desc{
  flex:1;
}
.goal-col .fl-rich-text sup{
  font-size:1.4rem !important;

}

.county-goals .fl-col-content{
  padding:20px 30px
}

.county-goals .fl-rich-text h4{
font-size:18px;
}

.county-goals .fl-rich-text ul{
margin-left:10px;
}
@media all and (max-width: 768px){
.data-col,
  .goal-col{
    display:flex;
    justify-content: center;
  }
  .data-col .fl-col-content,
  .goal-col .fl-col-content{
margin:10px 20px !important;
width:100%;
max-width:400px;

  }
}

/* Board Member */
.team-member-callout .fl-callout-title{
  font-size:18px;
  padding-bottom:5px;
}

.team-member-callout .fl-module-content{
  margin-bottom:0px;
}

/* Contact Form */

.gform_required_legend{
  display:none;
}



.lines-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
  position: relative;
}

.lines-callout::before,
.lines-callout::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background-color: var(--in28-color-orange);
  margin: 0 15px;
}
.lines-callout.blue-line::before,
.lines-callout.blue-line::after{
background-color: var(--in28-color-blue);
}
.lines-callout.green-line::before,
.lines-callout.green-line::after{
background-color: var(--in28-color-green);
}

.lines-callout h3 {
  font-weight: 600;
  margin: 0;
  padding-bottom:5px;
}

.lines-callout p {
  font-size: 1rem;
  margin-top: 0px;
  color: #666;
}

@media (max-width: 768px) {
  .lines-callout {
    flex-direction: row;
    padding: 10px 0;
  }

  .lines-callout::before,
  .lines-callout::after {
    display: block;
    margin: 0 10px;
  }

  /*.lines-callout h3 {
    font-size: 1.1rem;
  }

  .lines-callout p {
    font-size: 0.9rem;
  }*/
}





/* ====== General Form Container ====== */
body .gform_wrapper {
    font-family: 'Georama', sans-serif;
    color: #3b3b3b;
}
/* Vertical spacing between fields */
body .gform_wrapper .gfield {
    margin-bottom: 0.5em;
}

/* Hide Labels (if using placeholders) */
body .gform_wrapper .gfield_label {
    display: none;
}

/* ====== Input, Select, Textarea Styles ====== */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper select,
body .gform_wrapper textarea {
    width: 100%;
    background: transparent;
    border: 1.5px solid #000000;
    border-radius: 30px;
    padding: 0.6em 1.2em !important;
    font-size: 1em;
    font-family: 'Georama', sans-serif;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    appearance: none;
}

/* Focused Fields */
body .gform_wrapper input[type="text"]:focus,
body .gform_wrapper input[type="email"]:focus,
body .gform_wrapper input[type="tel"]:focus,
body .gform_wrapper select:focus,
body .gform_wrapper textarea:focus {
    border-color: var(--in28-color-blue);
    outline: none;
}

/* Placeholder Text Color */
body .gform_wrapper input::placeholder,
body .gform_wrapper textarea::placeholder {
    color: #3b3b3b;
    opacity: 1;
}

/* Textarea Specific */
body .gform_wrapper textarea {
    border-radius: 20px;
    min-height: 120px;
}

/* ====== Custom Select Dropdown Arrow in Green ====== */
body .gform_wrapper select {
    background-image: url('/wp-content/uploads/2025/05/chevron_down.svg');
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 2em;
    padding-right: 2.5em;
    background-color: transparent;
    border: 1.5px solid #000000;
    border-radius: 30px;
    padding: 0.6em 1em;
    font-size: 1em;
    font-family: 'Georama', sans-serif;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Hide default arrow in IE */
body .gform_wrapper select::-ms-expand {
    display: none;
}


/* ====== Submit Button ====== */
body .gform_wrapper .gform_footer input[type="submit"],
body .gform_wrapper .gform_page_footer input[type="submit"] {
    background-color: var(--in28-color-dark-green);
    border:2px solid var(--in28-color-dark-green) !important;
    color: white;
    font-weight: bold;
    padding: 0.6em 1.7em;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Georama', sans-serif;
    display: block;
    margin: 1em auto 0 auto; /* center the button */
}

/* Hover Button */
body .gform_wrapper .gform_footer input[type="submit"]:hover,
body .gform_wrapper .gform_page_footer input[type="submit"]:hover {
    background-color: transparent;
    color: var(--in28-color-dark-green);
    border:2px solid var(--in28-color-dark-green);
}


