/*
Theme Name:     Divi Child Theme
Theme URI:      http://www.elegantthemes.com/gallery/foxy/
Description:    Divi Child Theme
Author:         Elegant Themes
Author URI:     http://www.elegantthemes.com
Template:       Divi
Version:        1.0.0
*/

/*@import url("../Divi/style.css");*/

/* =Theme customization starts here
------------------------------------------------------- */
:root {
  --white: #ffffff;
	--off-white: #F2F2F2;
	--black: #000000;
	--off-black: #333333;
	--grey: #666666;
	--orange: #f15d22;
	--teal: #68c8c5;
  --blue: #005cc6;
	--primary: #003150;
	
	--h1: 5.4rem;
--h2: 3.8rem;
--h3: 2.7rem;
--h4: 1.9rem;
--h5: 1.3rem;
--h6: 0.9rem;

--body-copy: 1.9rem; /* 19px */
--body-copy-large: 2.4rem; /* 24px */
--body-copy-small: 1.3rem; /* 13px */
--line-height: 1.3;

	--padding-1: 5.4rem;  /* 54px */
  --padding-2: 3.8rem;  /* 38px */
  --padding-3: 2.7rem;  /* 27px */
  --padding-4: 1.9rem;  /* 19px */
  --padding-5: 1.3rem;  /* 13px */
  --padding-6: 0.9rem;  /* 9px */
}

.flex {
  display: flex;
}

.flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

html {
  font-size: 10px; /* 1rem = 10px */
}

body {
font-size: var(--body-copy);
line-height: var(--line-height);
}

.hidden {
  display: none;
}

.body-large {
font-size: var(--body-copy-large);
line-height: var(--line-height);
}

.body-small {
font-size: var(--body-copy-small);
line-height: var(--line-height);
}

.p0 {
  padding: 0;
}

.m0 {
  margin: 0;
}

h1 {
font-size: var(--h1);
}

h2 {
font-size: var(--h2);
}

h3 {
font-size: var(--h3);
}

h4 {
font-size: var(--h4);
}

h5 {
font-size: var(--h5);
}

h6 {
font-size: var(--h6);
}

.p1 {
  padding: var(--padding-1); /* 54px */
}

.p2 {
  padding: var(--padding-2); /* 38px */
}

.p3 {
  padding: var(--padding-3); /* 27px */
}

.p4 {
  padding: var(--padding-4); /* 19px */
}

.p5 {
  padding: var(--padding-5); /* 13px */
}

.p6 {
  padding: var(--padding-6); /* 9px */
}

/*
* ----------[Header Styles]--------*
*/

.et_pb_divimenus_flex_0_tb_header .dd-menu-item-content.dd-text.hover {
  color: #242424!important;
}

/*
* ----------[Button Styles]--------*
*/

/* Core Button Styles */
.text-btn,
.fill-btn,
input[type="submit" i] {
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  padding: 0;
	cursor: pointer;
}

.fill-btn {
  border-radius: 8px;
  padding: 12px 27px;
}

/* Arrow Styles */
.text-btn::after,
.fill-btn::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-left: 12px;
  mask: url('/wp-content/themes/Divi-child/img/right-arrow.svg') no-repeat center;
  mask-size: contain;
  background-color: currentColor; /* Use current text color for arrow */
  transition: transform 0.4s ease;
}

/* Initial Button Styles */
.text-btn {
  color: var(--orange)!important;
}

.fill-btn {
  background-color: var(--orange);
  color: var(--white);
}

/* Hover Effects for Arrows */
.text-btn.hovering::after,
.fill-btn.hovering::after {
  transform: translateX(6px);
}


/*
* ----------[Homepage Styles]--------*
*/

.et_pb_section.et_pb_section_0_tb_body.et_section_regular {
  padding: 0; /* Removes padding on body section */
  overflow: hidden;
}

#hero-section{
  position: relative; /* Ensures child elements can be positioned absolutely */
  overflow: hidden;
}

#hero-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  opacity: 0.6;
  background-image: url('https://thebaileygroup.spotcreates.com/wp-content/uploads/2024/11/tbg-teal-stripe.png');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 9; /* Places it in front of the slider content */
  pointer-events: none; /* Allows interactions with slider elements */
}

.feat-logo {
  flex: 1; /* equally sized containers */
}

.feat-logo img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease; /* Smooth transition */
}

.feat-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}


/*
* ----------[Resources Styles]--------*
*/

/* Grid layout: 3-column grid */
.articles-grid {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr);
  gap: var(--padding-4); */
}

