/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* =====================================================
   BASE / GLOBAL
===================================================== */

body {
  font-family: "futura-pt", sans-serif;
}

html,
body {
  overflow-x: hidden;
}

.white-text-block {
	padding:30px 20px 30px 20px;
}

.white-text-block h3, .white-text-block p {
	margin:0px!important;
}

/* =====================================================
   HEADER (FIXED + SCROLL STATE)
===================================================== */

#main-nav {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  transition:
    background-color .3s ease,
    box-shadow .3s ease;
	    box-shadow: none!important;

}

#main-nav .header-inner {
	    padding-top: 20px !important;
    padding-bottom: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    align-items: center;
	width:95%;
		    box-shadow: none!important;


}

.header-logo {
	position: relative;
	display: inline-block;
    position: relative;
    max-width: 100%;
	    max-width: 200px;
    text-align: left;
}

.header-logo img {
	display:block;
}

#hamburger-btn {
	color:#ffffff;
	width:100%;
	text-align:right;
}

/* when scrolled */
body.header-scrolled #main-nav {
  background-color: #346b7b;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

/* =====================================================
   FULLSCREEN MENU CONTAINER
===================================================== */

#fullscreen-menu {
  position: fixed;
  inset: 0;

  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);

  overflow-y: auto;

  transition:
    opacity .35s ease,
    transform .35s ease,
    visibility 0s linear .35s;
	
	    padding-left: 300px;
    background-color: #346b7b !important;

}

#ff-fullscreen-nav {
	    margin-top: 130px !important;
		 
    margin-left: 0px !important;
    margin-right: auto !important;
	    width: 80%;
    max-width: 1080px;
    margin: auto;
    position: relative;
}

.menu-open #fullscreen-menu {
  opacity: 1;
  visibility: visible;
  transform: scale(1);

  transition:
    opacity .35s ease,
    transform .35s ease,
    visibility 0s;
}

/* =====================================================
   HAMBURGER ICON
===================================================== */

#hamburger-btn .et-pb-icon {
  font-size: 0;
}

/* burger */
#hamburger-btn .et-pb-icon:before {
  content: "☰";
  font-size: 70px;
  line-height: 0 !important;
}

/* X */
.menu-open #hamburger-btn .et-pb-icon:before {
  content: "✕";
  font-size: 70px;
}

/* =====================================================
   FULLSCREEN NAV SHORTCODE
===================================================== */

#ff-fullscreen-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* row layout */
#ff-fullscreen-nav .ff-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

/* links */
#ff-fullscreen-nav .ff-row a {
  text-decoration: none;
  font-size: 24px;
  color: #fff;
}

/* sub links */
#ff-fullscreen-nav .sub-menu .ff-row a {
  font-size: 22px;
  font-weight: 700;
}

/* top-level only */
#ff-fullscreen-nav > ul > li > .ff-row > a {
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* =====================================================
   MENU TOGGLE ICON
===================================================== */

#ff-fullscreen-nav .ff-toggle {
  position: static;
  width: 20px;
  height: 20px;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: white;

  background:
    linear-gradient(currentColor 0 0) center/14px 3px no-repeat,
    linear-gradient(currentColor 0 0) center/3px 14px no-repeat;
}

/* minus */
#ff-fullscreen-nav li.open .ff-toggle {
  background:
    linear-gradient(currentColor 0 0) center/14px 3px no-repeat;
}

/* =====================================================
   TWO-COLUMN SUBMENU ANIMATION
===================================================== */

#ff-fullscreen-nav > ul > li > ul.sub-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;

  max-height: 0;
  opacity: 0;
  overflow: hidden;

  transition:
    max-height .35s ease,
    opacity .25s ease;
}

#ff-fullscreen-nav > ul > li.open > ul.sub-menu {
  max-height: 600px;
  opacity: 1;
  margin-bottom: 24px;
}

 
.home-hero h1.wp-block-heading {
    font-weight: 700;
    font-size: 75px!important;
    color: #ffffff;
    letter-spacing: 1px;
	padding:0;
	margin:0;
}

.home-hero h2.wp-block-heading {
	        font-weight: 600;
    color: #FFFFFF !important;
	font-size:26px;
}

.home-hero {
	height: calc(100vh - 44px);
}

/* =====================================================
   CAROUSEL / SWIPER CORE — CONTAINED MODE
===================================================== */
.ff-swiper {
  width: 100%;
}

.ff-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
}

.ff-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
}

