/* Color Pallette See: https://ngongroad.org/style-guide/  */


/* Links */
a {
  color: #a25439;
  font-weight: 600;
}

a:hover {
  color: #aa101a;
  text-decoration: none;
}

/* Buttons and Blocks */
.mission-statement {
  background-color: rgba(255, 255, 255, 0.6);
  color: black;
  border-radius: 10px;
  line-height: 1.5;
  padding: 1.33333em;
}

/* Buttons */
button:not(.toggle):not(.uppy-u-reset),
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.bg-accent,
.bg-accent-hover:hover,
.bg-accent-hover:focus,
:root .has-accent-background-color,
.widget .button {
  background-color: #c56747;
  border-color: #c56747;
}

.littlebutton.donatebutton {
  background-color: #c56747;
}

@media screen and (min-width: 800px) {


  .genesis-nav-menu .menu-item.littlebutton.donatebutton:hover a,
  .genesis-nav-menu .menu-item.littlebutton.donatebutton:hover,
  .littlebutton.donatebutton:hover {
    background: #78361f;
    background-color: #78361f;
    color: #ffffff;
  }
  .genesis-nav-menu .menu-item.littlebutton.sponsorbutton:hover a,
  .genesis-nav-menu .menu-item.littlebutton.sponsorbutton:hover,
  .littlebutton.sponsorbutton:hover {
    background: #78361f;
    background-color: #78361f;
    color: #ffffff;
  }

}
.littlebutton.sponsorbutton {
  background-color: #aa101a;
}

.littlebutton.bluebutton {
  background-color: #dc6648; /* Blue */
  border-color:#dc6648;
  margin-bottom: 6px;
  margin-right: 6px;
  color: #fff;
}
.littlebutton.bluebutton:hover {
  background-color: #a25439; /* Blue */
  border-color:#a25439;
  color: #fff;
}

.littlebutton.yellowbutton {
  background-color: #c99d61; /* Yellow */
  border-color:#c99d61;
  margin-bottom: 6px;
  margin-right: 6px;
  color: #fff;
}
.littlebutton.yellowbutton:hover {
  background-color: #a25439;
  border-color:#a25439;
  color: #fff;
}

.littlebutton.sponsorbutton {
  background-color: #aa101a; /* Red */
  border-color:#aa101a;
  color: #fff;
}
.littlebutton.sponsorbutton:hover {
  background-color: #a25439;
  border-color:#a25439;
  color: #fff;
}




.littlebutton a:hover {
  text-decoration: none;
}
.littlebutton .sub-menu a {
  color: #663300;
}
.button:hover {
  background: #aa101a;
  background-color: #aa101a;
  border-color: #aa101a;
  color: #fff;
}

.genesis-nav-menu a {
  font-size: 15px;
  font-weight: 600;
}

img.art-product-image.wp-post-image {
  max-width: 700px;
  max-height: 800px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding-bottom: 32px;
}

/* More Ways Links Block */
.nr-link-list div {
  padding: 30px 25px 20px;
  border: 1px solid #dfc4a0;
}

.nr-link-list ul {
  margin-left: 2px !important;
}

.nr-link-list ul > li {
  list-style-type: none;
}

.nr-link-list ul > li > a {
  font-weight: 400;
  display: block;
  margin-bottom: 5px;
  color: #663300;
}

.nr-link-list ul > li > a:hover {
  color: #dc6648;
  font-weight: 600;
}

/* Forms */
div#gform_confirmation_message_28 {
  padding: 20px;
  margin: 32px 20px 20px 20px;
  font-weight: bold;
}

a.littlebutton.btn-new-message.button {
  float: right;
}

.page-id-27882 .gform_wrapper, .page-id-20 .gform_wrapper {
  border-radius: 5px;
  background-color: #dfc4a0;
  color:#663300;
  padding: 30px;
  margin-top: 5px !important;
}

.page-id-20 .gfield_label, .page-id-27882 .gfield_label {
  color:#663300;
}

.page-id-20 .gform_button, .page-id-27882 .gform_button {
  background-color: #dc6648;
}
.page-id-20 .gform_button:hover, .page-id-27882 .gform_button:hover {
  background-color: #a25439;
}

.page-id-27882 .gform_wrapper span.gform_description {
    font-size: 24px;
    color: #a25439;
    font-weight: 600;
}

.ginput_price {
  display: none;
}

.gfp_big_button li label {
  padding-left: 10px !important;
}

input[type="checkbox"], input[type="radio"] {
  margin-top: 0px !important;
}

.gf-no-label {
  margin-top: 0px !important;
  line-height: 1.2em;
}
#label_6_4_1 {
  line-height: 1.2em;
}

.gform_wrapper ul.gfield_radio li label {
  vertical-align: top;
}

#gform-stripe-card-element-errors {
  color: #c02b0a;
  font-weight: bold;
}

.gform_ajax_spinner {
  margin-left: 0.5em;
}

/* New Message Modal */
.uppy-u-reset.uppy-Dashboard-browse:hover {
  border: 0;
  color: #aa101a;
}
.uppy-StatusBar-actionBtn--done {
  pointer-events: none; 
  opacity: 0.5; 
  cursor: not-allowed;
}
.uppy-u-reset.uppy-Dashboard-browse {
  border: 0;
  color: #a25439;
}
.new-message-cancel {
  background-color: #FFF;
  position: absolute; right: 0;
}
.new-message-cancel button:hover{
  background-color: #FFF;
}
.new-message-con {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  z-index: 1001;
}
.new-message-inner-con {
  width: 750px;
  max-width: 75%;
  background-color: #fff;
  position: absolute;
  top: 85px;
  left: 50%;
  transform: translate(-50%);
  z-index: 1002;
  max-height: 90%;
  overflow-y: auto;
}

.gform_validation_errors,
.partial_entry_warning {
  margin-top: 60px !important;
}

.new-message-inner-con .message {
  display: block;
  color: #eee;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 50px;
  line-height: 50px;
}
.new-message-inner-con .new-message-cancel {
  display: inline-block;
  color: #ccc;
  text-transform: uppercase;
  margin-top: 5px;
  font-weight: 600;
  border: 0;
}
.new-message-inner-con .new-message-cancel:hover {
  color: #fff;
  cursor: pointer;
}
.new-message-inner-con .gform_wrapper {
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 15px;
}

@media (max-width: 768px) {
  .new-message-inner-con {
    width: 100%;
    max-width: 100%;
    top: 0;
    height: 100%;
    max-height: 100%;
  }

  .new-message-inner-con .gform_wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .correspondence-list .message {
    grid-area: message;
  }

  .gform_fields textarea {
    min-height: 60px;
  }
}

.uppy-Dashboard-Item-name {
  display: none;
}

div#gform_confirmation_message_25 {
  padding: 25px;
  font-weight: 600;
}

/* Make it Monthly Margin Fix */
li#field_21_4 {
  margin-top: -36px;
  margin-bottom: 30px;
}

body #input_16_1 {
  width: 100%;
}

.fonrBrown a {
  color: #ffffff;
}


/* Layout */
.title-area {
  width: 200px;
}

.one-half div.aesop-component {
  margin-top: 0;
  margin-bottom: 0;
}
.reversed-callout {
  position: relative; /* Changed from absolute to relative */
  bottom: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  background-color: rgba(43, 42, 42);
  background-color: rgba(43, 42, 42, 0.5);
  font-weight: bold;
  padding: 10px 5px;
  margin-top: 0; /* Ensure no space between front-page-1 and reversed-callout */
}

.button-group {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: #272727;
    padding: 1em;
}

.button-group .button {
    padding: 10px 20px;
    background-color: #c99d61;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border: none !important;
    margin: 10px;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

/* Special button styling for Donate Now */
.button-group .button#donate-now-button {
    background-color: #aa101a;
}

.button-group .button#donate-now-button:hover {
    background-color: #a25439;
}

.front-page-1 .image-section img {
    width: auto;
    height: 80vh !important;
    max-height: 80vh; 
    object-fit: contain;
}
/* Reduce the height of front-page-1 on smaller devices */
@media only screen and (max-width: 767px) {
    .button-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Two buttons per row */
        gap: 10px;
        justify-items: center;
        align-items: stretch; /* Ensure all buttons have the same height */
    }
    .button-group .button {
        width: 100%;
        padding: 10px;
        margin: 0;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%; /* Make buttons take full available height */
        box-sizing: border-box; /* Include padding in height calculation */
        white-space: normal; /* Allow text to wrap inside the button */
        word-wrap: break-word; /* Break words that are too long */
    }
}
/* Media query for small screens */
@media (max-width: 768px) {
  .reversed-callout {
    padding: 5px 2px; /* Reduce padding */
    font-size: 14px;    /* Adjust font size for readability */
  }
}

/* Media query for extra small screens */
@media (max-width: 480px) {
  .reversed-callout {
    padding: 3px 2px;  /* Further reduce padding */
    font-size: 12px;    /* Smaller font size */
  }
}
/* Accomplishments Section */
#front-page-4 .solid-section {
  text-align: left;
}
#front-page-4 .solid-section .widgettitle {
  text-align: center;
}
#front-page-4 .solid-section .center{
  text-align: center;
  font-weight: bold;
}
#front-page-4 .solid-section .one-half img {
  display: block;
  margin: 0 auto;
}
.sidebar {
  margin-top: 170px;
}
.has-featured-image .sidebar {
  margin-top: 0;
}
.widget ul li {
	margin-bottom: 10px;
  padding: 0;
}
.widget ul li a{
	font-weight: 400;
}
.sidebar-menu, .widget_nav_menu {
  margin-top: 0;
}
.sidebar-menu, .widget_subpages, .widget_nav_menu  {
  padding: 30px 20px 20px;
  border: 1px solid #dfc4a0;
}
.sidebar-menu a, .widget_subpages a, .widget_nav_menu a {
  color: #663300;
}
.widget_nav_menu .sub-menu a {
  font-weight: 400;
}
.sidebar-menu a:hover, .widget_subpages a:hover, .widget_nav_menu a:hover {
  text-decoration: none;
  color: rgb(204,153,102);
}
.widget_subpages_current_page, .widget_nav_menu .current-menu-item {
  font-weight: bold;
}
.sidebar .menu > li,
#menu-supportive-community > li,
#menu-schools > li {
  margin-bottom: 20px;
}
#menu-donation-options > li {
  margin-bottom: 10px;
}
.sidebar .menu > li.menu-item > a,
#menu-supportive-community > li.menu-item > a,
#menu-schools > li.menu-item > a {
  font-weight: 600;
  font-size: 21px;
  display: block;
  margin-bottom: 5px;
}
#menu-donation-options  li.menu-item  a {
  font-weight: 400;
  margin-left:15px;
}
.sidebar .menu li  ul.sub-menu li,
#menu-supportive-community li  ul.sub-menu li,
#menu-schools li  ul.sub-menu li {
  margin-left:15px;
}
.sidebar .menu .menu-item-has-children a,
#menu-supportive-community .menu-item-has-children a,
#menu-schools .menu-item-has-children a {
  color: #663300;
  font-size: 18px;
  font-weight: 400;
}
.sidebar .menu .menu-item-has-children a:hover,
#menu-supportive-community .menu-item-has-children a:hover,
#menu-schools .menu-item-has-children a:hover {
  color: #663300;
}
.sidebar .menu .sub-menu a,
#menu-supportive-community .sub-menu a,
#menu-schools .sub-menu a {
  color: #663300;
  font-size: 18px;
}
.sidebar .menu .sub-menu a:hover,
#menu-donation-options a:hover,
#menu-supportive-community .sub-menu a:hover,
#menu-schools .sub-menu a:hover {
  color: #a25439;
}
.sidebar .menu .sub-menu .current-menu-item a,
#menu-donation-options li.current-menu-item a,
#menu-supportive-community .sub-menu .current-menu-item a,
#menu-schools .sub-menu .current-menu-item a {
  color: #a25439;
  font-weight: 600;
}
.sidebar {
  width: 300px;
}
.content {
  width: 840px;
}

.widget_nav_menu .menu .submenu li a {
  font-weight: 400 !important;
}

@media only screen and (max-width: 1200px) {
  .content {
    width: 600px;
  }
}
@media only screen and (max-width: 1010px) {
  .sidebar {
    margin-top: 0px;
  }
  .content,
  .sidebar,
  .site-header .widget-area,
  .title-area {
    width: 100%;
  }

}

.image-section {
  /* less shading overlay for photos that are too dark */
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom,
  rgba(102, 51, 0, 0.0) 0%,
  rgba(0, 0, 0, 0.0) 65%,
  rgba(0, 0, 0, 0.6) 87%,
  rgba(0, 0, 0, 0.85) 100%)
  repeat scroll 0 0;
  /* more shading
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom,
  rgba(102, 51, 0, 0.0) 0%,
  rgba(0, 0, 0, 0.3) 60%,
  rgba(0, 0, 0, 0.6) 87%,
  rgba(0, 0, 0, 0.85) 100%)
  repeat scroll 0 0;
  */
}

.banner-image {
  width: 100%;
  margin: 0;
}

.childprofile {
  margin-bottom: 15px;
  text-align: center;
}

.childgriditem {
  min-height: 370px;
}

.child-block {
  display: inline-block;
  padding-top: 35px;
  width: 100%;
}

.childprofile span {
  display: block;
}

.childprofile .brownlink{
  margin-top: .5em;
}

.brownlink a {
  background-color: #663300;
  border-radius: 5px;
  padding: 0 20px 0 30px;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  display: inline-block; /* Ensure the link behaves as a block for padding */
}
/* Adjust the font size and padding for smaller screens */
@media (max-width: 768px) {
  .brownlink a {
    font-size: 14px; /* Smaller font size for smaller screens */
    padding: 8px 16px; /* Adjust padding as needed */
  }
}

/* Full-width buttons for very small screens */
@media (max-width: 480px) {
  .brownlink a {
    display: block; /* Make the link full-width */
    width: 100%;
    box-sizing: border-box; /* Include padding in width calculation */
    margin-bottom: 10px; /* Add some space between stacked links */
  }
}

.brownlink a:after {
  content: ' \25BA';
  font-size: 75%;
}

.brownlink a:hover {
  background-color: rgb(204, 153, 102);
  color: #fff;
}

