/*New CSS*/

.featured-image-container img{
		width: 100% !important;
		height:444px;
		object-fit: cover;
		object-position: center;
	}
	
	.heading_date-share {
		display: flex;
		justify-content: space-between;
		margin-top:40px;
	}
	.share{
		display:flex;
		align-items:center;
		gap:20px;
	}
	
	span.a2a_svg.a2a_s__default {
    padding: 2px;
    border-radius: 300px !important;
}
	
	.share .addtoany_content{
		display:block;
	}
	
	
	
	@media screen and (max-width:768px){
		
	.heading_date-share {
		display: block;
	}
	.share{
		display:block;
		align-items:center;
		gap:20px;
	}
	
		
}

.separate-containers .featured-image{
	margin-top:0 !important;
}

/*End Post*/

/* section.electoral-heading-section.sectional-side-padding{
	overflow:hidden;
} */

section.red-section {
  background-color: var(--scse-red) !important;

  color: var(--body-white) !important;
  text-align: center;
  width: 100%;
}

/* .sticky {
  display: flex;
  overflow: scroll;
  margin-left: -54px;
  height: 900px;
  flex-direction: column;
} */

.electoral.information{
  width: 100%;
  max-width: 1325px;
}

.left-column {
    position: relative;
}

/*End New CSS*/

.democratic::before {
  content: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="7" cy="7" r="7" fill="%230060FF"/></svg>');
  margin-right: 8px;
}

.republican::before {
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none"><circle cx="7" cy="7" r="7" fill="%23FF0022"/></svg>');
  margin-right: 8px;
}

/*Additional Padding Classes*/
.sectional-padding {
  padding: 44px 54px;
}

.sectional-side-padding {
  padding: 0 54px;
}

h1.hero-banner__heading {
  color: var(--scse-black);
  text-align: center;
  font-size: clamp(3.15rem, 10vw, 4.875rem);
  /* 	font-style: italic; */
  font-weight: 400;
  line-height: clamp(3.5rem, 12vw, 90px);
  letter-spacing: -2.34px;
  padding-top: 40px;
}

h2.section-banner__heading {
  color: var(--scse-black);
  font-size: clamp(2.375rem, 5vw, 3.75rem) !important;
  font-weight: 400;
  /* font-style: italic; */
  /* 	font-weight: 400; */
  line-height: clamp(48px, 5vw, 72px);
  letter-spacing: -1.8px;
}

h2 strong {
  font-weight: 400 !important;
}

h2#home-h2 {
  color: var(--scse-black);
  font-family: var(--gp-font--gotham-narrow) !important;
  font-size: clamp(2.375rem, 10vw, 3.75rem) !important;
  /* font-style: italic; */
  /* 	font-weight: 400; */
  line-height: clamp(48px, 12vw, 72px);
  letter-spacing: -1.8px;
}
h3.section-banner__heading {
  font-family: var(--gp-font--gotham-narrow) !important;
  font-size: clamp(1.813rem, 3vw, 2rem) !important;
  font-weight: 500;
  line-height: clamp(1.813rem, 10vw, 2rem) !important;
  text-transform: capitalize;
}
h3#footer-title {
  font-family: var(--gp-font--gotham-narrow);
  font-size: clamp(1.813rem, 3vw, 2rem) !important;
  font-style: normal;
  padding-bottom: 10px !important;
  font-weight: 400;
  line-height: clamp(1.813rem, 10vw, 2rem) !important;
}
h4.section-banner__heading {
  font-family: var(--gp-font--gotham-narrow);
  font-size: clamp(1.125rem, 10vw, 1.375rem) !important;
/*   font-style: italic; */
/*   font-weight: 700; */
  line-height: clamp(1.35rem, 10vw, 1.39rem) !important;
}