/* List layout: Single-column layout */
.articles-list {
  display: flex;
  flex-direction: column; 
  gap: var(--padding-4); 
}

.articles-list .recent-post-item {
  display: flex;
}

/* Styles for list items */
.articles-list .recent-post-item {
  gap: var(--padding-3); /* Space between image and article info */
}

/* Styles for grid items */
.articles-grid .recent-post-item {
  flex-direction: column;
  align-items: flex-start; /* Align image and content at the top */
  min-height: 405px;
}

/* Image container for images in list layout */
.articles-list .recent-post-image {
  overflow: hidden;
  position: relative;
}

/* Image styling */
.recent-post-image img {
  width: 100%; /* Make the image fill the container */
  height: 100%; /* Make the image fill the container */
  object-fit: cover; /* Cover the container while maintaining aspect ratio */
}

/* Flexbox content for post */
.recent-post-content {
  display: flex;
  align-items: center;
}

/* Flexbox styles for posts in grid layout */
.articles-grid .recent-post-content {
  flex-direction: column;
}

/* Flexbox styles for posts in list layout */
.articles-list .recent-post-content {
  gap: var(--padding-3);
}

/* Post details container for list layout */
.articles-list .recent-post-details {
  flex: 1;
}

/* Post details container for grid layout */
.articles-grid .recent-post-details {
  padding: var(--padding-4);
}

/* Title styling */
.recent-post-title {
  font-family: 'Roboto', sans-serif;
  color: var(--primary);
  font-weight: 500;
  font-size: var(--h4);
}

.recent-post-title a {
  text-decoration: none;
}

/* Excerpt styling */
.recent-post-excerpt {
  font-size: 16px;
  line-height: 1.3em;
  color: var(--off-black);
}

/* Styles for author and categories */
.recent-post-author,
.recent-post-categories {
  font-size: var(--body-copy-small);
  line-height: 1.2em;
}

.recent-post-author {
  padding-bottom: var(--padding-6);
}

.recent-post-author a,
.recent-post-categories a {
  text-decoration: none;
  color: var(--grey); /* Link color */
}

.recent-post-author a:hover,
.recent-post-categories a:hover {
  color: var(--off-black); /* Link color on hover */
}

/* Video Posts */

.recent-video-posts {
  display: grid;
  gap: var(--padding-4);
}

.recent-video-item {
  opacity: 0; /* Start hidden */
  transform: translateY(20px); /* Start slightly shifted down */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

.recent-video-item.visible {
  opacity: 1; /* Fully visible */
  transform: translateY(0); /* Slide to original position */
}

.recent-video-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* Overlay with initial opacity of 0.3, increasing to 0.5 on hover */
.recent-video-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Overlay color with 0.3 opacity */
  transition: background-color 0.3s ease;
}

.recent-video-item:hover::before {
  background-color: rgba(0, 0, 0, 0.5); /* Darker overlay on hover */
}

/* Play button with 80% initial opacity, increasing to 100% on hover */
.recent-video-item .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-image: url('/wp-content/themes/Divi-child/img/play.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8; /* 80% opacity initially */
  transition: opacity 0.3s ease;
}

.recent-video-item:hover .play-button {
  opacity: 1; /* Full opacity on hover */
}


/* Dropdown Menu */

.topics-dropdown {
  position: relative;
  z-index: 9;
}

.topics-dropdown-label {
  display: inline-block;
  text-transform: uppercase;
  cursor: pointer;
  background-color: white;
  padding: 9px 17px;
  border-radius: 8px;
  border: 1px solid #d2d2d2;
}

.topics-dropdown-label .down-arrow {
  width: 15px;
  margin-left: 12px;
  padding-bottom: 4px;
}

.topics-dropdown-list {
  display: none;
  position: absolute;
  border-radius: 8px;
  top: 100%;
  left: 0;
  width: 300px;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 0; /* Add padding to make hover smoother */
}

.topic-item {
  padding: 4px 15px;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 18px;
}

.topic-item:hover {
  background-color: #d0d0d0;
}

/*
* ----------[Case Study Styles]--------*
*/

.casestudy-abstract, .casestudy-abstract.et_pb_text_3_tb_body.et_pb_text {
  color: var(--blue)!important;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
}

.casestudy-details {
  color: var(--off-black);
  line-height: 1.4!important;
}

.bg-details-label {
  font-weight: 500;
  color: var(--primary);
}

.checkmark-module img {
  width: 34px;
  height: 34px;
  margin-right: var(--padding-4);
}

.checkmark-module h4 {
  color: var(--primary);
}

.outcomes-module h4 {
  color: var(--blue);
}