.entry-content ul > li > ul > li {
  list-style-type: circle;
}

.credits {
  text-align: center;
  padding: 20px 0;
  font-size: 15px;
  color: #dc6648;
}
.site-inner {
  margin-top: 100px;
  margin-bottom: 60px;
}

.entry-header {
  margin: 60px 0 0 0 !important;
}

.brownlink {
  /*background-color: #663300;*/
  border-radius: 10px;
  padding: 0 10px;
  color: #ffffff;
}
.footerlogowrap {
  text-align: right;
  position: absolute;
  width: 100%;
  margin: 0 auto;
  height: 49px;
  background-color: #663300; /* dark brown */
  left: 0;
}

.footerlogo {
  position: relative;
  top: -32px;
  z-index: 10000
}

/* Polaroid Picture Effect */
figure, figcaption {
  display: block;
}
.polaroid{
  display: inline-block;
  padding:0px 20px;
}
.polaroid figure{
  float:left;
  position:relative;
  width:200px;
  margin:10px 20px;
  padding: 6px 8px 10px 8px;
  -webkit-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
  -moz-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
  box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
  background: #eee6d8;
  background: -webkit-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
  background: -moz-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
  background: -o-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
  background: -ms-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
  background: linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
  -webkit-transform:rotate(2deg);
  -moz-transform: rotate(2deg);
  -o-transform: rotate(2deg);
  -ms-transform: rotate(2deg);
  transform: rotate(2deg);
  -webkit-backface-visibility:hidden; /*prevent rotated text being jagged in Chrome and Safari*/
  -webkit-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
  -moz-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
  box-shadow: -4px 4px 8px -4px rgba(0, 0, 0, .75);
}
.polaroid figure:before {
  content: '';
  display: block;
  position: absolute;
  left:5px;
  top: -15px;
  width: 75px;
  height: 25px;
  background-color: rgba(222,220,198,0.7);
  left:150px;
  top: -15px;
  width: 55px;
  height: 25px;
  -webkit-transform: rotate(12deg);
  -moz-transform: rotate(12deg);
  -o-transform: rotate(12deg);
  -ms-transform: rotate(12deg);
  transform: rotate(12deg);
}
.polaroid figcaption{
  text-align:center;
  font-size:13px;
  color:#454f40;
  letter-spacing:0.09em;
}
/**IE Hacks - see http://css3pie.com/ for more info on how to use CS3Pie and to download the latest version**/
.polaroid figure{
  -pie-background: linear-gradient(#ede1c9, #fef8e2 20%, #f2ebde 60%);
  behavior: url(assets/pie/PIE.htc);
  position:relative; /*required to make PIE work*/
  padding-top:10px\9;
  padding-right:10px\9;
}

.inline-headshot {
  float: left;
  padding-right: 20px;
  padding-bottom: 20px;
}

.child-photos {
  text-align: center;
}

.child-portrait.right-tnail {
  float: right;
  width: 250px;
  padding-left: 15px;
  padding-bottom: 15px;
}

#schoolmap {
  height: 500px;
  margin-bottom: 20px;
}

.oneslide {
  display: inline-block;
  padding: 10px;
}

.hidden {
  display: none;
}

.hide_price_label .ginput_product_price_label {
  display: none;
}

.genesis-nav-menu .sub-menu a {
  background-color: #c99d61;
  background-color: rgba(201,157,97,0.95);
  border-top: 1px solid #dfc4a0;
}
.genesis-nav-menu .sub-menu a:hover {
  background-color: #c99d61;
}
.genesis-nav-menu .sub-menu a:active {
  background-color: #c99d61;
}
/*.genesis-nav-menu .menu-item .sub-menu .current-menu-item {
background-color: rgb(204,153,102);
}*/


/* Easy Digital Downloads */
table#edd_purchase_receipt {
  margin-bottom: 45px;
}
ul.edd_purchase_receipt_files {
  display: none;
}


/* Portal Dashboard */
ul.student-info-list {
  padding-bottom: 20px;
}


@media screen and (min-width: 800px) {


  .genesis-nav-menu .menu-item:hover > a,
  .genesis-nav-menu .menu-item a:hover {
    background-color: #c99d61;
    color: #fff;
  }

  .genesis-nav-menu .menu-item .sub-menu li.current-menu-item a,
  .genesis-nav-menu .menu-item .sub-menu a:hover {
    background-color: #a25439;
  }
    .genesis-nav-menu .sub-menu a:hover,
  .genesis-nav-menu .sub-menu li.current-menu-item > a {
    background-color: rgb(204,153,102);
    color: #fff;
  }
}




.downarrow {
  margin: 60px 0;
}
.row_of_children {
  overflow: hidden;
  margin-top: 140px;
}
.polaroid {
  overflow: hidden;
}

.gfield_label{
  font-weight: bold;
  color: #333;
}

.widget-title{
  font-weight: bold;
  color: #663300;
}
.widget-wrap ul li.cat-item a {
  font-weight: 400;
}
@media only screen and (max-width: 1020px) {
  .title-area {
    width: 100%;
  }
  .site-inner {
    margin-top: 50px;
  }
}
@media only screen and (max-width: 800px) {
  .site-header .genesis-nav-menu.responsive-menu .current-menu-item > a,
  .site-header .genesis-nav-menu.responsive-menu .sub-menu li a,
  .site-header .genesis-nav-menu.responsive-menu .sub-menu li a:hover,
  .site-header .genesis-nav-menu.responsive-menu .sub-menu,
  .site-header .genesis-nav-menu.responsive-menu > .menu-item-has-children:before,
  .site-header .genesis-nav-menu.responsive-menu > li:hover > a,
  .site-header .genesis-nav-menu.responsive-menu a:hover {
    color: #ffffff;
  }
  .site-header .genesis-nav-menu .sub-menu li > a {
    padding: 10px 20px;
  }
  .site-header .genesis-nav-menu .sub-menu li.current-menu-item > a {
    background-color: #c99d61;
    padding: 10px 20px;
  }

  .littlebutton.donatebutton,
  .littlebutton.sponsorbutton {
    background-color: transparent;
  }
  .littlebutton.donatebutton a,
  .littlebutton.donatebutton a:hover {
    color: #dc6648; /* Green */
  }

  .littlebutton.sponsorbutton a,
  .littlebutton.sponsorbutton a:hover {
    color: rgb(212,99,31); /* Orange */
  }

}

.sponsor-news {
  min-height: 160px;
  height: auto;
  margin-bottom: 50px;
}

.sponsor-news ul {
  padding-bottom: 20px;
}


.scanned-docs-section {
    padding-bottom: 35px;
}

.divTableRow {
   display: -webkit-flex;
   display: flex;
   border: 1px solid rgb(192,192,192);
  /*-webkit-flex-direction: column;
   flex-direction: column;*/
   padding: 5px;
}
.answer {
   /* This will be twice as big as the small item. */
   -webkit-flex: 2 0 0;
   flex: 3 0 0;
   padding: 5px;

}
.question {
   -webkit-flex: 1 0 0;
   flex: 1 0 0;
   padding: 5px;
   font-weight: bold;
}

.sectionTitle {
  flex: auto;
  /*border-bottom: 1px solid #000;*/
}

.sectionTitle h2 {
  font-weight: bold;
  padding-top: 40px;
}

.sectionHeader h3 {
  padding-top: 40px;
  font-weight: 500;
}

.back {
  padding-top: 40px;
  font-weight: bolder;
  text-align: center;
}

.correspondence-list {
  margin-top: 1em;
}

.correspondence-list,
.correspondence-list tbody {
  width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
}

.correspondence-list .message-row {
  width: 100%;
  border-top: 1px solid rgba(201, 157, 97, 0.5);
  padding: 0.5em 0.25em;
}

.correspondence-list .button.littlebutton {
  padding: 5px 8px;
  margin-left: 0.5em;
}

.correspondence-list .message-row.draft {
  background-color: rgba(201, 157, 97, 0.25);
}

.correspondence-list .message-toggle {
  cursor: pointer;
}

.correspondence-list .open-indicator:before {
  font-family: FontAwesome;
  margin-right: 0.3em;
}

.correspondence-list .closed .open-indicator:before {
  content: "\f0da";
}

.correspondence-list .open .open-indicator:before {
  content: "\f0d7";
}

.correspondence-list .open .preview,
.correspondence-list .closed .message {
  display: none;
}

.correspondence-list .message-content {
  background-color: #ededed;
}

.inbox-tab.has-unread,
.inbox-tab.has-unread:before,
.correspondence-list tr.unread td:first-child {
  position: relative;
}

.inbox-tab.has-unread:before,
.correspondence-list tr.unread td:first-child:before {
  display: block;
  content: '';
  background-color: #aa101a;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
}

.inbox-tab.has-unread{
  padding-left: 1.5em !important;
}

.inbox-tab.has-unread:before {
  position: absolute;
  left: 0.5em;
  top: 50%; /* Center it vertically */
 transform: translateY(-50%); /* Center it vertically */
 border: 5px solid #aa101a;
}

@media screen and (max-width: 600px) {
  .inbox-tab.has-unread span {
    margin-left: 0.5em;
  }
}

.correspondence-list tr.unread td:first-child:before {
  position: absolute;
  left: -0.75em;
  top: 0.5em;
}

.correspondence-list .message-content td {
  padding: 0.333em;
}

.correspondence-list .attachments img {
  margin: 0.5em;
}

.correspondence-list .attachments > div:has(iframe) {
  position: relative;
}

.correspondence-list .attachments > div > iframe {
  border: none;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
}

.correspondence-list .sender {
  font-weight: 700;
  grid-area: sender;
}

.correspondence-list .status {
  grid-area: status;
  width: max-content;
}

.correspondence-list .date {
  grid-area: date;
  width: max-content;
}

.correspondence-list .subject {
  grid-area: subject;
}

.correspondence-list .preview {
  grid-area: preview;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 0.75em;
}

.correspondence-list .message {
  grid-area: message;
}

.correspondence-list .message-row {
  display: grid;
  column-gap: 8px;
  grid-template-areas:
    'sender sender'
    'status date'
    'subject subject'
    'preview preview'
    'message message';
}

@media screen and (min-width: 781px) {
  .correspondence-list .message-row {
    grid-template-columns: [sender] 2fr [status] max-content [date] max-content;
    grid-template-areas:
      'sender status date'
      'subject subject subject'
      'preview preview preview'
      'message message message';
  }
}

@media screen and (max-width: 780px) {
  .correspondence-list,
  .correspondence-list tbody,
  .correspondence-list tr,
  .correspondence-list td {
    display: block;
    width: 100%;
  }
}
/* Custom CSS For The News Post Page */
/*---------------------------------------
  NEWS         
-----------------------------------------*/
.news-block-top {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.news-block-two-col-image-wrap {
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
  width: 150px;
  margin-right: 20px;
}

.news-category-block {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 10px 20px;
}

.news-category-block .category-block-link {
  margin-right: 10px;
}

.news-block-info {
  padding-top: 10px;
  padding-bottom: 10px;
}



.news-detail-image {
  display: block;
  border-radius: var(--border-radius-medium);
}

blockquote {
  border-radius: var(--border-radius-small);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-semibold);
  color: var(--site-footer-bg-color);
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 90px 50px 50px 50px;
  text-align: center;
}

blockquote::before {
  content: "“";
  font-size: 100px;
  line-height: 1rem;
  display: block;
}

.author-comment-link {
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-semibold);
}

.search-form {
  margin-top: 20px;
}

.category-block,
.subscribe-form {
  margin-top: 40px;
  margin-bottom: 40px;
}

.category-block-link {
  font-size: var(--copyright-font-size);
  margin-top: 5px;
  margin-bottom: 5px;
}

.category-block-link:hover {
  color: var(--primary-color);
}

.badge {
  border-radius: var(--border-radius-medium);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding-bottom: 2px;
}

.tags-block-link {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  display: inline-block;
  font-size: var(--copyright-font-size);
  line-height: normal;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 8px 15px;
}

.tags-block-link:hover {
  border-color: var(--dark-color);
  color: var(--dark-color);
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -100px;
  left: -30px;
  margin: auto;
  width: 200px;
  height: 200px;
}

.cta-section::after {
  content: "";
  border: 20px solid var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -100px;
  right: 0;
  left: 0;
  margin: auto;
  width: 150px;
  height: 150px;
}
a{
  text-decoration: none;
  color: #a25439;
}

/*added css to fix student titles on sponsor page - Washingtone 19-01-2024*/
.childgallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px; /* Space between child profiles */
}

.childgallery .childgriditem {
  flex: 0 1 auto; /* Do not grow, allow shrink, and base size is auto */
  width: calc(30% - 8px); /* Adjust width to account for the gap */
  margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .childgallery .childgriditem {
    flex: 1 1 45%; /* Adjust for smaller screens */
  }
}

@media (max-width: 480px) {
  .childgallery .childgriditem {
    flex: 1 1 100%; /* Full width for very small screens */
  }
}

/*new css for Team members*/
.teamprofile {
  display: flex;
  flex: 0 0 calc(33.333% - 20px);
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
  box-sizing: border-box;
  text-align: center;
  width: auto;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.teamgriditem {
  min-height: 300px;
  margin-bottom: 5px;
}

.job-title-content {
  margin-bottom: 5px;
  text-align: center;
  font-weight: bold;
}

.teamprofile .teamname {
  display: inline-block !important;
}

.team-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-gallery .teamgriditem {
  flex: 1 1 30%; 
  margin-bottom: 20px; 
  max-width: 350px;
}

.teamgallery-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
}

.teamgallery-row:not(:first-child) {
  margin-top: 40px !important;
}

.team-member-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 10px;
}

.team-member-image img,
.team-member-image svg {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
  object-position: top center;
}

/* Specific SVG styling */
.team-member-image svg {
  padding: 20%;
  background-color: #a25439;
  fill: none;
  stroke: #fff;
}

.excerpt-content {
  text-align: center;
  font-style: italic;
  color: #555;
}

.learn-more-button {
  display: block;
  text-align: center;
  margin-top: 10px;
  background-color: #a25439;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.learn-more-button:hover {
  background-color: #78361f;
  color: white;
}

.teamname .dashicons {
  vertical-align: middle;
}

/* Clear margin for the last team member in each row */
.teamprofile:nth-child(3n) {
  margin-right: 0;
}