.ff-text {
  margin-top: 10px;
  font-size: 24px;
  font-weight: bold;
  color: white;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
 
:root {
  --ff-container-max: 1300px;
  --ff-container-pct: 95%;
  --ff-gutter: calc(
    (100% - min(var(--ff-container-pct), var(--ff-container-max))) / 2
  );
}


 .ff-strip-wrapper {
    margin-top: -170px;
    position: relative;
 }

.landing-strips .wp-block-group__inner-container{
	padding-bottom:20px!important
}


/* =====================================================
   CONTROLS / ARROWS
===================================================== */

.ff-strip-controls {
  width: 100%;
  max-width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 20px;
  margin-bottom: 12px;
}

/* reset */
.ff-prev,
.ff-next {
  all: unset !important;

  cursor: pointer;

  width: 44px;
  height: 44px;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
	
	    transition: opacity 0.25s ease!important;

}

.ff-prev:hover,
.ff-next:hover{	cursor:pointer!important;
	opacity:.8!important;
} 
.ff-icon {
  font-size: 50px;
  line-height: 1;
  color: #fff !important;
}

/* alt color sets */
.ffc2 .ff-icon,
.ffc3 .ff-icon {
  color: #003448 !important;
}

/* hide/show */
.ff-prev {
  opacity: 1 !important;
 
}

#hamburger-btn span {
    pointer-events: none;
}

.ff-prev.is-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.ff-next.is-hidden {
  opacity: 1 !important;
  pointer-events: none !important;
}

/* =====================================================
   STATS CARDS
===================================================== */

.ff-stat-card {
  width: 285px !important;
  height: 285px !important;

  display: flex;
  align-items: center;

  background: rgba(255,255,255,.1);
  border-radius: 180px;
  border: 15px solid;

  text-align: center;
  color: #0a3449 !important;
}

.ff-stat-card > div { margin: auto !important; }

.ff-stat-card h4 {
  font-size: 70px !important;
  font-weight: 700;
}