.checkmark-module h4, .outcomes-module h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.checkmark-module {
  display: flex;
}

.casestudy-columns {
  display: flex;
  gap: var(--padding-2);
}

.outcomes-module h4 {
  text-align: center;
}

.outcomes-module {
  flex: 1; /* Ensures equal width for all columns */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.outcomes-module img.cs-icon {
  width: 130px;
  height: 130px;
  padding: 9px;
  border-radius: 50%;
  display: block;               /* Ensure block-level element for spacing */
  margin-bottom: var(--padding-3); /* Space between image and text */
}

/* Styles for the first, second, and third child */
.outcomes-module:nth-child(1) img.cs-icon {
  background-color: var(--blue); /* Background color for first child */
}

.outcomes-module:nth-child(2) img.cs-icon {
  background-color: var(--teal); /* Background color for second child */
}

.outcomes-module:nth-child(3) img.cs-icon {
  background-color: var(--orange); /* Background color for third child */
}


/* Case Study Testimonial Styles */
.testimonial-container {
  padding: 54px 0;
}

.cs-testimonial-header {
  text-align: center;
  font-weight: 300;
  font-family: 'Roboto Slab', serif;
  color: var(--primary);
}

.testimonial-container .testimonial {
  position: relative;
  border: 2px solid var(--teal);
  padding: 40px 60px 40px 70px;
  margin-top: 25px; /* Optional: for some spacing between header and testimonial */
}

.testimonial-source {
  font-style: italic;
}

/* Quote image styling */
.testimonial-container .testimonial::before {
  content: '';
  background-image: url('/wp-content/uploads/2024/10/left-quote-e1722528004959.png');
  background-color: white;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50px;
  left: -20px;
  width: 54px; /* Adjust size if needed */
  height: 54px; /* Adjust size if needed */
}

/*
* ----------[Team Member Styles]--------*
*/

/* Container for the whole team slider */
.teammember-grid-container {
  overflow: hidden;
  position: relative;
}

.teammember-slider-container h3, .teammember-grid-container h3 {
  font-weight: 300;
  color: var(--primary);
  margin-bottom: var(--padding-3);
}

.teammember-slide {
  min-height: 450px;
}

/* Individual team member slide - containing 4 members per row */
.teammember-row {
  display: grid;
}

.teammember-row.hidden {
  display: none;
}

.slider-navigation {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
  width: 100%;
  position: relative;
  margin-top: 20px; /* Adjust space between slider and arrows if needed */
}

.slider-prev, .slider-next {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 40px;  /* Adjust size of the arrows */
  height: 40px;
  border: none; /* Remove any default button borders */
  cursor: pointer;
  transition: transform 0.3s ease; /* Add some hover animation */
}

.slider-prev {
  background-image: url('/wp-content/uploads/2024/10/left.svg'); /* Left arrow */
}

.slider-next {
  background-image: url('/wp-content/uploads/2024/10/right-arrow.svg'); /* Right arrow */
}

.slider-prev:hover, .slider-next:hover {
  transform: scale(1.1); /* Slightly enlarge the arrows on hover */
}

.slider-prev:focus, .slider-next:focus {
  outline: none; /* Remove focus outline */
}

/* Individual team member item */
.teammember-item {
  display: block;
}

/* Team member image container */
.teammember-image {
  width: 100%;
  padding-bottom: 133.33%; /* 3:4 aspect ratio (4/3 * 100 = 133.33%) */
  position: relative;
  overflow: hidden;
}

.teammember-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  width: 100%;
  transform: translate(-50%, -50%) scale(1);
  object-fit: cover;
  transition: transform 0.3s ease; /* Smooth transition */
}

.teammember-image:hover img {
  transform: translate(-50%, -50%) scale(1.1); /* Zoom in by 10% on hover */
}

/* Team member info */
.teammember-info {
  margin-top: var(--padding-4);
}

.teammember-name {
  font-weight: 500;
  color: var(--primary);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  /* font-size: var(--h4); */
  margin-bottom: var(--padding-6);
  line-height: 1.2;
}

.teammember-title {
  color: var(--off-black);
  opacity: 0.9;
  font-size: 18px;
  line-height: 1.3;
}

/* Individual Bio Pages */
.team-member-quote div {
  font-family: 'Roboto Slab',Georgia,"Times New Roman",serif;
  font-size: var(--h3);
  line-height: 1.3;
}

.teammember-details {
  display: flex;
  gap: var(--padding-3);
  min-width: 150px; /* Minimum width to ensure columns */
  box-sizing: border-box; /* Ensure padding and margin don't affect total width */
  color: var(--off-black);
}