/* Add media query for smaller screens */
@media screen and (max-width: 768px) {
  .teamprofile {
    flex: 0 0 calc(50% - 20px);
    margin-right: 0;
  }
}
/* Adjustments for very small screens (Smartphones) */
@media screen and (max-width: 480px) {
  .teamprofile {
      flex: 0 0 100%;
      margin-right: 0;
  }
  .team-member-image, .team-member-image img {
      width: 150px;
      height: 150px;
  }
}
/* Optional: Adjustments for larger screens */
@media screen and (min-width: 1024px) {
  .teamprofile {
      flex: 0 0 calc(25% - 20px);
  }
}

/*added css for the optimized student sponsor portal - Washingtone*/
.child-title-bar h2{
  margin-bottom: 0;
  border-width: 2px 1px 0px 1px;
  border-style: solid;
  border-color: #a25439;
  box-sizing: border-box;
  background: #dc6648;
  color: #fff;
  padding:  8px 5px 8px 20px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.3em;
}
.child-profile{
  border-width: 0px 1px 1px 1px;
  border-style: solid;
  border-color: #a25439;
  box-sizing: border-box;
}
.inbox, 
.photos{
  border-width: 1px 1px 1px 1px;
  border-style: solid;
  border-color: #a25439; 
}
.file-downloads{
  border-width: 1px 1px 1px 1px;
  border-style: solid;
  border-color: #a25439;
}
.child-profile-container {
  display: flex;
  flex-direction: row; 
  align-items: flex-start; 
}
.child-email-container,
.child-photo-container{
  padding-top: 0 !important;
}
.child-photo-container{
  padding-bottom: 0 !important;
}
.child-image-container, .child-info-container {
  padding: 10px;
}
.child-image-container {
  width: 40%;
  margin-right: 10%;
}
.child-info-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.portal-nav {
  margin-top: 2rem;
  display: flex; 
  justify-content: space-between;
  align-items: center;
}
.portal-nav > * {
  margin-right: 0.1em;
}
.portal-nav > *:last-child {
  margin-right: 0;
}
.portal-nav a {
  margin-right: 10px; 
  padding: 5px 10px !important;
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
}
.portal-nav a:last-child {
  margin-right: 0;
}
.portal-nav .button{
  background-color: #e26648 !important;
  border-color: #e26648 !important;
  font-size: 0.8em !important;
}
.portal-nav .button:hover {
  background-color: #c56747 !important;
  border-color: #c56747 !important;
 }
.child-item {
  flex: 0 0 calc(30% - 10px);
  margin-bottom: 20px;
  text-align: center;
}
.child-item img {
  width: auto; 
  height: 300px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}
.child-name {
  display: block;
  text-align: center;
}
.child-name .dashicons{
  vertical-align: middle;
}
.file-downloads .toggle {
  pointer-events: none;
}
.school-marks-list li {
  border-bottom: none;
 }
.sponsor-children {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2.9em;
}

/* School marks list columns */
.school-marks-list {
  column-count: 1;
  column-gap: 1em; /* Reduced column gap */
  padding: 0;
  list-style: none;
}
.school-marks-list.two-columns {
  column-count: 2;
}
.school-marks-list.three-columns {
  column-count: 3;
}
.school-marks-list li {
  break-inside: avoid;
  padding: 0;
}

/* Title bar styling for inbox, photos, and marks */
.inbox-title-bar h2,
.photos-title-bar h2,
.marks-title-bar h2 {
  background: #dc6648;
  color: #fff;
  padding: 8px 5px 8px 20px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.3em;
}

.marks-title-bar, .photos-title-bar, .inbox-title-bar {
  scroll-margin-top: 80px; /* Adjust if you have a sticky header */
  cursor: pointer;
}

.toggle-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.toggle-tab .right-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 2%;
}

.toggle-tab .dashicons {
  margin-left: auto;
  margin-right: 2%;
}

/* Button styles */
.button.back-to-all-students,
.button.inbox-tab,
.button.photos-link,
.button.school-marks {
  padding: 8px 20px;
}
.button.scroll-to-top {
  position: fixed;
  bottom: 4vh;
  right: 6vw;
  z-index: 1000;
  padding: 8px 20px;
}

/* Portal navigation */
.portal-bottom-nav {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
}
.portal-up-nav {
  display: flex;
  justify-content: flex-end;
}

/* Horizontal rule styling */
.child-email-container hr,
.all-sponsor-children hr {
  margin-top: 4%;
  margin-bottom: 2%;
  padding: 0;
  border: none;
  border-top: 1px solid rgb(141, 141, 141);
  height: 1px;
}

/* Birthday age layout */
.birthday-age {
  display: flex;
  align-items: flex-start;
}
.birthday {
  margin-right: 10px; /* Reduced margin */
}

/* Accordion padding adjustments */
.accordion .accordion-content {
  padding: 0 !important;
}

/* Child item styling */
.child-item .user-icon {
  font-size: 300px;
  width: 300px;
  height: 300px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  color: #dc6648;
  margin-bottom: -25px;
}

/* Spinner and button styling */
.load-more-photos-spinner {
  display: none;
  margin-left: 10px;
}
.shore-more-photos-btn {
  display: inline-block;
  vertical-align: middle;
  padding-left: 3%; /* Reduced padding */
}

.child-photo-container .gallery-item {
  margin-bottom: 10px; /* Reduced bottom margin */
}

.draft-buttons, .draft-date-buttons{
  display: flex;
}

/* Mobile styling for screens below 768px */
@media (max-width: 767px) {
  .school-marks-list,
  .school-marks-list.two-columns,
  .school-marks-list.three-columns {
    display: block !important;
    column-count: 1 !important;
  }
  .child-photo-container .gallery {
    display: flex !important;
    flex-wrap: wrap;
    gap: 2%; /* Added a small gap between gallery items */
  }
  .child-photo-container .gallery-item {
    width: 48%; /* Make images take up less space to reduce gap */
    margin-bottom: 5%; /* Reduced margin between images */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .child-photo-container .gallery-item figure {
    object-fit: cover;
  }
  .school-marks-list li {
    width: 100% !important;
  }
  .sponsor-children {
    display: block !important;
  }
  .sponsor-children > * {
    width: 100% !important;
  }
  .sponsor-children .child-item img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
  }
  .portal-nav {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1.2rem;
  }
  .portal-nav a {
    margin: 0;
  }
  .portal-nav a:last-child {
    margin: 0;
  }
  .child-item {
    flex: 0 0 calc(50% - 10px);
  }
  .button.scroll-to-top{
    padding: 5px 5px;
    bottom: 3vh;
    right: 3vw;
  }
  .birthday-age{
    flex-direction: column;
    flex-wrap: wrap;
   }
   .date{
    white-space: nowrap;
   }
   .caseworker-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
   }
   .caseworker-name a {
    flex-basis: 100%;
 }
 .shore-more-btn{
  display: block !important;
  padding-left: 0 !important;
 }

 .more-messages {
  display: block !important;
  margin-top: 1em;
  margin-bottom: 1em;
 }

 .draft-date-buttons{
  display: block;
 }

 .draft-buttons{
  display: flex;
}
 
}

@media (max-width: 1201px) {
  .child-profile-container {
    display: flex; 
    flex-direction: column; 
  }
  .child-image-container, .child-info-container{
    width: 100%;
  }
}

/*Child Bio*/
.child-bio {
  display: flex;
  align-items: flex-start;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
}

.bio-text {
  width: 55%;
  margin-right: 1.25em;
  order: 1;
}

.bio-image {
  width: 45%; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  order: 2;
}

.bio-text ul{
margin-bottom: 2% !important;
margin-left: 0.2em !important;
}

.child-bio li {
  margin-bottom: 0.625em;
}

.bio-text h3{
  color: #a25439;
}

.child-image{
  border-width: 1px 1px 1px 1px;
  border-style: solid;
  border-color: #a25439;
  box-sizing: border-box;
}

.portrait-bio-img img{
  border-radius: 0 !important;
}

.waiting-days h4{
  margin-bottom: 0;
  border-width: 0px 1px 2px 1px;
  border-style: solid;
  border-color: #a25439;
  box-sizing: border-box;
  background: #dc6648;
  color: #fff;
  padding:  8px 5px 8px 20px;
  font-weight: 300;
  font-size: 1.3em;
  text-align: center;
}

.sponsor-link-wrapper {
  width: 80%;
  margin: 0;
  padding: 0;
}

.brownlink.sponsorme {
  text-align: center;
}

.brownlink.sponsorme a {
  line-height: 2.5em;
  display: block;
  padding: 10px;
  border-radius: 5px !important;
  font-size: 1.3em;
  background-color: #aa101a;
}

.brownlink.sponsorme a:hover {
  background-color: rgb(204, 153, 102);
  color: #fff;
}

.children.entry {
  margin-bottom: 0 !important;
}

.sponsorme-btn-2{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sponsorme-btn{
  width: 40%;
  display: none;
}

/* =========================================================
   School-marks template
   ========================================================= */

.report-title {
    margin: 1.5rem 0 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}


/* Section 1: (TOP SECTION) */

.school-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.05rem 1.25rem;
}

.school-card .meta-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
}

.meta-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #222;
}

/* Section 2: SUMMARY (LEFT) + SUBJECTS (RIGHT) */

.report-main-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1.25rem;
    align-items: start;
}

/* LEFT COLUMN: SUMMARY + IMAGE*/

.summary-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.marks-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.marks-summary .summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: px solid #eee;
}

.marks-summary .summary-item:last-child {
    border-bottom: none;
}

.marks-summary .summary-label {
    font-weight: 400;
    color: #374151;
}

.marks-summary .summary-value {
    font-weight: 500;
    color: #374151;
}

.student-photo img.profile-headshot {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #374151;
    margin-top: 8px;
}

.performance-level .summary-value {
    color: #374151; 
    font-weight: 700;
    text-align: right;
}

.mean-grade .summary-value {
    color: #374151; 
    font-weight: 700;
}

.class-rank .summary-value {
    font-weight: 700;
    color: #374151;
}


/* RIGHT COLUMN: GROUPED SUBJECTS */

.subjects-grouped-card {
    height: fit-content;
}

.subjects-grouped-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.25rem;
}

/* Grid container for subjects */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* Individual subject block */
.subject-block {
    background: #f9fafb;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.subject-block:hover {
    transform: translateY(-2px);
}

/* Subject label */
.subject-label {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.25rem;
}

/* Subject mark value */
.subject-value {
    font-weight: 700;
    font-size: 1rem;
}

/* Performance color coding */
.subject-block.high {
    border-left: 4px solid #28a745;
}

.subject-block.medium {
    border-left: 4px solid #7c3aed;
}

.subject-block.low {
    border-left: 4px solid #eab308;
}

.subject-block.extremely-low {
    border-left: 4px solid #dc2626;
}

/* Group performance block */
.subject-group {
    margin-bottom: 1rem;
}

.subject-group strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: #222;
}

.subject-group ul {
    list-style: disc inside;
    margin: 0;
    padding-left: 1rem;
}

.subject-group ul li {
    padding: 0.2rem 0;
    color: #333;
    font-weight: 500;
}

/* Grading Explanation */
.grading-explanation {
    background: #f9fafb;
    border-left: 5px solid #a25439;
    padding: 1rem;
    border-radius: 5px;
}

.back {
    margin-top: 2rem;
}

/* Bullets color coding */
.grading-list li::marker {
    font-size: 1.1em;
}

.grade-high::marker {
    color: #16a34a;
}

/* Yellow (covers 50–79, 30–49, 3, 2) */
.grade-medium::marker{
    color: #7c3aed;
}

.grade-low::marker {
    color: #eab308;
}

/* Red */
.grade-critical::marker {
    color: #dc2626; /* red */
}

/* Postsecondary Performance Highlight */
.subject-block.postsecondary-performance {
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.subject-block.postsecondary-performance .subject-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #c56747;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subject-block.postsecondary-performance .subject-value {
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffffff; 
    background: #c56747;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    margin-top: 6px;
}

/* =========================================================
  SCHOOL MARKS TEMPLATE MOBILE RESPONSIVENESS 
   ========================================================= */

@media (max-width: 768px) {

    .report-title {
        font-size: 1.3rem;
    }

    .school-card {
        grid-template-columns: 1fr;
    }

    .school-card .meta-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.45rem 0;
        border-bottom: 1px dashed #eee;
    }

    .school-card .meta-row:last-child {
        border-bottom: none;
    }

    /* ----- Summary + Subjects ----- */
    .report-main-grid {
        grid-template-columns: 1fr;
    }

    .summary-item {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .subject-group ul li {
        font-size: 0.9rem;
    }

    .hide-on-mobile {
        display: none;
    }
}

/* Flexbox styling for the featuredpage cards */
#front-page-4 .flexible-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch; /* Ensures all cards stretch to the same height */
}

/* Consistent size for featuredpage cards on larger screens */
#front-page-4 .flexible-widgets .featuredpage {
    width: 500px;
    height: 650px; /* Set desired fixed height */
    border-bottom: 8px solid brown;
    padding-bottom: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Responsive ThickBox Modal */
#TB_window {
  max-width: 90% !important;
  width: 100% !important;
  height: auto !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
}

#TB_ajaxContent {
  width: 100% !important;
  height: auto !important;
  padding: 20px;
  box-sizing: border-box;
}
#data-protection-modal{
  display: none;
}

@media (max-width: 480px) {
  #TB_window {
      max-width: 100% !important;
    }
  }

/* Media query for small screens */
@media (max-width: 768px) {
    #front-page-4 .flexible-widgets .featuredpage {
        flex: 1 1 100%; /* Full width in a single column on smaller screens */
        max-width: 100%;
    }
    #TB_window {
      max-width: 95% !important;
    }
}

/* user-icon message */
.user-icon-wrapper {
  position: relative;
  display: inline-block;
}

.overlay-text {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 12px;
  font-weight: light;
  width: 80%;
  padding: 5px;
  border-radius: 5px;
}

.learn-more-btn {
  display: inline-block;
  font-size: 14px; 
  font-weight: bold; 
  margin-top: 10px; 
  text-decoration: none;
  color: #663300;
}

.child-dashicon-info{
  margin-top: -35px;
}