p.hero-banner__secondary-heading {
  color: var(--scse-black);
  text-align: center;
  font-family: "Open Sans";
  font-size: clamp(1.25rem, 10vw, 1.438rem) !important;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/*GLOBAL HERO BANNERS*/
.hero-banner__content p {
  color: var(--scse-black);
  text-align: center;
  font-family: "Open Sans";
  padding-bottom: 20px;
  max-width: 1080px;
  justify-content: center;
  display: flex;
  margin: auto;
}

.page-id-25 .grey-line {
  width: 100px;
  height: 1px;
  background: #c5c5c5;
  margin: auto;
  margin-bottom: 12px;
  margin-top: 22px;
}

.hero-banner__button {
  text-align: center;
}
a.btn.btn--primary {
  background: var(--scse-red);
  color: var(--body-white);
  text-decoration: none;
  text-align: center !important;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 12px 22px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
	text-align:center;
	    justify-content: center;
  /* isolation: isolate; */
}

a.btn.btn--primary:before {
  content: "";
  position: absolute;
  height: 150px;
  width: 20px;
  background: rgba(255, 255, 255, 0.3);
  left: -75px;
  top: -40px;
  transform: rotate(37deg);
  transition: all 0.5s ease;
  opacity: 0.3;
  pointer-events: none;
}

a.btn.btn--primary:hover:before {
  left: calc(100% + 5px); /* Move completely out of view */
}

a.btn.btn--primary:hover {
  background: #ad1e31;
  transition: all 0.5s ease;
}

a.btn.btn--primary-blue {
  background: var(--scse-blue);
  color: var(--body-white);
  text-decoration: none;
  text-align: center !important;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 12px 22px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  border-radius: 100px;
  position: relative;
  display: inline-flex !important;
  overflow: hidden;
	text-align:center;
	    justify-content: center;

}

a.btn.btn--primary-blue:before {
  content: "";
  position: absolute;
  height: 150px;
  width: 30px;
  background: rgba(255, 255, 255, 0.3);
  left: -55px;
  top: -40px;
  transform: rotate(37deg);
  transition: all 0.5s ease;
  opacity: 0.3;
  pointer-events: none;
}

a.btn.btn--primary-blue:hover:before {
  left: calc(100% + 5px); /* Move completely out of view */
}

a.btn.btn--primary-blue:hover {
  background: #3f73c9;
  transition: all 0.5s ease;
}

/***********************
 *Columns Styling*
************************/

.right-column {
  /* max-width: 1325px; */
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 39px;
}

/***********************
 *Homepage Content Styling*
************************/

section.hero-banner {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 420px;
}

.section-banner__heading.left-icon::before {
  content: url(https://devscse.evokad.com/wp-content/uploads/2025/08/Group.svg) !important;
  display: flex;
  display: --webkit-flex;
  align-items: center;
  padding-right: 20px;
  margin-left: -120px;
}

h2#get-involved::before {
  content: url(https://devscse.evokad.com/wp-content/uploads/2025/11/involved-1.svg) !important;
  display: flex;
  display: --webkit-flex;
  align-items: center;
  padding-right: 20px;
  margin-left: -120px;
}

h2#voter-box::before {
  content: url(https://devscse.evokad.com/wp-content/uploads/2025/11/voting-box-1.svg) !important;
  display: flex;
  display: --webkit-flex;
  align-items: center;
  padding-right: 20px;
  margin-left: -120px;
}

@media (max-width: 1557px) {
  .section-banner__heading.left-icon::before {
    content: url(https://devscse.evokad.com/wp-content/uploads/2025/08/Group.svg) !important;
    display: inline-flex;
    align-items: center;
    padding-right: 20px;
    margin-left: 0;
  }
  h2#get-involved::before {
    content: url(https://devscse.evokad.com/wp-content/uploads/2025/11/involved-1.svg) !important;
    display: inline-flex;
    align-items: center;
    padding-right: 20px;
    margin-left: 0;
  }
  h2#voter-box::before {
    content: url(https://devscse.evokad.com/wp-content/uploads/2025/11/voting-box-1.svg) !important;
    display: inline-flex;
    align-items: center;
    padding-right: 20px;
    margin-left: 0;
  }
}
/*Resources for Voters Section*/

/*makes container a grey background*/

.resources-voters-container:nth-child(odd) {
  /* background-color: var(--scse-dark-grey); */
  margin-right: -50vw;
  padding-right: 50vw;
  position: relative;
}

.resources-voters-container:nth-child(even) {
  /* background-color: var(--body-white); */
  margin-right: -50vw;
  padding-right: 50vw;
  position: relative;
}

.resources-voters-container:hover {
  background-color: var(--scse-grey);
  cursor: pointer;
}

/* Adjust for the specific grey containers if they have different class patterns */
.gb-element-1de58a6e,
.gb-element-5526a5fe,
.gb-element-58217110 {
  background-color: var(--scse-dark-grey);
  margin-right: -50vw;
  padding-right: 50vw;
  position: relative;
}

/***********************
 *Public Offical Styling*
************************/

/*Grid for Left and Right Field*/
.office-holders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 55px;
  padding: 20px 0;
}

.official-content {
  display: grid;
  width: 100% !important;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.official-info {
  background: #d8d8d8;
  padding: 54px 23px 54px 32px;
}
.official-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h3.section-banner__heading.h-blue.official-title {
  padding: 0;
}
h3.section-banner__heading.official-title {
  padding-top: 20px;
}

/***********************
 *Icon w Header Styling*
************************/

/* .icon-container {
	height: 150px;
	width: 150px;
	display: flex;
	display: --webkit-flex;
} */

.icon-header {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  padding: 35px 0;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.main-image-container img {
  width: 100%;
}

/* 	section.electoral-heading-section{
		width:1425px;
		max-width:100%;
		margin:auto;
	} */

.electoral-heading-columns {
  display: flex !important;
  /* grid-template-columns: 0.5fr 2fr; */
  gap: 60px;
  align-items: start;
  /* max-width: 1700px; */
  justify-content: center;
  margin: auto;
}

.image-text {
  display: grid;
  grid-template-columns: 1fr 2fr;
  /* 	grid-template-columns: 1fr 2fr; */
  gap: 100px;
  align-items: start;
}

/*Voter Registration css*/
/* Voter Registration Section - Horizontal Layout */
.voter-stats-container {
  background: var(--body-white);
  overflow: hidden;
}

.voter-stats-name {
  background: var(--scse-blue);
  color: var(--body-white);
  padding: 12px 30px;
  display: inline-block;
}

.voter-stats-name span {
  font-family: "Arial", sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: capitalize;
}

.voter-stats-header {
  background: var(--scse-blue);
  color: var(--body-white);
  padding: 15px 30px;
  text-align: center;
  margin-bottom: 0;
}

.voter-stats-header h3 {
  font-weight: 700;
  font-style: italic;
  font-size: clamp(24px, 4vw, 32px);
  margin: 0;
  color: var(--body-white);
}

.voter-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding: 40px 20px;
  gap: 20px;
  /* border-top: 3px solid var(--scse-blue); */
}

.voter-stat-column {
  text-align: center;
  padding: 10px;
  border-right: 1px solid #cf2138;
}

.voter-stat-column:last-child {
  border-right: none;
}

.voter-stat-total {
  background: #e8e8e8;
}

.party-label {
  font-style: italic;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  margin-bottom: 10px;
  color: #666;
}

.voter-stat-total .party-label {
  color: #000;
}

.party-value {
  font-family: "PT Serif";
  font-style: normal;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
}

.voter-stat-total .party-value {
  color: #000;
}

.home-card-grid-item {
  margin-top: -90px;
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .home-card-grid-item {
    margin-top: 0;
  }

  .sidebar-header-home {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: center;
  }

  .sidebar-header-home h3 {
    padding-right: 0 !important;
    text-align: center !important;
  }

  .voter-stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .voter-stat-column {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
  }

  .voter-stat-column:last-child,
  .voter-stat-column:nth-last-child(2) {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .voter-stats-grid {
    grid-template-columns: 1fr;
  }
}

/***********************
 *Sidebar Icon w Header Styling*
************************/



/*Left side of Voter Registration Section*/
.sidebar-header {
  border-bottom: 4px solid #eff0f5;
/*   padding-left: 60px; */
/*   padding-right: 190px !important; */
}

.sticky.sidebar-left {
    border-right: 4px solid #eff0f5;
    max-width: 350px;
    background-color: white;
    overflow: visible; 
    height: auto;        
}


/* Override height for mobile nav only */
.sticky.sidebar-left .mobile-nav-toggle {
    height: auto;
    overflow: visible;
}

/* OR if the entire sidebar should have auto height on mobile */
@media (max-width: 900px) {
    .sticky.sidebar-left {
        height: auto;
        overflow: visible;
    }
}

.sidebar-header h3 {
  color: var(--scse-blue);
  padding: 18px 0;
	padding-right: 100px;
/* 	margin-right: -190px; */
}

.sidebar-header-home {
  background: var(--scse-blue);
  color: var(--body-white);
  padding: 7px 0px 5px 0px;
  /* padding-left: 2000px; */
  margin-left: -400px;
  text-align: right;
  margin-bottom: 0;
  max-width: 1007px;
}

.padding-20 {
  padding-left: 20px;
}

.sidebar-item {
  padding: 20px 0;
/*   padding-left: 60px;
 */
  /* padding-left: 2000px;
  margin-left: -2000px; */
}

.sidebar-list {
  color: var(--scse-black);
  font-family: var(--gp-font--gotham-narrow) !important;
  font-size: 1.25rem;
  font-weight: 350;
  line-height: 32px;
  text-decoration: none;
}

/* .sidebar-item.active {
  background-color: var(--scse-red);
} */

.sidebar-item.active li.sidebar-list::marker {
  color: #ffffff !important;
}

.sidebar-item.active .sidebar-list {
  color: var(--scse-red) !important;
}

li.h-red {
  padding: 10px 0;
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  line-height: 26px; /* 162.5% */
  letter-spacing: -0.48px;
}

li.h-red a:hover {
  text-decoration: underline !important;
  color: var(--scse-blue);
  font-weight: 700 !important;
}

/* Mobile Navigation Toggle - Hidden by default */
.mobile-nav-toggle {
  display: none;
}

/*WYSIWYG Editor CSS*/
.wysiwyg-button-group {
  display: flex;
  display: --webkit-flex;
  gap: 21px;
  margin: 10px 0 26px 0;
  text-align: center !important;
}

h3.section-banner__heading.h-blue {
  padding: 20px 0 26px 0;
}

/*Outreach Page*/
.page-id-853 .image-container {
  padding-top: 54px;
}

.page-id-853 section.public-official.sectional-padding {
  padding-bottom: 0;
}

.page-id-853 .image-gallery-sectional.sectional-side-padding {
  padding-bottom: 54px;
}

/*Faqs*/
.page-id-430 .icon-header {
  display: none;
}

.faqs-icon-header {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  border-top: 1px solid var(--scse-blue);
  padding: 35px 0;
  gap: 30px;
}
.faqs-icon-header-no-banner {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  padding: 35px 0;
  gap: 30px;
}

/*Right Side*/
.featured-image-container img {
  height: 334px !important;
  width: 100%;
  object-fit: cover;
}

/***********************
 *Meeting Minutes or File Archive*
************************/

button.accordion-header {
  background-color: #eeeeee;
  font-size: 3rem;
  font-style: italic;
  font-weight: 700;
  color: var(--scse-blue);
}

.meeting-minutes-accordion {
  margin: 2rem 0;
}

.accordion-item-container {
  border: 1px solid #ddd;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  border: none;
  padding: 1rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 3rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

/* .accordion-item.active .accordion-header {
    background-color: red;
} */

.accordion-icon {
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--scse-red);
}

.accordion-content-downloads {
  /*     max-height: 0; */
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.meeting-minute-item {
  padding: 1rem 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.meeting-date {
  font-weight: 500;
}

.accordion-content-downloads {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item-container.active .accordion-content-downloads {
  max-height: none; /* or a large value like 2000px */
}

/***********************
 *Image Gallery Styling*
************************/

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  margin-bottom: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px 15px 15px;
  font-size: 14px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

/* Pagination Styles */
.gallery-pagination {
  display: flex;
  justify-content: right;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0;
}

.gallery-pagination a {
  padding: 8px 14px;
  background: var(--scse-blue);
  color: #fff;
  text-align: center;
  font-family: "Times New Roman";
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  transition: all 0.3s ease;
}

.gallery-pagination a:hover {
  background: var(--scse-blue);
  color: white;
  border-color: #007cba;
  transform: translateY(-1px);
}

.gallery-pagination a.active {
  background: var(--scse-red);
  color: white;
  border-color: #007cba;
}

.pagination-btn {
  font-weight: bold !important;
}

.pagination-info {
  text-align: center;
  display: flex;
  justify-content: right;
  color: #666;
  font-size: 14px;
  margin-top: 10px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from {
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s;
}

.close:hover {
  color: #bbb;
}

.modal-nav {
  position: absolute;
  top: 50%;
  color: white;
  font-weight: bold;
  font-size: 50px;
  cursor: pointer;
  padding: 16px;
  user-select: none;
  transition: color 0.3s;
  z-index: 1001;
}

.modal-nav:hover {
  color: #bbb;
}

.prev {
  left: 20px;
  transform: translateY(-50%);
}

.next {
  right: 20px;
  transform: translateY(-50%);
}

#modalCaption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #ccc;
  font-size: 16px;
  text-align: center;
  width: 90%;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 4px;
}

/*Candidates Section Styling*/

h3.section-banner__heading.red-background {
  background: var(--scse-red);
  justify-self: flex-start;
  color: var(--body-white);
  padding: 10px 54px 10px 33px;
  max-width: 500px;
  width: 100%;
}

h3.section-banner__heading.blue-background {
  background: var(--scse-blue);
  justify-self: flex-start;
  color: var(--body-white);
  padding: 10px 54px 10px 33px;
  width: 100%;
  max-width: 500px;
}

/*Stying for Grey containers inside the candidates page*/
.grey-container {
  background: #d8d8d8;
  padding: 49px;
  width: 100%;
  max-width: 526px;
}
.light-grey-container {
  background: #eeeeee;
  padding: 49px 70px;
  width: 100%;
  max-width: 526px;
}

.grey-container-flex {
  display: flex;
  display: --webkit-flex;
}

/*News and Events Page*/

/*Left Query Loop*/
.gb-loop-item.gb-loop-item-c61de7b7.post-1367.news.type-news.status-publish.format-standard.has-post-thumbnail.hentry {
  padding: 0 20px;
}

/*Loop Query Middle post*/
.calendar-loop-grid .gb-loop-item:nth-child(even) {
  border-left: 1px solid var(--scse-red);
  border-right: 1px solid var(--scse-blue);
  padding: 0 29px;
}

/*Right query loop*/
.gb-loop-item.gb-loop-item-c61de7b7.post-225.news.type-news.status-publish.format-standard.has-post-thumbnail.hentry.category-featured-news {
  padding: 0 29px;
}

li.gb-text::marker {
  color: var(--scse-red) !important;
}

.gb-media-3de017e3 {
  height: auto;
  max-width: 100%;
  object-fit: cover;
  width: auto;
  aspect-ratio: 16 / 5;
}

/*OfficialElections.org*/
.image-grid-container {
  border: 1px solid grey;
}

img.grid-img {
  aspect-ratio: 16/9 !important;
  object-position: top;
  object-fit: cover;
}

.grid-title {
  padding: 10px 0;
  font-size: 14px !important;
}

@media screen and (max-width: 1200px) {
  .inquiry {
    display: block !important;
  }
}

@media screen and (max-width: 980px) {
  /*Candidates Styling*/
  .grey-container-flex {
    display: block;
  }
}

@media screen and (max-width: 768px) {
	.sidebar-header h3 {
  color: var(--scse-blue);
  padding: 18px 0;
	margin-right: 0;
}
	
	.sidebar-header {
  border-bottom: 0;
}
	
  .icon-header {
    border-top: 0px solid var(--body-white) !important;
    border-bottom: 2px solid var(--scse-red);
    padding: 35px 0;
    gap: 30px;
  }

  .electoral-heading-columns {
    display: block !important;
    grid-template-columns: 1fr;
    gap: 100px;
    align-items: start;
  }

  .image-text {
    display: block !important;
    grid-template-columns: 1fr;
    gap: 100px;
    align-items: start;
  }

  /*Side Mobile Acordian Nav*/
	.sticky.sidebar-left{
		max-width:100%;
		border: 0 !important;
	}
	
  .sidebar-header {
/*     margin-left: -54px;
    margin-right: -54px; */
    padding-left: 0;
    text-align: center;
	  padding-right: 0 !important;
	  
  }

  .mobile-nav-toggle {
    display: block;
    margin-bottom: 10px;
/*     margin-left: -54px;
    margin-right: -54px; */
  }

  .accordion-item {
    margin-bottom: 5px;
  }

  .accordion-toggle {
    width: 100%;
    background: #d9d9d9;
    color: var(--scse-black);
    padding: 15px 30px 10px;
    border: none;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    display: --webkit-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  button.accordion-toggle {
    background: #d9d9d9;
    color: vat(--scse-black);
  }
  button.accordion-toggle:hover {
    background: #d9d9d9;
    color: var(--scse-black);
  }
  button.accordion-toggle:focus {
    background: #d9d9d9;
    color: var(--scse-black);
  }

  button.accordion-toggle.active {
    background: var(--scse-blue);
    color: var(--body-white);
  }

  .arrow {
    transition: transform 0.3s ease;
  }

  .accordion-toggle.active .arrow {
    transform: rotate(180deg);
  }

  .accordion-content {
    display: none;
    background: #f8f9fa;
    padding: 15px;
  }

  .accordion-content.show {
    display: block;
  }

  /* Mobile Sidebar List Styling */
  .mobile-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-sidebar-item {
    margin-bottom: 10px;
  }

  .mobile-sidebar-item a {
    color: var(--scse-black);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    padding-left: 30px;
  }

  .mobile-sidebar-item.active a {
    color: var(--scse-red);
  }

  .mobile-sidebar-item a:hover {
    color: var(--scse-blue);
  }

  /* Hide desktop sidebar on mobile */
  .sidebar-list {
    display: none;
  }

  /*WYSIWYG Editor CSS*/
  .wysiwyg-button-group {
    display: inline-grid;
/*     row-gap: 0; */
    padding: 10px;
  }

  /*Image Gallery Mobile Styling*/
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2px;
  }

  .gallery-pagination {
    flex-direction: column;
    gap: 10px;
  }

  .close {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }

  .modal-nav {
    font-size: 30px;
    padding: 10px;
  }

  .prev {
    left: 10px;
  }

  .next {
    right: 10px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 70%;
  }

  /*Left Query Loop*/
  .gb-loop-item.gb-loop-item-c61de7b7.post-1367.news.type-news.status-publish.format-standard.has-post-thumbnail.hentry {
    padding: 20px 0;
  }

  /*Loop Query Middle post*/
  .gb-loop-item.gb-loop-item-c61de7b7.post-227.news.type-news.status-publish.format-standard.has-post-thumbnail.hentry {
    border-left: none;
    border-right: none;
    padding: 20px 0;
  }

  /*Right query loop*/
  .gb-loop-item.gb-loop-item-c61de7b7.post-225.news.type-news.status-publish.format-standard.has-post-thumbnail.hentry.category-featured-news {
    padding: 20px 0;
  }
}

/* Desktop styles */
@media (min-width: 769px) {
  .mobile-nav-toggle {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  /******Public Official Styling*/
  .office-holders-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    column-gap: 55px;
    row-gap: 32px;
  }

  h2.red-underline {
    text-underline-offset: 1px !important;
  }

  .sticky {
    display: flex;
    overflow: visible;
    margin-left: 0;
    height: auto;
    flex-direction: column;
  }

  input#gform_submit_button_6 {
    margin-top: 20px;
  }
}
@media screen and (max-width: 1190px) {
  .sticky.sidebar-left.is-sticky {
    width: 200px !important;
  }
}

@media screen and (max-width: 500px) {
  .page-id-25 .grey-line {
    width: 100%;
    height: 1px;
    background: black;
    margin: auto;
    margin-bottom: 12px;
  }

  .sectional-padding {
    padding: 14px 24px;
  }

  .sectional-side-padding {
    padding: 0 24px !important;
  }

  p.hero-banner__secondary-heading {
    padding: 20px 0;
  }

/*   .featured-image-container {
    margin-left: -60px;
    margin-right: -60px;
  } */
  .padding-20 {
    padding-left: 0px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-pagination a {
    padding: 8px 12px;
    font-size: 14px;
  }

  /*Public Official Section*/
  .official-content {
    width: 100% !important;
    display: flex !important;
    flex-direction: column-reverse;
    justify-content: flex-end;
  }

  .icon-header {
    display: block;
  }
}

@media screen and (max-width: 320px) {
  /*Home Page*/
  body .is-layout-flex {
    display: block;
  }
  .section-banner__heading.left-icon::before {
    display: none !important;
  }
  h2#get-involved::before {
    display: none !important;
  }
  h2#voter-box::before {
    display: none !important;
  }

.sidebar-left,
.sticky.sidebar-left,
.sticky.sidebar-left.is-sticky {
    position: static !important;   
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
	
	#welcome-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#welcome-popup-box {
    background: #fff;
    padding: 50px 44px 40px;
    max-width: 560px;
    width: 90%;
    position: relative;
    border-top: 5px solid var(--scse-red);
}

#welcome-popup-box h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--scse-blue);
    margin-bottom: 16px;
}

#welcome-popup-box p {
    font-family: "Open Sans";
    font-size: 1rem;
    color: var(--scse-black);
    margin-bottom: 28px;
    text-align: left;
}

#popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--scse-black);
    line-height: 1;
}

#popup-close:hover {
    color: var(--scse-red);
}

#popup-dont-show {
    background: none;
    border: none;
    color: var(--scse-blue);
    font-family: "Open Sans";
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    display: block;
    margin-top: 10px;
}

#popup-dont-show:hover {
    color: var(--scse-red);
}