.teammember-details h3 {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.teammember-details ul {
  padding: 0 1.4em;
  list-style: none;
}

.teammember-details li::before {
  content: "";
  border-color: transparent var(--blue);
  border-style: solid;
  border-width: 0.35em 0 0.35em 0.45em;
  display: block;
  height: 0;
  width: 0;
  left: -1.2em;
  top: 0.9em;
  position: relative;
}

.details-col {
  flex: 1 1 calc(33.333% - 10px); /* Three columns with spacing */
}

/* Optional: Hide any items that may end up being empty */
.teammember-item:empty {
  display: none;
}

.bio-page-photo.et_pb_image_0_tb_body {
  margin-bottom: var(--padding-3)!important;
}

.bio-page-photo .et_pb_image_wrap {
  width: 100%;
  max-width: 100%;
}

.bio-page-photo.et_pb_image_0_tb_body img {
  width: 100%;
  object-fit: cover;
}

.contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--padding-3);
}

.contact-icon {
  height: 34px;
  width: auto;
}

.icon-link {
  text-decoration: none;
}

/*
* ----------[Case Study Slider Styles]--------*
*/

.casestudy-slider {
  min-height: 345px;
  display: flex;
  gap: var(--padding-3); /* Space between slides */
  transition: transform 0.5s ease-in-out;
}

/* Case study image container */
.casestudy-item {
  flex: 1;
}

.casestudy-image {
  width: 100%;
  padding-bottom: 66.66%; /* 4:3 aspect ratio */
  position: relative;
  overflow: hidden;
}

.casestudy-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  width: 100%;
  transform: translate(-50%, -50%) scale(1);
  object-fit: cover;
  transition: transform 0.3s ease; /* Smooth transition */
}

.casestudy-image:hover img {
  transform: translate(-50%, -50%) scale(1.1); /* Zoom in by 10% on hover */
}

.casestudy-info {
  margin-top: var(--padding-4);
}

.casestudy-name {
  font-weight: 500;
  color: var(--primary);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  /* font-size: var(--h4); */
  margin-bottom: var(--padding-6);
  line-height: 1.2;
}

.casestudy-tagline {
  color: var(--off-black);
  opacity: 0.9;
  font-size: 18px;
  line-height: 1.3;
}

/*
* ----------[Testimonial Styles]--------*
*/

.testimonial .et_pb_image_wrap img {
  margin-left: -32px;
  background-color: white;
}

img.testimonial-logo {
  float: left;
  height: 32px;
}

/*
* ----------[Contact Form Styles]--------*
*/

.form-intro .et_pb_blurb_container {
  padding-left: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-intro .et_pb_blurb_description {
  text-align: center;
  font-size: 22px;
  max-width: 300px;
}

.wpforms-container input[type=date], .wpforms-container input[type=datetime], .wpforms-container input[type=datetime-local], .wpforms-container input[type=email], .wpforms-container input[type=month], .wpforms-container input[type=number], .wpforms-container input[type=password], .wpforms-container input[type=range], .wpforms-container input[type=search], .wpforms-container input[type=tel], .wpforms-container input[type=text], .wpforms-container input[type=time], .wpforms-container input[type=url], .wpforms-container input[type=week], .wpforms-container select, .wpforms-container textarea {
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 8px;
  color: var(--off-black);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  display: block;
  float: none;
  font-size: 16px;
  border: 1px solid #ccc;
  padding: 6px 10px;
  height: 43px;
  width: 100%;
  line-height: 1.3;
}

div.wpforms-container-full .wpforms-field-label-inline, .wp-core-ui div.wpforms-container-full .wpforms-field-label-inline {
  color: #777777;
}

.wpforms-container .wpforms-field.wpforms-field-checkbox {
  padding: 0!important;
}

div.wpforms-container-full, div.wpforms-container-full * {
  width: unset;
}

.get-in-touch-form.wpforms-container-full:not(:empty){
  margin: unset;
}

.wpforms-container .wpforms-field {
  padding: 10px 0!important;
  clear: both;
}

.get-in-touch-form form {
  width: 100%!important;
  max-width: 100%!important;
}

.get-in-touch-btn, .lead-form-btn {
  background-color: var(--orange)!important;
  text-transform: uppercase!important;
  font-family: 'Montserrat', sans-serif!important;
  font-size: 18px!important;
  padding: 13px 54px!important;
  height: 48px!important;
  border-radius: 8px!important;
}

.signup-form form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--padding-4);
}

.signup-form .wpforms-submit-container  {
  margin-top: 0!important;
}

.lead-form .wpforms-submit-container {
  display: flex;
  justify-content: center;
  margin-top: var(--padding-3) !important;
}