.sponsor-thank-you{
  text-decoration: none; 
  cursor: default; 
  pointer-events: none; 
  text-transform: none; 
  width:100%; 
  border-radius:0 !important; 
  color:black; 
  border-width: 0 1px 0 1px; 
  border-style: solid; 
  border-color: #a25439; 
  background-color: #c99d61;
  letter-spacing: 0.5px !important;
}

.alumni-compose-btn {
  text-decoration: none; 
  cursor: default; 
  pointer-events: none; 
  text-transform: none; 
  background-color: #c99d61;
  letter-spacing: 0;
}

.sponsor-compose-btn{
  text-transform: none;
  letter-spacing: 0;
}

.alumni-profile li{
  line-height: 2.8;
}

.profile-headshot{
  width: 300px; 
  height: 300px; 
  object-fit: cover;
}

.gallery-text{
  padding-left: 3.125em;
}


.premium-footer-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 200px;
    background-color: #a25439;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow: hidden;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transform: translateY(0);
    transition: transform 0.3s ease, width 0.3s ease;
    padding-bottom: 10px;
}

/* Mobile styles (applies to screens 600px and below) */
@media only screen and (max-width: 600px) {
  .premium-footer-container {
      width: 160px;
      right: 50%;
      margin-right: -80px; /* Half of width to center */
      bottom: 20px;
  }
  
  .premium-footer-header {
      padding: 8px 10px 3px;
  }
  
  .premium-footer-header .dashicons {
      font-size: 22px;
      width: 22px;
      height: 22px;
  }
  
  .premium-footer-content {
      padding: 0 8px;
  }
  
  .premium-footer-content p {
      font-size: 11px;
      line-height: 1.2;
      margin-bottom: 6px;
  }
  
  .premium-footer-link {
      padding: 4px 8px;
      font-size: 10px;
  }
  
  .premium-footer-close {
      font-size: 14px;
      top: 3px;
      right: 3px;
  }

  .portal-up-nav, .portal-bottom-nav {
    justify-content: center;
  }

  .new-message {
    float: left !important;
  }

  #loginform-custom, .entry-content{
    margin: 0 30px;
  }

  .inbox-content h3 {
    display: block;
    width: 100%;
    clear: both;
    margin-top: 3em;
  }

  .alumni-inbox-msg {
    float: left !important;
  }
}

.premium-footer-container:hover {
    transform: translateY(-5px);
}

.premium-footer-header {
    position: relative;
    padding: 12px 15px 5px;
    text-align: center;
}

.premium-footer-header .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: white;
    margin-bottom: 5px;
}

.premium-footer-content {
    padding: 0 10px;
    text-align: center;
}

.premium-footer-content p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.3;
}

.premium-footer-link {
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-bottom: 5px;
}

.premium-footer-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.premium-footer-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 3px;
    border-radius: 50%;
}

.premium-footer-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}

.student-resources-dashboard, .sponsor-portal-logout{
  margin-left: 20px;
}

#loginform-custom{
  margin: 0 30px;
}

/*** Our Teams Section ***/
.our-teams-section {
    padding: 80px 0;
    text-align: left;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.our-teams-subtitle {
    font-size: 16px;
    color: #000;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.our-teams-title {
    font-size: 60px;
    font-weight: 500;
    color: #000;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.our-teams-description {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    max-width: 550px;
    margin: 0 0 50px 0;
}

/* Cards grid */
.our-teams-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
}

.our-teams-profile {
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
    max-width: 260px;
    display: flex;
    flex-direction: column;
}

/* Image area */
.our-teams-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    display: block;
}

/* Info bar */
.our-teams-info {
    background-color: #A25439;
    padding: 18px 15px;
    color: #000;
    text-align: left;
    border-radius: 0 0 18px 18px;
}

.our-teams-name {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.our-teams-role,
.our-teams-org {
    font-size: 13px;
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
}

.our-teams-button {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #A25439;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #A25439;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
}

.our-teams-button:hover {
    background: #A25439;
    color: #fff;
}

@media (max-width: 1200px) {
    .our-teams-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .our-teams-gallery {
        grid-template-columns: 1fr;
    }
    .our-teams-description {
        max-width: 100%;
    }
}

/*Home Page Refresh */
:root {
  --primary-color: #f2eee8;
  --padding-primary: 0 80px;
  --padding-secondary: 0 60px;
  --primary-font-size: 20px;
}

/*
   Brandon Grotesque Fonts - Placed in /fonts/brandon/
*/
@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-Thin.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-ThinItalic.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-ThinItalic.woff') format('woff');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-Light.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-LightItalic.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-Regular.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-RegularItalic.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-Medium.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-MediumItalic.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-Bold.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-BoldItalic.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-Black.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HvDTrial Brandon Grotesque';
  src: url('fonts/brandon/HvDTrial_BrandonGrotesque-BlackItalic.woff2') format('woff2'),
       url('fonts/brandon/HvDTrial_BrandonGrotesque-BlackItalic.woff') format('woff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
  overflow-x: clip;
}

body *:not(.dashicons) {
  font-family: 'HvDTrial Brandon Grotesque', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

h1{
  letter-spacing: 5px !important;
  padding: 0 0 5px 0;
  font-size: 4em;
}

h4{
  font-weight: 600;
  font-size: 20px !important;
  letter-spacing: 2px !important;
}

p{
  font-size: var(--primary-font-size) !important;
}

.gform_wrapper input,
.gform_wrapper textarea,
.gform_wrapper select {
    font-weight: 500;
    padding:0.3rem 0.3rem;
}
.gform_wrapper input[type="checkbox"],
.gform_wrapper input[type="radio"] {
    accent-color: #aa101a;
}
input, textarea, select {
    font-weight: 500 !important;
}
input[type="checkbox"],
input[type="radio"] {
    accent-color: #aa101a;
}

.entry{
  margin-bottom: 0 !important;
}

.btn-primary {
  background-color: #aa101a; /* Red */
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 12px;
  display: inline-block;
  border: 1px solid #aa101a;
  border-radius: 15px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
}
.btn-primary:hover {
  background-color: #a25439 !important; /* Darker brown on hover */
  border: 1px solid #a25439 !important;
  color: white !important;

}

/* Learn More Button (Secondary) */
.btn-secondary {
  background-color: #c99d61; /* Tan */
  color: black !important;
  padding: 12px 24px;
  border: 1px solid #c99d61;
  border-radius: 15px;
  background-color: #c99d61;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  letter-spacing: 2px;
}
.btn-secondary:hover, .secondary-btn a:hover, .secondary-btn-2 a:hover, .secondary-btn-3 a:hover {
  background-color: #a8753f !important;
  color: white !important;
}

.secondary-btn a{
  color: black !important;
  padding: 12px 24px;
  border: 1px solid #c99d61 !important;
  border-radius: 15px !important;
  background-color: #c99d61 !important;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 2px;
}
.secondary-btn-2 a{
  color: #c99d61 !important;
  padding: 12px 24px;
  border: 1px solid #c99d61;
  border-radius: 15px !important;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  background-color: transparent !important;
  letter-spacing: 2px;
}
.secondary-btn-3 a{
  color: #A25439 !important;
  padding: 12px 24px;
  border: 1px solid #A25439;
  border-radius: 15px !important;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  background-color: transparent;
  letter-spacing: 2px;
}

.btn-link{
  color: #c99d61 !important;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  border: 1px solid #c99d61;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
}
.btn-link:hover{
  background: #a8753f;
  color: white !important;
}

.btn-link-2, .learn-more-abt-us a {
  background-color: #FFFFFF !important;
  color: #a25439 !important;
  border: none;
  padding: 15px 25px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 15px;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  margin-top: 20px;
}
.btn-link-2:hover, .learn-more-abt-us a:hover {
  color: #ffffff !important;
  border: none;
  background-color: #c99d61 !important;
}

.our-teams-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

.btn-link-3 {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #A25439;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #A25439;
  background: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 2px;
}
.btn-link-3:hover {
  background: #A25439;
  color: #fff !important;
}

.btn-submit {
  background-color: #e26648; /* Burnt Orange */
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 15px;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  letter-spacing: 2px;
}
.btn-submit:hover {
  background-color: #c99d61;
}

.btn-alert {
  background-color: #aa101a !important;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 15px;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  letter-spacing: 2px;
}
.btn-alert:hover {
  color: white !important;
}

.nr-site-banner {
  position: fixed;
  top: 112px;
  right: 32px;
  width: min(380px, calc(100vw - 32px));
  background: #fff;
  border: 8px solid #c99d61;
  border-radius: 10px;
  box-shadow: 0 0 0 4px rgba(201, 157, 97, 0.24), 0 0 28px rgba(201, 157, 97, 0.45), 0 18px 45px rgba(0, 0, 0, 0.18);
  animation: nr-site-banner-glow 1.8s ease-in-out infinite;
  z-index: 2000000000;
  overflow: hidden;
}

@keyframes nr-site-banner-glow {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(201, 157, 97, 0.24), 0 0 22px rgba(201, 157, 97, 0.36), 0 18px 45px rgba(0, 0, 0, 0.18);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(201, 157, 97, 0.44), 0 0 44px rgba(201, 157, 97, 0.78), 0 20px 48px rgba(0, 0, 0, 0.24);
  }
}

.nr-site-banner__close {
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  border: 0;
  padding: 18px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  z-index: 2;
}

.nr-site-banner__close:hover,
.nr-site-banner__close:focus {
  background-color: #d6170d !important;
  color: #fff;
}

.nr-site-banner__media img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.nr-site-banner__body {
  padding: 26px 24px 28px;
  text-align: center;
}

.nr-site-banner__message {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}

.site-header, .site-header.dark{
  background-color: var(--primary-color);
  padding: 0;
}
.site-header.dark .genesis-nav-menu a {
	padding: 30px 15px;
}
.site-header.dark .genesis-nav-menu .sub-menu .menu-item a{
  padding: 20px !important;
}
.header-image .title-area, .header-image .site-header.dark .title-area{
  padding: 15px 0;
}
.nav-primary .genesis-nav-menu {
  margin-bottom: 0 ;
}
.header-image .site-title > a, .header-image .dark .site-title > a{
  height: 50px;
}
.genesis-nav-menu a{
  color: black;
  margin-right: 30px;
}
.menu-item-has-children .menu-item-type-post_type a{
  margin-right: 0 !important;
}
/* Target only second-level submenu */
.genesis-nav-menu .sub-menu .sub-menu {
  padding: 0 !important;
}
.genesis-nav-menu .menu-item-has-children > a::after {
  font-family: "Dashicons";
  content: "\f347";
  font-size: 13px;
  margin-left: 5px;
  display: inline-block;
}
.genesis-nav-menu{
  margin-right: 10px;
}
.genesis-nav-menu .custom-a > a {
  border-radius: 0 !important;
	padding: 20px !important;
}
.genesis-nav-menu .menu-item-type-custom > a {
  color: black;
  padding: 12px 25px !important;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  border: 1px solid #c99d61;
  border-radius: 15px;
  margin-right: 20px;
}
.genesis-nav-menu .menu-item-type-custom:last-child > a {
    background-color: #c99d61;
}
.genesis-nav-menu > .menu-item.current-menu-item > a span:after,
.genesis-nav-menu > .menu-item.current-menu-ancestor > a span:after {
  border: none;
}

@media screen and (max-width: 960px) {
  .nr-site-banner {
    right: 16px;
    width: min(340px, calc(100vw - 32px));
  }

  .nr-site-banner__media img {
    height: 200px;
  }

  .nr-site-banner__message {
    font-size: 18px;
  }
}

@media screen and (max-width: 640px) {
  .nr-site-banner {
    right: 12px;
    left: 12px;
    width: auto;
  }

  .nr-site-banner__body {
    padding: 20px 18px 22px;
  }

  .nr-site-banner__message {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .nr-site-banner__cta,
  .nr-site-banner__cta:hover,
  .nr-site-banner__cta:focus {
    width: 100%;
    text-align: center;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Full-width section background stretch */
.full-width-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 100px 0 0 0;
}
.full-width-section .wp-block-cover__inner-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.wp-block-embed__wrapper iframe {
  border-radius: 20px;
  overflow: hidden;
}
.team-section{
  margin-bottom: -80px;
  z-index: 30;
}

.celebration-section, .be-a-friend-section, .our-programs, .our-outcomes{
  margin-top: -20px !important;
  padding-bottom: 50px;
  z-index: 1000;
}
.celebration-section .wp-block-embed__wrapper {
  position: relative;
  width: auto; 
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
}
.celebration-section .wp-block-embed__wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.celebration-section a, .friendship-buttons a{
  margin-top: 20px;
  margin-right: 6px;
}
.celebration-section video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-sizing: border-box;
}
.video-wrapper {
  position: relative;
  width: 100%; 
  height: 500px;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
}

.our-work{
  padding: 30px 0;
}
.our-work img{
  height: 160px !important;
  width: auto;
}
.our-work-section .no-wrap{
  white-space: nowrap !important;
}
.our-work-section a{
  margin-bottom: 60px;
}
.our-outcomes-section {
  padding-bottom: 80px;
  color: #FFF !important;
  z-index: 33 !important;
}
.our-outcomes-section .our-outcomes {
  padding-top: 40px;
}
.our-outcomes-section .our-outcomes .ab-layout-column-wrap {
  display: flex;
  flex-direction: column;
}
.our-outcomes-section h3{
  font-weight: 800;
  font-size: 6em;
  margin-bottom: -0.1em;
}
.our-outcomes-section p{
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}
.quote-section {
  padding: 20px 0 60px 0;
}
.quote-container{
  margin-top: -2em;
}
.quote-mark {
  font-size: 7em !important;
  margin-bottom: -0.5em !important;
  font-family: serif !important;
  font-weight: 600 !important;
}
.quote-text {
  font-size: 1.8em !important;
  color: #333;
  margin-bottom: 1.2em;
}
.two-column-block > div{
  grid-gap: 0 15em !important;
}

/* Target only this form (Form ID 59) */
#gform_wrapper_59 {
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
  padding: 20px;
  border-radius: 15px;
  width: 350px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
}
#gform_wrapper_59 .gform_description {
  display: block !important;
  text-align: left;
  width: calc(100% + 40px);
  margin: -20px -20px 20px -20px;
  font-weight: 600;
  color: #fff;
  padding: 20px;
  border-radius: 15px 15px 0 0;
}
#gform_fields_59{
  grid-row-gap: 0 !important
}
#gform_wrapper_59 h2.gform_title,
#gform_wrapper_59 .gform_description {
  text-align: center;
  color: #272727;
  margin-bottom: 10px;
}
/* --- Frequency Toggle --- */
#gform_wrapper_59 #field_59_15 .gfield_radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}
#gform_wrapper_59 #field_59_15 .gchoice label {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  padding: 6px 0;
}
#gform_wrapper_59 #field_59_15 input {
  display: none;
}
#gform_wrapper_59 #field_59_15 input:checked + label {
  background: #c99d61;
  border-color: #a25439;
  color: #fff;
}
/* --- Preset Amount Buttons --- */
#gform_wrapper_59 #field_59_10 .gfield_radio {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
}
/* Reset each choice so it behaves as a grid item */
#gform_wrapper_59 #field_59_10 .gchoice {
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  max-width: none !important;
  box-sizing: border-box;
}
/* Label styled as button */
#gform_wrapper_59 #field_59_10 .gchoice label {
  display: block;
  padding: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f4f4f4;
}
/* Hide radios */
#gform_wrapper_59 #field_59_10 input {
  display: none !important;
}
#gform_wrapper_59 .gfield-choice-input + label {
  max-width: none !important;
}
/* Checked state */
#gform_wrapper_59 #field_59_10 input:checked + label {
  background: #c99d61;
  border-color: #a25439;
  color: #fff;
}
/* --- Other Amount --- */
#gform_wrapper_59 #field_59_16 {
  margin-top: 10px;
}
#gform_wrapper_59 #input_59_16 {
  display: block;
  width: 100%;
  padding: 5px 8px !important;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  box-sizing: border-box;
  outline: none;
  background: #fff;
}
#gform_wrapper_59 #input_59_16:focus {
  border-color: #a25439;
  box-shadow: 0 0 4px rgba(162, 84, 57, 0.5);
}
#gform_wrapper_59 #gfield_instruction_59_16{
display: none !important;
}
/* --- Note / Comment Checkbox --- */
#gform_wrapper_59 #field_59_12 label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}
#gform_wrapper_59 #input_59_13 {
  display: none;
  margin-top: 8px;
  padding: 10px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  height: 60px !important;
  font-weight: 500;
}
/* --- Submit Button --- */
#gform_wrapper_59 .gform_button{
  background-color: #a25439; /* Red */
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 12px;
  display: inline-block;
  border: 1px solid #a25439;
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
  width: 100%;
}
#gform_wrapper_59 .gform_button:hover {
  background-color: #aa101a !important;
  border: 1px solid #aa101a !important;
  color: white !important;

}
/* --- Footer Disclaimer --- */
#gform_wrapper_59:after {
  content: "Organized by Friends of Ngong Road\A 501(c)(3) Public Charity EIN 20-4690846";
  white-space: pre-line;
  display: block;
  border-top: 1px solid #ddd;
  margin: 0 -20px -20px -20px;
  padding: 0.75rem 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  background: #f2f2f2;
  border-radius: 0 0 15px 15px;
}
.donations-forms{
  margin-bottom: 0 !important;
}