/* color rotation */
.ff-stat-card.stat-color-1 { border-color:#1ea1b7; }
.ff-stat-card.stat-color-2 { border-color:#feb66c; }
.ff-stat-card.stat-color-3 { border-color:#346b7b; }

.ff-stat-card.stat-color-1 h4 { color:#1ea1b7; }
.ff-stat-card.stat-color-2 h4 { color:#feb66c; }
.ff-stat-card.stat-color-3 h4 { color:#346b7b; }

/* =====================================================
   OUR STATS HEADER
===================================================== */

.our-stats {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
}

.our-stats > div:first-child { width: 70%; }
.our-stats > div:last-child  { width: 30%; }

.our-stats .ff-strip-controls {
	float:right!important;
     width: 80px;
    margin-left: 0;
    transform: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 12px;
	margin-right:0;
 	 
}

.our-stats  h3 {
	font-size:44px;
	font-weight:700;
	color:#346b7b;
}
 

/* =====================================================
   READ MORE
===================================================== */

.ff-readmore {
  display: block;
  width: 125px;

  margin-top: 20px;
  padding: 10px;

  border: 2px solid red;
  border-radius: 15px;

  background: #fff;
  color: red;

  font-size: 18px;
  text-align: center;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

  #hamburger-btn .et-pb-icon:before { font-size: 40px; }
  .menu-open #hamburger-btn .et-pb-icon:before { font-size: 40px; }

  #ff-fullscreen-nav > ul > li > ul.sub-menu {
    grid-template-columns: 1fr;
  }

  .ff-strip-wrapper.ff-bleed .ff-swiper {
    left: 0;
    width: 100%;
  }

  .ff-swiper {
    padding: 0 20px;
  }

  .ff-swiper .swiper-wrapper {
    align-items: center;
  }

  .ff-swiper .swiper-slide img {
    width: 330px;
    height: 330px;
  }

}


/* ===============================
   FOOTER MEGA MENU
================================ */

.ff-footer-nav {
  width: 100%;
}

.ff-footer-root {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.ff-footer-root > .ff-footer-group {
  flex: 1 1 220px;
  max-width: 260px;
}

.ff-footer-nav {
  overflow-x: clip;
}

/* each parent group */
.ff-footer-group {
  display: block;
}

/* parent heading */
.ff-footer-parent a {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  display: inline-block;
  margin-bottom: 12px;
}

/* children list */
.ff-footer-sub {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* default one column */
.ff-footer-sub.ff-one-col {
  column-count: 1;
}

/* >4 children = two columns */
.ff-footer-sub.ff-two-cols {
  column-count: 2;
  column-gap: 30px;
}

/* child links */
.ff-footer-child {
  break-inside: avoid;
  margin-bottom: 6px;
}

.ff-footer-child a {
  font-size: 15px;
  color: #fff;
  opacity: .85;
}

.ff-footer-child a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* default: everything goes last */
.ff-footer-root > .ff-footer-group {
  order: 3;
}

/* first column */
.ff-footer-root > .ff-footer-group:first-child {
  order: 1;
}

/* stacked no-children column = second */
.ff-footer-root > .ff-no-children {
  order: 2;
}

/* Nuke list styling in footer menu */
.ff-footer-root ul,
.ff-footer-root li {
  list-style: none;
  margin: 0;
  padding: 0;
	font-size:
}

/* Safety: prevent nested UL indenting */
.ff-footer-root ul {
  padding-left: 0 !important;
}

/* Child items spacing handled manually */
.ff-footer-child {
  margin-left: 0;
  padding-left: 0;
}

/* Kill any empty footer columns */
.ff-footer-root > .ff-footer-group:empty {
  display: none !important;
}

.ff-footer-root > .ff-footer-group {
  min-width: 0;  /* critical: allows flex items to shrink */
}

 

@media (max-width: 767px) {

  /* Disable all bleed behavior */
  .ff-bleed {
    overflow: visible;
  }

  .ff-bleed .ff-strip-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .ff-bleed-left,
  .ff-bleed-right {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Constrain inner again */
  .ff-bleed .ff-inner {
    max-width: 100%;
    margin: 0 auto;
  }

  /* Center carousel content */
  .ff-swiper {
    padding: 0 20px;
  }

}

/*---Map area responsive--*/

.map-mobile {
display:none
}

@media (max-width: 1200px) {
.map-desktop {
display:none
}
	
.map-mobile {
display:block!important
	}}


.half-circle{
    background-image: url(https://gceda.forcefieldnc.com/wp-content/uploads/2026/02/about-circle.webp);
 border-radius: 380px 0 0 380px!important;
    overflow: hidden;
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 12px;
    border-color: #feb66c;
    height: 625px;
	width:310px;
    z-index: 104 !important;
    position: absolute !important;
    top: 50%;
    bottom: auto;
    right: 0px;
    left: auto;
    transform: translateY(-50%);
}


a.linkedin {
	color:#fff;
	font-size:24px;
	line-height:0px;
}

@media (max-width: 1000px) {
 

.et_pb_row_2.half-circle {
position:relative!important	;
	margin:25px auto!important;
 	width:500px!important;
	height:500px!important;
	    transform: translateY(0%)!important;
	border-radius:50% 50% 50% 50%!important;
	border-width:12px;
top:0%!important;
	
	}}


  .newsroom-filter {
        margin-bottom: 24px;
    }
    .newsroom-filter select {
        padding: 8px 14px;
        font-size: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
        cursor: pointer;
    }
    .newsroom-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 50px!important;
    }
    .newsroom-item {
        display: flex;
        flex-direction: column;
    }

.newsroom-title{
	font-size:24px!important;
	font-weight:600;
	color:#28697a
}

.newsroom-thumb  {
    position: relative;
}

.newsroom-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(40, 105, 122, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.newsroom-item:hover .newsroom-thumb::after {
    opacity: 1;
}
    .newsroom-item a {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .newsroom-thumb {
        width: 100%;
        aspect-ratio: 360 / 260;
        overflow: hidden;
        background: #eee;
    }
    .newsroom-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }
    .newsroom-item:hover .newsroom-thumb img {
        transform: scale(1.03);
    }
    .newsroom-no-image {
        width: 100%;
        height: 100%;
        background: #ddd;
    }
    .newsroom-title {
        margin: 10px 0 0;
        font-size: 16px;
        line-height: 1.4;
    }
    .newsroom-item.hidden {
        display: none;
    }

select{
    color: #ee0c1e !important;
    border-radius: 15px!important;
	border:2px solid #ee0c1e!important;
 font-weight:500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ee0c1e' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;

}


    @media (max-width: 768px) {
        .newsroom-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (max-width: 480px) {
        .newsroom-grid {
            grid-template-columns: 1fr;
        }
    }

.ff-thumb {
    position: relative;
    overflow: hidden;
    display: block;
}

.ff-thumb img {
    display: block;
    width: 100%;
}

.ff-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 105, 122, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
	border-radius:15px;
}

.swiper-slide:hover .ff-overlay {
    opacity: 1;
}
button.red {
    border: 2px solid #ee0c1e;
    padding: 10px 40px;
    border-radius: 15px;
    font-size: 23px!important;
    color: #ee0c1e;
    font-weight: 500;
    cursor: pointer;
    transition: padding 0.3s ease, background 0.3s ease, color 0.3s ease;
    position: relative;
	background-color:#ffffff;
		font-family:"futura-pt", sans-serif;

}

button.red::after {
    content: '»';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;
}

button.red:hover {
    padding-right: 52px;
    background: #ffffff;
 }

button.red:hover::after {
    opacity: 1;
    right: 18px;
}

 .overflow-image {
    padding: 0 !important;
    position: relative;
}

.overflow-image .et_pb_image {
    height: 100%;
    margin: 0 !important;
}

.overflow-image .et_pb_image_wrap {
    display: block;
    height: 100%;
}

.overflow-image .et_pb_image_wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.et_pb_row:has(.overflow-image) {
    display: flex;
    align-items: stretch;
}

.et_pb_row:has(.overflow-image) {
    overflow: hidden;
}

.overflow-image {
    padding: 0 !important;
    position: relative;
    min-height: 200px;
}

@media (max-width: 767px) {
    .et_pb_row:has(.overflow-image) {
        display: block;
    }

    .overflow-image .et_pb_image_wrap img {
        position: static;
        width: 100%;
        height: auto;
        object-fit: unset;
    }

    .overflow-image {
        min-height: unset;
    }
}