.get-in-touch-form {
  display: flex;
  align-items: center;
  gap: 20px;
}

.get-in-touch-btn {
  margin-top: 0;
}

#footer-text {
  display: flex;
  justify-content: center;
  gap: var(--padding-4);
}

#footer-menu .et_pb_text_inner {
  display: grid;
}

footer .et_pb_blurb_position_left .et_pb_blurb_content {
  display: flex;
  flex-direction: row;
  align-items: center;
}

footer .et_pb_blurb_position_left .et_pb_main_blurb_image {
  margin: 0;
  width: auto;
  display: flex;
}

footer .et_pb_blurb_content h2.et_pb_module_header {
  padding: 0;
  line-height: 1em;
}

.footer-social-icon {
  display: inline-block;
  margin-right: 12px;
}

/*
* ----------[MEDIA QUERIES]--------*
*/

@media only screen and (max-width: 980px) {

  #mobile-menu-module {
    height: 45px;
  }

  body.open-menu #mobile-menu-section {
    opacity: 1;
    visibility: visible;
    z-index: 999;
    display: flex;
  }

  #mobile-menu-section {
      z-index: -1;
      opacity: 0;
      position: absolute;
      visibility: hidden;
      transition: 0.4s ease-in-out;
  }

  .mobile-menu-container ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px; /* Adds 20px gap between items */
    list-style: none; /* Removes bullet points */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
  }

  #mobile-menu-main-menu ul li a {
    color: white; /* Turns links white */
    text-decoration: none; /* Removes underline */
    padding: 10px 0;
    font-size: 34px;
    font-weight: 300;
    transition: all 0.2s ease;
  }

  #mobile-menu-main-menu ul li a:hover {
    font-weight: 400;
  }

  #mobile-menu-open-icon line,
  #mobile-menu-close-icon line {
      stroke: white;
  }

  body.open-menu #header-logo img {
    max-height: 65px!important;
  }

  .flex-center {
    flex-direction: column;
  }

  #hero-section::before {
    right: -66vw;
    width: 400px;
    height: 400px;
  }

  .casestudy-slider {
    flex-direction: column;
    gap: var(--padding-4);
  }
  
  #featured-logos-container {
    display: grid;
    grid-template-columns: 50% 50%;
    row-gap: 15px;
  }

  .feat-logo img {
    height: 32px!important;
  }

	/* Individual team member slide - containing 4 members per row */
  .teammember-row {
    grid-template-columns: repeat(1, 1fr);
    gap: var(--padding-2);
  }

  .teammember-details {
    flex-direction: column;
  }

  .articles-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .articles-list .recent-post-image {
    width: 100%;
    height: 200px;
  }

  .recent-post-item {
    flex-direction: column;
  }

  .testimonial.et_pb_blurb {
    padding-top: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 20px !important;
    padding-left: 0px !important;
  }

  .testimonial .et_pb_blurb_description {
    line-height: 1.2;
  }

  .testimonial .et_pb_blurb_container{
    padding-left: 0px!important;
  }

  .testimonial .et_pb_image_wrap.et_pb_only_image_mode_wrap {
    width: 32px!important;
  }

  .testimonial .et_pb_image_wrap img {
    margin-left: -16px!important;
  }

  .recent-video-posts {
    grid-template-columns: repeat(1, 1fr);
  }

  #footer-menu .et_pb_text_inner {
    grid-template-columns: repeat(1, 1fr);
  }

  #footer-text {
    flex-direction: column;
  }

}

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

  li.lets-talk-btn {
    display: none !important; /* Hide CTA btn on desktop */
  }

  #hero-section::before {
    right: -16vw;
    width: 500px;
    height: 100%;
  }

  #featured-logos-container {
    display: flex;
  }

  .feat-logo img {
    height: 45px!important;
  }

  .teammember-row {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--padding-3);
  }

  /* Container for all team member slides */
  .teammember-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: center;
  }

  .teammember-details {
    flex-direction: row;
  }

  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--padding-4);
  }

  .articles-list .recent-post-image {
    width: 225px; /* Set width based on 2:3 aspect ratio */
    height: 150px; /* Fixed height */
  }

  .articles-grid .recent-post-image {
    width: 322px;
    height: 182px;
  }

  .recent-video-posts {
    grid-template-columns: repeat(3, 1fr);
  }

  #footer-menu .et_pb_text_inner {
    grid-template-columns: repeat(2, 1fr);
  }

  #footer-text {
    flex-direction: row;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-social-icon {
    display: inline-block;
    margin-right: 10px;
  }
}