.team-section .secondary-btn-3 a{
  margin-bottom: 80px;
}
.our-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
  margin-bottom: 50px;
}
.our-team-grid .team-member-container{
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  background-color: #78361f;
  text-align: left;
}
.our-team-grid .team-member-info{
  background-color: #a25439;
  border-radius: 60px 0 0 0;
  margin: 0;
  padding: 20px 0 30px 20px;
}
.our-team-grid .wp-block-column figure.wp-block-image {
  width: 100%;
  height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}
.our-team-grid .wp-block-column figure.wp-block-image img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  display: block;
}
.our-team-grid .wp-block-column h2.wp-block-heading {
  font-size: 28px;
  font-weight: 500;
  margin: 6px 0 4px 0;
  color: #ffffff;
  padding: 0 15px;
  letter-spacing: 2.5px;
}
.our-team-grid .wp-block-column h4 {
  margin: 0;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
  padding: 0 15px 0 15px;
  font-size: 16px !important;
}

/* Footer magic */
.site-footer {
  text-align: left;
  font-size: var(--primary-font-size);
  padding: 0;
  background: var(--primary-color);
  color: #000000;
  font-weight: 500;
}
.site-footer p {
  color: #000000;
  text-transform: none;
}
.site-footer a{
  font-weight: 500;
  color: #a25439;
}
.site-footer a:hover{
  font-weight: 600;
  color: #A25439;
}
.footer-row {
  overflow: hidden;
  margin: 80px 0 40px 0;
  display: flex;
  justify-content: space-between;
}
.footer-row #footer-1 {
  flex: 0 0 30%;
  margin-right: 5em;
}
.footer-row #footer-2,
.footer-row #footer-3,
.footer-row #footer-4 {
  flex: 0 0 18%;
}
#footer-5{
  display: flex;
  justify-content: space-between;
}
.footer-5{
  display: flex;
  justify-content: space-between;
}
.footer-5 > div:first-child {
  flex: 0 0 30%;
  margin-right: 6.5em;
}
.footer-5 > div:last-child {
  flex: 0 0 65%;
}

/*newsletter*/
.site-footer h4{
  text-transform: uppercase;
  margin-bottom: 18px;
}
.newsletter-subscribe {
  max-width: 500px;
  text-align: left;
}
.newsletter-subscribe .name-row {
  display: flex;
  gap: 1rem;
}
.newsletter-subscribe .form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 1em;
}
.newsletter-subscribe input[type="text"],
.newsletter-subscribe input[type="email"] {
  width: 100%;
  padding: 0.3rem 0.3rem;
  border: none; 
  border-bottom: 1.5px solid #00000071;
  border-radius: 0;
  font-size: 1rem;
  outline: none;
  font-weight: 500 !important;
}
.newsletter-subscribe h4{
  padding: 0 0 1em 0;
}
.newsletter-subscribe input[type="text"]:focus,
.newsletter-subscribe input[type="email"]:focus {
  border-bottom-color: #c99d61;
}
.newsletter-subscribe label {
  font-size: 0.9rem;
  color: #555;
}
.newsletter-form .btn {
  width: 100%;
  font-size: 18px;
}
.footer-5 .contact-us{
  display: flex;
  justify-content: flex-start;
  gap: 3.5em;
}
.footer-logos img {
  width: 40%;
}

/* DONATE PAGE */
.custom-section-padding{
  padding: 60px 0 !important;
}
/* Become a friend - Sponsor GF-60*/
#gform_wrapper_60 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 20px;
  border-radius: 15px;
  width: 55%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
  margin-bottom: 60px;
  position: relative;
  z-index: 50;
}
#gform_wrapper_60 form{
  margin-bottom: 0;
}
#gform_wrapper_60 .gform_description {
  display: block !important;
  text-align: left;
  text-transform: uppercase;
  width: calc(100% + 40px);
  margin: -20px -20px 20px -20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  background-color: #a25439;
  padding: 20px;
  border-radius: 15px 15px 0 0;
}
/* --- Frequency Toggle --- */
#gform_wrapper_60 #field_60_1 .gfield_radio {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
#gform_wrapper_60 #field_60_1 .gchoice {
  flex: 1;
  text-align: center;
}
#gform_wrapper_60 #field_60_1 .gchoice label {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  padding: 6px 0;
}
#gform_wrapper_60 #field_60_1 input {
  display: none;
}
#gform_wrapper_60 #field_60_1 input:checked + label {
  background: #c99d61;
  border-color: #a25439;
  color: #fff;
}
/* --- Preset Amount Buttons --- */
#gform_wrapper_60 #field_60_3 .gchoice {
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  max-width: none !important;
  box-sizing: border-box;
}
/* Label styled as button */
#gform_wrapper_60 #field_60_3 .gchoice label {
  display: block;
  padding: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f4f4f4;
}
#field_60_4 {
  width: 35%;
}
#input_60_4 {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-weight: 600;
}
/* Hide radios */
#gform_wrapper_60 #field_60_3 input {
  display: none !important;
}
#gform_wrapper_60 .gfield-choice-input + label {
  max-width: none !important;
}
#gform_wrapper_60 #field_60_3 input:checked + label {
  background: #c99d61;
  border-color: #a25439;
  color: #fff;
}
#gfield_instruction_60_4 {
  display: none !important;
}
#field_60_5 {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: -65% !important;
}
/* --- Submit Button --- */
#gform_wrapper_60 .gform_button{
  background-color: #a25439;
  color: white;
  padding: 12px 24px;
  font-size: 12px;
  display: inline-block;
  border: 1px solid #a25439;
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
  width: 40%;
  margin-top: 1.8em;
}
#gform_wrapper_60 .gform_button:hover {
  background-color: #aa101a !important;
  border: 1px solid #aa101a !important;
  color: white !important;
}

/* Donate GF-61*/
#gform_wrapper_61, #gform_wrapper_63 {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 0 20px;
  border-radius: 25px;
  width: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  background: #fff;
  position: relative;
  z-index: 50;
}
#gform_wrapper_61 form, #gform_wrapper_63 form{
  margin-bottom: 0;
}
#gform_wrapper_61 .gform_description, #gform_wrapper_63 .gform_description {
  display: block !important;
  text-align: left;
  text-transform: uppercase;
  width: calc(100% + 40px);
  margin: -20px -20px 15px -20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  background-color: #a25439;
  padding: 20px;
  border-radius: 25px 25px 0 0;
}
/* --- Frequency Toggle--- */
#gform_wrapper_61 #field_61_1 .gfield_radio, #gform_wrapper_63 #field_63_3 .gfield_radio {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
  /* width: 60%; */
  font-weight: 600;
}

@media only screen and (max-width: 767px) {
  #gform_wrapper_61 #field_61_1 .gfield_radio, 
  #gform_wrapper_63 #field_63_3 .gfield_radio {
    flex-direction: column;
    width: 100%;
  }
}
#gform_wrapper_61 #field_61_1 .gchoice, #gform_wrapper_63 #field_63_3 .gchoice {
  flex: 1;
  text-align: center;
}
#gform_wrapper_61 #field_61_1 .gchoice label, #gform_wrapper_63 #field_63_3 .gchoice label {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  padding: 6px 0;
}
#gform_wrapper_61 #field_61_1 input, #gform_wrapper_63 #field_63_3 input {
  display: none;
}
#gform_wrapper_61 #field_61_1 input:checked + label, #gform_wrapper_63 #field_63_3 input:checked + label {
  background: #c99d61;
  border-color: #a25439;
  color: #fff;
}
/* --- Preset Amount Buttons --- */
#gform_wrapper_61 .gform_fields{
  grid-row-gap: 5px;
}
#gform_wrapper_61 #field_61_3 .gfield_radio {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
}
/* Reset each choice so it behaves as a grid item */
#gform_wrapper_61 #field_61_3 .gchoice {
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  max-width: none !important;
  box-sizing: border-box;
}
/* Label styled as button */
#gform_wrapper_61 #field_61_3 .gchoice label {
  display: block;
  padding: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f4f4f4;
}
/* Hide radios */
#gform_wrapper_61 #field_61_3 input {
  display: none !important;
}
#gform_wrapper_61 .gfield-choice-input + label {
  max-width: none !important;
}
/* Checked state */
#gform_wrapper_61 #field_61_3 input:checked + label {
  background: #c99d61;
  border-color: #a25439;
  color: #fff;
}
/* --- Other Amount --- */
#gform_wrapper_61 #field_61_4 {
  margin-top: 10px;
}
#gform_wrapper_61 #input_61_4, #gform_wrapper_63 #input_63_1_3, #gform_wrapper_63 #input_63_1_6,
#gform_wrapper_63 #input_63_4,
#gform_wrapper_63 #input_63_5,
#gform_wrapper_63 input[type="text"],
#gform_wrapper_63 input[type="email"] {
  display: block;
  width: 100%;
  padding: 5px 8px !important;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  box-sizing: border-box;
  outline: none;
  background: #fff;
}
#gform_wrapper_61 #input_61_4:focus, #gform_wrapper_63 #input_63_1_3:focus, #gform_wrapper_63 #input_63_1_6:focus, 
#gform_wrapper_63 #input_63_4:focus, #gform_wrapper_63 #input_63_5:focus,
#gform_wrapper_63 input[type="text"]:focus,
#gform_wrapper_63 input[type="email"]:focus {
  border-color: #a25439;
  box-shadow: 0 0 4px rgba(162, 84, 57, 0.5);
}
#gform_wrapper_61 #gfield_instruction_61_4 {
  display: none !important;
}
/* --- Note / Comment Checkbox --- */
#gform_wrapper_61 #field_61_5{
  margin: 12px 0 0 0;
}
#gform_wrapper_61 #field_61_5 label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}
/*Comment input*/
#gform_wrapper_61 #input_61_6 {
  display: none;
  margin-top: 8px;
  padding: 10px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  height: 60px !important;
  font-weight: 500;
}
#gform_wrapper_61 .gform_footer{
  margin: 0;
  padding: 0 0 10px 0;
}
/* --- Submit Button --- */
#gform_wrapper_61 .gform_button, #gform_wrapper_63 .gform_button{
  background-color: #a25439; /* Red */
  color: white;
  padding: 12px 24px;
  display: inline-block;
  border: 1px solid #a25439;
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
  margin-top: 1.8em;
  width: 100%;
}
#gform_wrapper_61 .gform_button:hover, #gform_wrapper_63 .gform_button:hover {
  background-color: #aa101a !important;
  border: 1px solid #aa101a !important;
  color: white !important;
}

/* Charitable Contribution Intent GF-62*/
#gform_wrapper_62 {
  max-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 0 20px;
  border-radius: 25px;
  width: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
  position: relative;
}
#gform_wrapper_62 .gform_description {
  display: block !important;
  text-align: left;
  width: calc(100% + 40px);
  margin: -20px -20px 15px -20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  background-color: #a25439;
  padding: 20px;
  border-radius: 25px 25px 0 0;
}
#gform_wrapper_62 form{
  margin-bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}
#field_62_14 {
  display: flex;
  align-items: center;
  height: 100%; 
  text-align: center;
}
#input_62_15 {
  margin-left: -10em;
}
#field_62_16 {
  display: flex;
  align-items: center;
  height: 100%; 
  text-align: center;
  margin-left: -9em;
}
#input_62_17 {
  margin-left: -16em;
  display: flex;
  align-items: center;
  height: 100%; 
}
#input_62_18,#input_62_21 {
  height: 200px;
  width: 100%;
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
}

.full-width-section.sponsor-section{
  position: relative;
  overflow: visible !important;
  z-index: 20;
}
.health-well-being-section{
  z-index: 25;
}
.our-cornerstone-section, .health-well-being-section, .supportive-community-section, .our-work-metrics-section, .text-round-image-section{
  margin-bottom: 0 !important;
}
.sponsor-section {
  position: relative;
  z-index: 35; 
}
.sponsor-columns > .wp-block-column:not(.sponsor-image), .cornerstone-columns > .wp-block-column:not(.half-round-image), .text-image-columns > .wp-block-column:not(.half-round-image){
  width: 48%;
  max-width: 48%;
  padding-right: 4rem; 
  z-index: 45;
  position: relative;
}
.sponsor-columns > .wp-block-column.sponsor-image{
  position: absolute !important;
  top: -400px;
  right: -30em;
  bottom: -60px;
  width: 1300px;
  height: 1300px;
  z-index: 30;
  overflow: hidden;
  border-radius: 50%;
}
.sponsor-columns > .wp-block-column.sponsor-image figure,
.sponsor-columns > .wp-block-column.sponsor-image img,
.cornerstone-columns > .wp-block-column.half-round-image figure,
.cornerstone-columns > .wp-block-column.half-round-image img,
.text-image-columns > .wp-block-column.half-round-image figure,
.text-image-columns > .wp-block-column.half-round-image img {
  width: 100%;
  height: 100%;
  position: relative;
  object-fit: cover;
  object-position: center;
  padding: 3rem; /* to shrink the image */
  left: -100px;
  bottom: -150px;
}
.supportive-community-section {
  position: relative;
  overflow: visible !important;
  z-index: 20; 
}
.our-cornerstone-section, .text-round-image-section {
  position: relative;
  overflow: visible !important;
  z-index: 31;
}
.cornerstone-columns > .wp-block-column.half-round-image, .text-image-columns > .wp-block-column.half-round-image {
  position: absolute !important;
  top: -400px;
  right: -30em;
  bottom: -60px;
  width: 1300px;
  height: 1300px;
  z-index: 60;
  overflow: hidden;
  border-radius: 50%;
}
.text-image-columns > .wp-block-column.half-round-image {
  height: 1100px;
}
.text-image-columns {
  min-height: 400px;
}
/* Mirror the circular layout for left-sided images */
.supportive-community-columns > .wp-block-column.half-round-image {
  position: absolute !important;
  top: -400px;
  left: -35em;
  bottom: -60px;
  width: 1300px;
  height: 1300px;
  z-index: 30;
  overflow: hidden;
  border-radius: 50%;
}

/* news */
.news-section{
  position: relative;
  overflow: visible !important;
  z-index: 20; 
  padding-top: 120px;
  min-height: 700PX;
}
.news-section h1{
  font-size: 2.5em;
}
.news-section-columns > .wp-block-column.rect-image {
  position: absolute !important;
  top: -400px;
  left: -35em;
  bottom: -60px;
  width: 1300px;
  height: 1100px;
  z-index: 30;
  overflow: hidden;
}
.news-columns > .wp-block-column.rectangular-image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  z-index: 20;
  overflow: hidden;
  border-radius: 0;
}
.news-columns > .wp-block-column.rectangular-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  top: var(--move-top, 0);
  left: var(--move-left, 0);
}
.news-columns > .wp-block-column:not(.rectangular-image) {
  width: 48%;
  max-width: 48%;
  margin-left: auto;
  padding-left: 2rem;
  z-index: 35;
  position: relative;
}
.news-section-columns > .wp-block-column.rect-image figure,
.news-section-columns > .wp-block-column.rect-image img {
  width: 100%;
  height: 100%;
  position: relative;
  object-fit: cover;
  object-position: center;
  padding: 3rem;
  right: -100px;
  bottom: -150px;
}
.news-section-columns > .wp-block-column:not(.rect-image) {
  width: 50%;
  max-width: 50%;
  margin-left: auto;
  padding-left: 2rem;
  z-index: 35;
  position: relative;
}

.supportive-community-columns > .wp-block-column.half-round-image figure,
.supportive-community-columns > .wp-block-column.half-round-image img {
  width: 100%;
  height: 100%;
  position: relative;
  object-fit: cover;
  object-position: center;
  padding: 3rem;
  right: -100px;
  bottom: -150px;
}
.supportive-community-columns > .wp-block-column:not(.half-round-image) {
  width: 50%;
  max-width: 50%;
  margin-left: auto;
  padding-left: 2rem;
  z-index: 35;
  position: relative;
}
.employment-section{
  padding-left: 38%;
  padding-right: 38%;
}
.employment-section .secondary-btn, .employment-section .secondary-btn-2{
  display: flex;
  justify-content: center;
}
.employment-section .secondary-btn a{
  background-color: #78361f !important;
  color: white !important;
}
.employment-section .secondary-btn-2 a{
  border-color: #78361f !important;
  color: black !important;
}
.margin-top-fix{
  margin-top: -30px;
}

.default-accordion summary{
  background: none !important;
  border-top: 1px solid rgba(0, 0, 0, 0.27);
  letter-spacing: 2px !important;
}
.scholarships-accordion summary{
  background: none !important;
  border-top: 1px solid rgba(0, 0, 0, 0.27);
  letter-spacing: 2px !important;
  display: block;
  padding-left: 20px !important;
}
.scholarships-accordion summary::-webkit-details-marker {
  display: none !important;
}
.scholarships-accordion summary::marker {
  display: none !important;
}
.scholarships-accordion .ab-accordion-title {
  position: relative;
  cursor: pointer;
  padding-left: 80px;
  font-weight: 600;
}
.scholarships-accordion .ab-accordion-title::before {
  content: "+";
  position: absolute;
  left: 0;
  color: black;
  transition: transform 0.2s ease;
  align-self: center;
}
.scholarships-accordion details[open] .ab-accordion-title::before {
  content: "–";
  color: black;
}

.last-section-margin{
  margin-bottom: -80px;
}

.latest-news-slider .soliloquy-outer-container,
.latest-news-slider .soliloquy-container,
.latest-news-slider .soliloquy-wrapper,
.latest-news-slider .soliloquy-viewport {
  overflow: visible !important;
}

.latest-news-slider,
.latest-news-slider .wp-block-cover__inner-container,
.latest-news-slider .latest-news-columns,
.latest-news-slider .latest-news-column {
  overflow: visible !important;
}

.latest-news-slider .soliloquy-container {
  max-width: none !important;
  padding-bottom: 4rem;
}

.latest-news-slider .soliloquy-viewport {
  height: auto !important;
}

.latest-news-slider .soliloquy-slider,
.latest-news-slider .soliloquy-item {
  min-height: 0;
}

.latest-news-slider .soliloquy-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
}

.latest-news-slider .soliloquy-item[style*="display:none"],
.latest-news-slider .soliloquy-item[style*="display: none"] {
  display: none !important;
}

.latest-news-slider .soliloquy-item > .soliloquy-link {
  grid-column: 1;
  display: block;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.latest-news-slider .soliloquy-item > .soliloquy-link img,
.latest-news-slider .soliloquy-item > .soliloquy-link .soliloquy-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: none;
  object-position: center;
}

.latest-news-slider .soliloquy-caption.soliloquy-caption-bottom,
.latest-news-slider .soliloquy-caption.soliloquy-caption-bottom.soliloquy-caption-mobile {
  position: static !important;
  grid-column: 2;
  width: auto !important;
  height: 100%;
  min-width: 0;
}

.latest-news-slider .soliloquy-caption-inside {
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 2.5rem !important;
  background: #f7efe4;
  text-align: left;
}

.latest-news-slider .soliloquy-fc-caption,
.latest-news-slider .soliloquy-theme-classic .soliloquy-caption .soliloquy-fc-caption,
.latest-news-slider .soliloquy-theme-classic .soliloquy-caption .soliloquy-fc-caption .soliloquy-fc-content,
.latest-news-slider .soliloquy-theme-classic .soliloquy-caption .soliloquy-fc-caption .soliloquy-fc-content p {
  /* color: #1c1c1c !important; */
  text-shadow: none !important;
  line-height: 1.6;
}

.latest-news-slider .soliloquy-container,
.latest-news-slider .soliloquy-container * {
  line-height: normal;
}

.latest-news-slider .soliloquy-theme-classic .soliloquy-caption .soliloquy-fc-caption .soliloquy-fc-title,
.latest-news-slider .soliloquy-theme-classic .soliloquy-caption .soliloquy-fc-caption .soliloquy-fc-title a {
  color: #161616 !important;
  font-size: inherit !important;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.latest-news-slider .soliloquy-fc-slider .soliloquy-caption-inside .soliloquy-fc-title,
.latest-news-slider .soliloquy-fc-slider .soliloquy-caption-inside .soliloquy-fc-title-link {
  font-size: xxx-large !important;
  text-transform: uppercase !important;
}

.latest-news-slider .soliloquy-theme-classic .soliloquy-caption .soliloquy-fc-caption .soliloquy-fc-read-more {
  color: #8d4d25 !important;
}

.latest-news-slider .secondary-btn-2 {
  display: inline-block;
  margin-left: 0.75rem;
}

.latest-news-slider .latest-news-slider__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.latest-news-slider .latest-news-slider__actions .secondary-btn,
.latest-news-slider .latest-news-slider__actions .secondary-btn-2 {
  display: inline-flex;
  margin: 0;
}

@media only screen and (max-width: 640px) {
  .latest-news-slider .secondary-btn-2 {
    margin-left: 0;
  }

  .latest-news-slider .latest-news-slider__actions {
    flex-direction: column;
    align-items: center;
  }
}

.latest-news-slider .soliloquy-controls-direction {
  position: absolute;
  inset: 0;
  height: auto !important;
  pointer-events: none;
}

.latest-news-slider .soliloquy-controls {
  opacity: 1 !important;
  overflow: visible !important;
}

.latest-news-slider .soliloquy-pager {
  position: absolute !important;
  left: 50% !important;
  bottom: -2.75rem !important;
  transform: translateX(-50%);
  width: auto !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: auto !important;
  visibility: visible !important;
  overflow: visible !important;
  z-index: 1400 !important;
}

.latest-news-slider .soliloquy-pager-item,
.latest-news-slider .soliloquy-theme-classic .soliloquy-pager-item,
.latest-news-slider .soliloquy-pager-item:first-child {
  margin: 0 !important;
}

.latest-news-slider .soliloquy-prev,
.latest-news-slider .soliloquy-next {
  pointer-events: auto;
  top: 50% !important;
  margin-top: 0 !important;
  transform: translateY(-50%);
}

.latest-news-slider .soliloquy-prev {
  left: -3.5rem !important;
}

.latest-news-slider .soliloquy-next {
  right: -3.5rem !important;
}

@media only screen and (max-width: 768px) {
  .latest-news-slider .soliloquy-fc-slider .soliloquy-caption-inside .soliloquy-fc-title,
  .latest-news-slider .soliloquy-fc-slider .soliloquy-caption-inside .soliloquy-fc-title-link {
    font-size: 1.5em !important;
  }
}

@media only screen and (max-width: 640px) {
  .latest-news-slider .soliloquy-container {
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 3.5rem;
  }

  .latest-news-slider .soliloquy-item {
    grid-template-columns: 1fr;
  }

  .latest-news-slider .soliloquy-item > .soliloquy-link,
  .latest-news-slider .soliloquy-caption.soliloquy-caption-bottom,
  .latest-news-slider .soliloquy-caption.soliloquy-caption-bottom.soliloquy-caption-mobile {
    grid-column: auto;
  }

  .latest-news-slider .soliloquy-caption-inside {
    padding: 1.75rem !important;
  }

  .latest-news-slider .soliloquy-prev {
    left: -2.25rem !important;
  }

  .latest-news-slider .soliloquy-next {
    right: -2.25rem !important;
  }
}

@media only screen and (max-width: 480px) {
  .latest-news-slider .soliloquy-pager {
    display: flex !important;
  }

  .latest-news-slider .soliloquy-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 3rem;
  }

  .latest-news-slider .soliloquy-prev {
    left: 0.25rem !important;
  }

  .latest-news-slider .soliloquy-next {
    right: 0.25rem !important;
  }

  .latest-news-slider .soliloquy-pager {
    bottom: -2.2rem !important;
    gap: 0.55rem;
  }
}
.cornerstone-columns ul.wp-block-list, .health-well-being-section ul.wp-block-list, .supportive-community-section ul.wp-block-list, .employment-section ul.wp-block-list {
  list-style: none;
  padding-left: 0;
}
.cornerstone-columns ul.wp-block-list li, .health-well-being-section ul.wp-block-list li, .supportive-community-section ul.wp-block-list li, .employment-section ul.wp-block-list li{
  display: flex;
  align-items: flex-start;
  gap: 0.3em;
  margin-bottom: 0.6em;
}
.cornerstone-columns ul.wp-block-list li::before, .health-well-being-section ul.wp-block-list li::before, .supportive-community-section ul.wp-block-list li::before, .employment-section ul.wp-block-list li::before{
  content: "•";
  color: #c99d61;
  font-size: 2em;
  line-height: 0.75;
  display: block;
  /* align-items: center; */
}
.employment-section ul.wp-block-list li::before{
  color: #78361f !important;
}
.custom-link a{
  color: inherit;
}
.custom-link a:hover{
  color: #c99d61;
}
.our-work-metrics-section .wp-block-columns {
  align-items: flex-start; 
}

.charity-logos{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 1em;
}
.charity-logos .charity {
  margin-left: -30%;
}
.charity-logos img{
  width: 50% !important;
}
.celebration-columns{
  margin: 0;
}
.wp-block-list{
  font-size: 1.2rem;
}

.donor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1em;
  justify-items: center;
  align-items: start;
  width: 100%;
}
.donor-column {
  list-style: none;
  padding: 0;
  margin: 0;
}
.donor-column li {
  padding: 6px 10px;
  margin-bottom: 5px;
  border-radius: 6px;
  font-weight: 500;
}
.donate-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #8b4513;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out;
}
.donate-button:hover {
  background-color: #c99d61;
  color: #fff;
}
/* Here we go donation blocks */
.give, .white-box{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 2em 0;
  padding: 1.8em;
  transition: all 0.3s ease;
}
.give:hover, .white-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.give-image {
  flex: 1 1 33.33%;
  width: 100%;
}
.give-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.give-image img:hover {
  transform: scale(1.03);
}
.give-info {
  flex: 1 1 66.66%;
  padding-left: 2em;
}
.give-info h3 {
  font-size: 1.6em;
  margin-bottom: 0.3em;
  font-weight: 700;
}
.give-info h5 {
  font-size: 1.1em;
  color: #777;
  margin-bottom: 0.8em;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.give-info p {
  line-height: 1.6;
  margin-bottom: 1.5em;
}
.give-info .donate-button {
  transition: background 0.3s ease, transform 0.2s ease;
}
.give-info .donate-button:hover {
  background: #c99d61;
  transform: translateY(-2px);
}
.soft-hyphen {
  display: none;
}

.metric-column.white-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ffffff 0%, #f7f8fa 100%);
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 2.5em 3em;
  gap: 2em;
  transition: all 0.4s ease;
}
.metric-column.white-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.metric {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  text-align: center;
}
.metric-content h2{
  font-size: 3em;
}

.metric h1 {
  font-size: 8rem;
  line-height: 1;
  margin: 0;
  font-weight: 700;
  color: #dc6648;
}
.metric h1 sup {
  font-size: 3rem;
  top: -1.5em;
  color: #dc6648;
}
.metric h2 {
  margin-top: 0.4em;
  font-size: 1.5rem;
  color: #dc6648;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.metric-column .wp-block-column:nth-child(2) h4 {
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.2em;
}
.metric-column .wp-block-column:nth-child(2) h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}
.metric-column .wp-block-column:nth-child(2) p {
  line-height: 1.7;
}
.round-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.round-image img {
  border-radius: 50%;
  object-fit: cover;
  width: 350px;
  height: 350px;
  transition: transform 0.4s ease;
}
.round-image img:hover {
  transform: scale(1.05);
}

.video-column iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
}
.video-column .wp-block-embed__wrapper {
  width: 100%;
  height: 100%;
}
.video-column {
  width: 100%;
}

.genesis-nav-menu .custom-a > a {
  border-radius: 0 !important;
	padding: 20px !important;
}
.our-work-section{
	z-index:34;
}
.friendship-section{
  z-index: 32;
}

.team-member-single {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.team-member-image {
  flex: 0 0 auto;
  max-width: 280px;
}

.team-member-image img {
  width: 100%;
  height: auto;
}

.team-member-bio {
  flex: 1;
  min-width: 280px;
}

.team-member-title {
  color: #333;
  margin-top: 0;
  margin-bottom: 0.6em;
}

.back-to-teams {
  text-align: center;
  margin-top: 2em;
}

/* RESPONSIVE*/
/* Large Desktops */
@media (min-width: 1367px) {
  /* e.g., center wide sections, limit max-widths */
}

@media (min-width: 1210px) and (max-width: 1440px) {
  .sponsor-columns > .wp-block-column.sponsor-image,
  .cornerstone-columns > .wp-block-column.half-round-image,
  .supportive-community-columns > .wp-block-column.half-round-image,
  /* .news-section-columns > .wp-block-column.rect-image, */
  .text-image-columns > .wp-block-column.half-round-image{
    width: 1180px;
  }
  .news-section {
    padding-top: 60px;
    min-height: auto;
  }
  .news-columns,
  .news-section-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .news-columns > .wp-block-column.rectangular-image,
  .news-section-columns > .wp-block-column.rect-image {
    position: relative !important;
    width: 70%;
    height: auto;
    left: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    flex-basis: auto;
  }
  .news-section-columns > .wp-block-column.rect-image figure,
  .news-section-columns > .wp-block-column.rect-image img {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    object-position: center;
    padding:  3em 0 0 0;
    right: 0;
    bottom: 0;
  }
  .news-columns > .wp-block-column:not(.rectangular-image),
  .news-section-columns > .wp-block-column:not(.rect-image) {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
  }
  .center-buttons{
    justify-content: center !important;
  }
}

/* Medium-Large screens (1025px–1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
  .contact-us{
    flex-direction: column;
  }
  .footer-logos img{
    width: 30%;
  }
  .sponsor-columns > .wp-block-column.sponsor-image {
      width: 1200px;
  }
}

@media (max-width: 1199px) {
  .sponsor-columns > .wp-block-column.sponsor-image{
    width: 1150px;
  }
  .metric-column{
    flex-direction: column;
  }
  .round-image img{
    width: 15em;
    height: 15em;
  }
  .news-columns > .wp-block-column:not(.half-round-image){
    top: 0;
  }
  #gform_wrapper_60{
    width: 100% !important;
  }
  #field_60_5{
    margin-left: 0 !important;
  }
  #gform_wrapper_60 #field_60_1 .gfield_radio{
    flex-direction: column;
  }
  #gform_wrapper_60 .gform_button{
    width: 100%;
  }
}

/* Medium screens (Tablets Landscape / Small Laptops) */
@media (min-width: 769px) and (max-width: 1024px) {
  .donor-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .news-columns > .wp-block-column:not(.half-round-image){
    top: 0;
  }
}

@media (min-width: 1025px) and (max-width: 1210px) {
  .sponsor-columns > .wp-block-column.sponsor-image {
    width: 1000px;
  }
  .full-width-section{
    padding-left: 2em !important;
    padding-right: 2em !important;
  }
  .full-width-section{
    padding-left: 1em;
    padding-right: 1em;
  }
  .front-page .site-header {
      background-color: var(--primary-color);
  }
  .full-width-section.first-section{
    margin-top: -50px !important;
  }

  .sponsor-columns > .wp-block-column.sponsor-image,
  .cornerstone-columns > .wp-block-column.half-round-image,
  .supportive-community-columns > .wp-block-column.half-round-image,
  .text-image-columns > .wp-block-column.half-round-image{
    width: 1100px;
  }
  .our-team-grid .team-member-info{
    min-height: 180px;
  }
  #gform_wrapper_60{
    width: 100% !important;
  }
  #field_60_5{
    margin-left: 0 !important;
  }
  #gform_wrapper_60 #field_60_1 .gfield_radio{
    flex-direction: column;
  }
  #gform_wrapper_60 .gform_button{
    width: 100%;
  }
  .news-section {
    padding-top: 60px;
    min-height: auto;
  }
  .news-columns,
  .news-section-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .news-columns > .wp-block-column.rectangular-image,
  .news-section-columns > .wp-block-column.rect-image {
    position: relative !important;
    width: 70%;
    height: auto;
    left: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    flex-basis: auto;
  }
  .news-section-columns > .wp-block-column.rect-image figure,
  .news-section-columns > .wp-block-column.rect-image img {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    object-position: center;
    padding:  3em 0 0 0;
    right: 0;
    bottom: 0;
  }
  .news-columns > .wp-block-column:not(.rectangular-image),
  .news-section-columns > .wp-block-column:not(.rect-image) {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
  }
  .center-buttons{
    justify-content: center !important;
  }
  
}

@media (max-width: 1024px) {
  .full-width-section{
    padding-left: 1em;
    padding-right: 1em;
  }
  .footer-5 .contact-us{
    flex-direction: column;
  }
  .footer-logos img{
    width: 30%;
  }
  .two-column-block > div {
    grid-gap: 0 5em !important;
  }
  .full-width-section.first-section{
    margin-top: -50px !important;
  }
  .donor-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .news-columns > .wp-block-column:not(.half-round-image){
    top: 0;
  }
}

@media only screen and (max-width: 1024px) {
  .front-page .site-header {
      background-color: var(--primary-color);
  }
  .full-width-section.first-section{
    margin-top: -50px !important;
  }
  .full-width-section{
    padding-left: 2em !important;
    padding-right: 2em !important;
  }
}

@media (min-width: 801px) and (max-width: 1024px) {
  .site-header, .site-header.dark{
    position: relative;
  }
  .nav-primary .genesis-nav-menu {
    margin-bottom: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cornerstone-columns,
  .sponsor-columns,
  .text-image-columns
  {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    overflow-x: hidden;
  }
  .cornerstone-columns > .wp-block-column.half-round-image,
  .sponsor-columns > .wp-block-column.sponsor-image,
  .text-image-columns > .wp-block-column.half-round-image{
    width: auto;
    height: 55em;
    margin-bottom: 2rem;
    left: 0;
  }
  .cornerstone-columns > .wp-block-column:not(.half-round-image),
  .sponsor-columns > .wp-block-column:not(.sponsor-image),
  .text-image-columns > .wp-block-column:not(.half-round-image)  {
    width: 100%;
    max-width: 100%;
    padding-top: 25em;
  }
  .supportive-community-columns > .wp-block-column.half-round-image{
    width: 99em;
    height: 60em;
  }
  .supportive-community-columns > .wp-block-column:not(.half-round-image) {
    width: 90%;
    max-width: 600px;
    margin-left: 0;
    padding-left: 0;
    position: relative;
    padding-top: 32em;
  }
  .celebration-columns{
    flex-direction: column;
    margin: 0;
  }
  .celebration-section, .be-a-friend-section, .our-programs, .our-outcomes {
    margin-top: -50px !important;
  }
  h1{
    overflow-wrap: break-word;
  }
  .charity-logos .charity {
    margin: 0 !important;
  }
  .donor-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .metric-column .wp-block-column:nth-child(2) h1, h1{
    font-size: 2em;
    letter-spacing: 2px !important;
  }
  .news-columns > .wp-block-column:not(.half-round-image){
    top: 0;
  }
  .our-team-grid .team-member-info{
    min-height: 220px;
  }
  #gform_wrapper_60{
    width: 100% !important;
  }
  #field_60_5{
    margin-left: 0 !important;
  }
  #gform_wrapper_60 #field_60_1 .gfield_radio{
    flex-direction: column;
  }
  #gform_wrapper_60 .gform_button{
    width: 100%;
  }
  .news-section {
    padding-top: 60px;
    min-height: auto;
  }
  .news-columns,
  .news-section-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .news-columns > .wp-block-column.rectangular-image,
  .news-section-columns > .wp-block-column.rect-image {
    position: relative !important;
    width: 70%;
    height: auto;
    left: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    flex-basis: auto;
  }
  .news-section-columns > .wp-block-column.rect-image figure,
  .news-section-columns > .wp-block-column.rect-image img {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    object-position: center;
    padding:  3em 0 0 0;
    right: 0;
    bottom: 0;
  }
  .news-columns > .wp-block-column:not(.rectangular-image),
  .news-section-columns > .wp-block-column:not(.rect-image) {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
  }
  .center-buttons{
    justify-content: center !important;
  }
  .video-fullwidth {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 0;
  }
  .video-fullwidth .wp-block-embed__wrapper{
    border-radius: 0 !important;
  }
  .video-fullwidth iframe {
    width: 100vw;
    height: calc(100vw * 9 / 16);
    display: block;
    margin: 0 auto;
    border-radius: 0 !important;
  }
}

/*Small screens */
@media (max-width: 768px) {
  h1{
    font-size: 2.8em;
  }
  .genesis-nav-menu .menu-item-has-children a{
    color: black !important;
  }
  .menu.responsive-menu li a{
    color: black !important;
  }
  .genesis-nav-menu .menu-item-type-custom:last-child > a {
      color: #ffffff !important;
  }
  .full-width-content .content{
    padding: 0 !important;
  }
  .full-width-section.first-section{
    margin-top: -50px !important;
  }
  .celebration-section{
    padding: 0;
    margin-top: 50px;
  }
  .celebration-section .wp-block-embed__wrapper{
    width: auto;
    height: auto;
    margin-bottom: 80px;
  }
  .friendship {
    flex-direction: column;
  }
  .friendship .text-column,
  .friendship .donation-form {
    flex: 1 1 100%;
  }
  .work-section-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
  .front-page-2 h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
  }
  .front-page-2 h3 {
    font-size: 1.1rem;
  }
  .work-section-icon-item img {
    width: 100px;
    height: 100px;
  }
  .work-section-icon-item p {
    font-size: 1.4rem;
  }
  .work-section-learn-more-btn {
    padding: 18px 30px;
    font-size: 1.1rem;
  }
  .friendship-buttons{
    margin-bottom: 50px;
  }
  .our-work-section a{
    margin-bottom: 5px;
  }
  .learn-more-abt-us{
    margin-bottom: 60px;
  }
  .team-section .our-team-grid{
    flex-direction: column !important;
    align-items: center !important;
    margin-top: -50px;
  }
  .footer-row,
  .footer-5 {
    flex-direction: column;
    margin: 40px 0 20px 0;
  }
  .footer-row #footer-1,
  .footer-row #footer-2,
  .footer-row #footer-3,
  .footer-row #footer-4,
  .footer-5 > div:first-child,
  .footer-5 > div:last-child {
    flex: 0 0 100%;
    margin: 0 0 20px 0; 
  }
  .site-footer {
    text-align: center;
    padding: 20px 10px;
  }
  .footer-5 > div.wrap,
  #footer-6 > div.wrap {
    padding: 0 10px;
  }
  .genesis-nav-menu .menu-item-has-children > a::after{
    content: "" !important;
  }
  .footer-5 .contact-us{
    flex-direction: column;
    gap: 4em;
  }
  .footer-newsletter{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .newsletter-form{
    margin-bottom: 30px;
  }
 .newsletter-form .btn {
    display: block;
    margin: 1rem auto 0;
    width: 100%;
  }
  #gform_wrapper_59{
    width: 99%;
  }
  .genesis-nav-menu.responsive-menu .top-menu-login-btn a{
    padding: 12px 20px !important;
    border: 1px solid #c99d61;
    margin: 20px 0;
    text-align: center;
  }
  .genesis-nav-menu.responsive-menu .top-menu-support-btn a{
    width: 100%;
    text-align: center;
  }
  .site-header .genesis-nav-menu.responsive-menu > .menu-item-has-children:before{
    color: #000;
  }
  .responsive-menu-icon::before{
    color: #000;
  }
  #gform_wrapper_60{
    width: 100% !important;
  }
  #field_60_5{
    margin-left: 0 !important;
  }
  #gform_wrapper_60 #field_60_1 .gfield_radio{
    flex-direction: column;
  }
  #gform_wrapper_60 .gform_button{
    width: 100%;
  }
  .full-width-section.sponsor-section{
    overflow: hidden !important;
  }
  .our-cornerstone-section, .text-round-image-section {
    overflow: hidden !important;
  }
  .supportive-community-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .cornerstone-columns,
  .sponsor-columns,
  .text-image-columns
  {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    overflow-x: hidden;
  }
  .cornerstone-columns > .wp-block-column.half-round-image,
  .text-image-columns > .wp-block-column.half-round-image,
  .sponsor-columns > .wp-block-column.sponsor-image{
    width: auto;
    height: 60em;
    margin-bottom: 2rem;
    left: 0;
  }
  .cornerstone-columns > .wp-block-column:not(.half-round-image),
  .text-image-columns > .wp-block-column:not(.half-round-image),
  .sponsor-columns > .wp-block-column:not(.sponsor-image) {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 32em;
  }
  .supportive-community-columns > .wp-block-column.half-round-image{
    width: auto;
    height: 60em;
  }
  .supportive-community-columns > .wp-block-column:not(.half-round-image) {
    width: 90%;
    max-width: 600px;
    margin-left: 0;
    padding-left: 0;
    position: relative;
    padding-top: 32em;
  }
  .charity-logos{
    margin: 1em 0 0 0 !important;
    gap: 0 !important;
  }
  .charity-logos .charity {
    margin: 0 !important;
  }
  .charity-logos img{
    width: 30% !important;
  }
  .footer-logos img{
    width: 50%;
  }
  .ab-layout-column-wrap{
    display: flex;
    flex-direction: column !important;
  }
  .donor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .give {
    flex-direction: column;
    text-align: center;
    padding: 1.2em;
  }
  .give-info {
    padding-left: 0;
    margin-top: 1.4em;
  }
  .give-image img {
    border-radius: 16px;
  }
  .button-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
	.sponsorship-h1{
		font-size: 2.4em;
	}
  .soft-hyphen {
    display: inline;
  }
  .entrepreneurship-title{
		font-size:2.1em !important;
	}
  .round-image img{
    width: 12em;
    height: 12em;
  }
  .metric-column .wp-block-column:nth-child(2) h1, h1{
    font-size: 2em;
    letter-spacing: 2px !important;
  }
  .news-columns > .wp-block-column:not(.half-round-image){
    top: 0;
  }
  .news-section {
    padding-top: 60px;
    min-height: auto;
  }
  .news-columns,
  .news-section-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .news-columns > .wp-block-column.rectangular-image,
  .news-section-columns > .wp-block-column.rect-image {
    position: relative !important;
    width: 100%;
    height: auto;
    left: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    margin: 0 auto 1.5rem;
  }
  .news-section-columns > .wp-block-column.rect-image figure,
  .news-section-columns > .wp-block-column.rect-image img {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    object-position: center;
    padding:  3em 0 0 0;
    right: 0;
    bottom: 0;
  }
  .news-columns > .wp-block-column:not(.rectangular-image),
  .news-section-columns > .wp-block-column:not(.rect-image) {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
  }
  .center-buttons{
    justify-content: center !important;
  }
  .video-fullwidth {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 0;
  }
  .video-fullwidth .wp-block-embed__wrapper{
    border-radius: 0 !important;
  }
  .video-fullwidth iframe {
    width: 100vw;
    height: calc(100vw * 9 / 16);
    display: block;
    margin: 0 auto;
    border-radius: 0 !important;
  }
  .team-member-single {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .team-member-image {
    max-width: 200px;
  }
  .team-member-bio {
    text-align: left;
  }
}

/* Extra Small screens (Phones) */
@media (min-width: 481px) and (max-width: 600px) {
  /* padding, font sizes, margins */
}

@media (min-width: 361px) and (max-width: 480px) {
  .work-section-icons-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #front-page-2 {
    padding: 60px 0;
  }
  .metric-column .wp-block-column:nth-child(2) h1, h1{
    font-size: 2em;
    letter-spacing: 2px !important;
  }
  .front-page-2 h2 {
    font-size: 2rem;
  }
  .work-section-icon-item img {
    width: 90px;
    height: 90px;
  }
  .work-section-icon-item p {
    font-size: 1.2rem;
  }
  #input_62_15, #field_62_16, #input_62_17 {
    margin-left: 0 ;
  }
  .news-columns > .wp-block-column:not(.half-round-image){
    top: 0;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  /* Very small devices */
}

.f-s{
  margin-top: -20px !important;
}

/* Force full-bleed images to span edge-to-edge outside centered content wrappers */
.full-width-img,
.full-width-img img,
img.full-width-img {
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* Gather for Impact hero: image fills section, heading overlays on top */
.full-width-section.event-first-section {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  min-height: 72vh;
}

.full-width-section.event-first-section > .wp-block-cover__background {
  opacity: 0.45 !important;
}

.full-width-section.event-first-section > .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  min-height: 72vh;
  padding: 0;
}

.full-width-section.event-first-section .wp-container-core-columns-is-layout-2 {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
}

.full-width-section.event-first-section .full-width-img-section {
  height: 100%;
}
  
.full-width-section.event-first-section .full-width-img,
.full-width-section.event-first-section .full-width-img a,
.full-width-section.event-first-section .full-width-img img {
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  margin: 0 !important;
}

.full-width-section.event-first-section .full-width-img img {
  object-fit: cover;
}

.full-width-section.event-first-section .wp-container-core-columns-is-layout-1 {
  position: relative;
  z-index: 3;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 1rem;
}

.full-width-section.event-first-section .wp-container-core-columns-is-layout-1 p {
  color: #fff;
  text-transform: lowercase;
  font-family: "Cooper Black", "Bookman Old Style", Georgia, serif;
  font-size: 9rem !important;
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.02em;
  max-width: 14ch;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.65);
  text-align: left;
  padding-left: 5ch;
  text-indent: -2ch;
  padding-top: 1.2em;
}

/* Tablet / Small Desktop (up to 1200px) */
@media (max-width: 1200px) {
  .full-width-section.event-first-section .wp-container-core-columns-is-layout-1 p {
    font-size: 9rem !important;
    padding-left: 4ch;
    padding-top: 1.2em;
  }
}

/* Tablet Portrait (up to 991px) */
@media (max-width: 991px) {
  .full-width-section.event-first-section .wp-container-core-columns-is-layout-1 p {
    font-size: 7.5rem !important;
    padding-left: 3ch;
    padding-top: 1.2em;
  }
}

/* Mobile Large (up to 767px) */
@media (max-width: 767px) {
  .full-width-section.event-first-section .wp-container-core-columns-is-layout-1 p {
    font-size: 4.2rem !important;
    padding-left: 3ch;
    padding-top: 3em;
  }
}

/* Mobile Small (up to 480px) */
@media (max-width: 480px) {
  .full-width-section.event-first-section .wp-container-core-columns-is-layout-1 p {
    font-size: 3rem !important;
    padding-left: 3ch;
    padding-top: 3em;
  }
}

.full-width-section.event-first-section .wp-container-core-columns-is-layout-1 p::first-line {
  word-spacing: 5ch;
}

/* Event details block under hero*/
.full-width-section.maison {
  padding: clamp(3rem, 6vw, 5rem) 1rem !important;
}

.full-width-section.maison > .wp-block-cover__background, .full-width-section.impact-logos > .wp-block-cover__background {
  opacity: 1 !important;
}

.full-width-section.maison > .wp-block-cover__inner-container {
  max-width: 940px;
  margin: 0 auto;
}

.full-width-section.maison .wp-container-core-columns-is-layout-3 {
  margin: 0;
}

.full-width-section.maison h4 {
  margin: 0 auto 2rem;
  text-align: center;
  color: #1c1a17;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(0.82rem, 1.08vw, 1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid rgba(28, 26, 23, 0.18);
}

.full-width-section.maison h4 .date,.full-width-section.maison h4 .date-text {
  display: inline-block;
  margin-right: 0.4rem;
  font-family: "Bookman Old Style", "Times New Roman", serif;
  font-size: clamp(2rem, 4.1vw, 3rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  vertical-align: middle;
}

.full-width-section.maison h4 .time {
  display: inline-block;
  vertical-align: middle;
  padding-top: 0.4rem;
  padding-left: 1.6rem;
}
.full-width-section.maison h4 .date {
    padding-right: 1.6rem;
}

.full-width-section.maison p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: #2a2927;
}

.full-width-section.maison p.has-medium-font-size:first-of-type {
  margin-bottom: 1.15rem;
  font-size: clamp(1.2rem, 2.1vw, 1.9rem) !important;
  font-weight: 700;
  line-height: 1.25;
}

.full-width-section.maison p.has-medium-font-size + p.has-medium-font-size {
  line-height: 1.8;
  font-weight: 400;
  opacity: 0.94;
}

/* Awards page */
.awards-page-content {
  margin-bottom: 3rem;
}

.awards-page-content > *:not(.wp-block-cover) {
  margin-left: auto;
  margin-right: auto;
  max-width: 1360px;
}

.full-width {
  margin-bottom: 3.5rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.m-top{
  margin-top: -3.25rem !important;
}

.full-width .wp-block-cover__inner-container {
  margin: 0 auto;
  max-width: min(1400px, 90vw);
  padding-left: 5vw;
  padding-right: 5vw;
  text-align: center;
  width: 100%;
}

.hero-heading {
  color: #fff !important;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
}

.awards-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  align-items: start;
}

.awards-sidebar {
  display: grid;
  gap: 1.5rem;
  position: sticky;
  top: 140px;
}

.awards-search,
.awards-sidebar-card,
.award-card,
.awards-empty {
  background: #fff;
  border: 1px solid rgba(201, 157, 97, 0.32);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(102, 51, 0, 0.08);
}

.awards-search {
  align-items: center;
  background: #fff;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1rem 1.1rem;
}

.awards-search input[type="search"] {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #663300;
  font-size: 1.1rem;
  margin: 0;
  padding: 0;
  width: 100%;
}

.awards-search input[type="search"]::placeholder {
  color: #663300;
}

.awards-search button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #663300;
  display: inline-flex;
  justify-content: center;
  min-height: auto;
  padding: 0;
}

.awards-search button:hover {
  background: transparent;
  color: #a25439;
}

.awards-search .dashicons {
  font-size: 22px;
  height: 22px;
  width: 22px;
}

.award-card__link {
  color: #a25439;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  padding: 0;
  text-decoration: none;
}

.award-card__link:hover {
  color: #7d3e2a;
  text-decoration: underline;
}

.award-card__link .dashicons {
  font-size: 16px;
  height: 16px;
  width: 16px;
}

.awards-sidebar-card {
  padding: 1.5rem;
}

.awards-filter-accordion {
  padding: 0;
  overflow: hidden;
}

.awards-filter-accordion__summary {
  color: #663300;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  list-style: none;
  padding: 1.25rem 1.5rem;
  position: relative;
}

.awards-filter-accordion__summary::-webkit-details-marker {
  display: none;
}

.awards-filter-accordion__summary::after {
  color: #a25439;
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.awards-filter-accordion[open] .awards-filter-accordion__summary::after {
  content: "-";
}

.awards-filter-accordion .awards-sidebar-list,
.awards-filter-accordion .awards-recent-posts {
  padding: 0 1.5rem 1.5rem;
}

.awards-sidebar-list,
.awards-recent-posts {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.awards-sidebar-list li {
  border-top: 1px solid rgba(201, 157, 97, 0.28);
  margin: 0;
  padding-top: 0.85rem;
}

.awards-sidebar-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.awards-tag-filter {
  align-items: center;
  background: transparent;
  border: 0;
  color: #663300;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  justify-content: space-between;
  padding: 0;
  text-align: left;
  transition: color 0.2s ease;
  width: 100%;
}

.awards-tag-filter:hover,
.awards-tag-filter:focus {
  color: #a25439;
  outline: none;
}

.awards-tag-filter.is-active {
  color: #a25439;
  font-weight: 700;
}

.awards-tag-filter.is-active span {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 0.18em;
}

.awards-sidebar-list strong {
  background: #dfc4a0;
  border-radius: 999px;
  color: #663300;
  font-size: 14px;
  min-width: 36px;
  padding: 0.2rem 0.55rem;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.awards-tag-filter.is-active strong {
  background: #a25439;
  color: #fff;
}

.awards-recent-posts a {
  color: #663300;
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: rgba(162, 84, 57, 0.32);
  text-underline-offset: 0.18em;
}

.awards-recent-posts a:hover {
  color: #a25439;
  text-decoration-color: currentColor;
}

.awards-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.award-card {
  overflow: hidden;
}

.award-card__media {
  background: linear-gradient(135deg, #f5ecdf, #fff8f0);
  display: block;
  height: 260px;
  overflow: hidden;
}

.award-card__media img,
.award-card__placeholder {
  display: block;
  height: 100%;
  width: 100%;
}

.award-card__media img {
  object-fit: cover;
}

.award-card__body {
  padding: 1.5rem;
}

.award-card__meta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.award-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.award-card__pills span {
  background: #663300;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.42rem 0.7rem;
  text-transform: uppercase;
}

.award-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.award-card__tags span {
  background: #f1ebe2;
  border-radius: 999px;
  color: #7d3e2a;
  font-size: 12px;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
}

.award-card__date {
  color: #a25439;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0;
}

.award-card__title,
.award-card__title a,
.award-card__excerpt {
  color: #663300;
}

.award-card__title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.award-card__excerpt {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.awards-empty {
  padding: 2rem;
  text-align: center;
}

.awards-empty--search {
  margin-top: 1.5rem;
}

.btn-search{
  background-color: unset !important;
}

@media (max-width: 1100px) {
  .awards-layout {
    grid-template-columns: 1fr;
  }

  .awards-sidebar {
    position: static;
  }
}

@media (max-width: 800px) {
  .awards-sidebar {
    order: -1;
  }

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

  .awards-page .content {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .award-card__media {
    height: 220px;
  }
}
