  /* =========================================
   1. The Grid (Configurable columns)
   ========================================= */
.team-deck {
  display: grid;
  /* Requirement: 1 card per row on mobile */
  grid-template-columns: 1fr; 
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Requirement: Configurable Desktop Columns via Utility Classes */
@media screen and (min-width: 768px) {
  .desktop-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .desktop-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .desktop-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================
   2. The Card 
   ========================================= */
.team-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 8px;
  /* Requirement: Subtle Box Shadow */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  /* Requirement: Cards in a row stretch to equal height */
  height: 100%; 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  /*  transform: translateY(-4px);Optional: slight lift on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* =========================================
   3. Alternative Headshot Presentations
   ========================================= */
.team-card__img-link {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
}

.team-card__img {
  display: block;
  /* 
    Forces all images to be the exact same height/proportion, 
    preventing row misalignment regardless of original upload size. 
  */
  aspect-ratio: 1 / 1; 
  object-fit: cover; 
}

/* Option A: Edge-to-Edge Rectangle */
.img-style-rectangle {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

/* Option B: Centered Circle */
.img-style-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 2rem auto 0 auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Option C: Inset Rounded */
.img-style-rounded {
  width: calc(100% - 2rem);
  margin: 1rem auto 0 auto;
  border-radius: 8px;
}

/* =========================================
   4. Card Body & Truncation
   ========================================= */
.team-card__body {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  /* flex-grow: 1 forces the body to expand, which pushes the button to the bottom */
  flex-grow: 1; 
}

.team-card__name {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: #222;
}

/* Requirement: Truncate to 3 lines */
.team-card__blurb {
  margin: 0 0 1.5rem 0;
  color: #555;
  line-height: 1.5;
  
  /* CSS magic to truncate text with an ellipsis after 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
}


/* =========================================
   5. Learn More Button Options
      margin-top: auto mathematically pins the button to the bottom of the card
   ========================================= */
/* Option 0. Block Button */
/* .team-card__btn {
  margin-top: auto; 
  display: inline-block;
  text-align: center;
  background-color: #0056b3;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.team-card__btn:hover {
  background-color: #004494;
} */

/* Option 1: Clean Link with Animated Caret 
 On hover, darken the text and slide the arrow to the right */
.team-card__btn {
  margin-top: auto; 
  align-self: flex-start; 
  text-decoration: none; 
  color: #0056b3;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}
.team-card__btn::after {
  content: "\f105"; 
  font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 0.5rem;
  transition: transform 0.2s ease-in-out;
}
.team-card__btn:hover {
  color: #003d82;
}
.team-card__btn:hover::after {
  transform: translateX(5px); 
} 

/* Option 2: "Ghost" with outline */
/* .team-card__btn {
  margin-top: auto; 
  align-self: flex-start; 
  
  color: #0056b3;
  background-color: transparent;
  border: 2px solid #0056b3;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.team-card__btn:hover {
  background-color: #0056b3;
  color: #ffffff;
} */

/* Option 3: Soft background "Pill"  */
/* .team-card__btn {
  margin-top: auto; 
  align-self: flex-start; 
  
  color: #0056b3;
  background-color: #e6f0fa; 
  padding: 0.5rem 1.25rem;
  border-radius: 50px; 
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.team-card__btn:hover {
  background-color: #cce0f5; 
  color: #004494;
}
 */

 /* Option 4: Animated underline */
 /* Creates the hidden underline */
/* On hover, the underline expands to 100% width team-card__btn:hover::after {width: 100%;}*/
 /* .team-card__btn {
  margin-top: auto; 
  align-self: flex-start; 
  color: #0056b3;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
}

.team-card__btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0056b3;
  transition: width 0.3s ease-in-out;
}
.team-card__btn:hover::after {
  width: 100%;
}

.team-card__btn:hover {
  color: #003d82;
} */



/* -----------------------------------
   1. Main Wrapper Layout
----------------------------------- */
.contact-card {
  /* Req 1: Consumes 100% of viewport/parent horizontally on all devices */
  width: 100%;
  margin: 2rem auto; 
  box-sizing: border-box;
  padding: 1.5rem;
  
  /* Image left, content vertically centered */
  display: flex;
  flex-direction: row;
  align-items: center; /* Keeps children centered vertically */
  gap: 2rem; 

  /* Styling */
  background: #F0F8FF;
  border: 1px solid #CAE9F5;
  border-radius: 8px;
}
/* Note: Desktop width media query removed per Req 1 */

/* -----------------------------------
   2. Image Styling
----------------------------------- */
.contact-logo {
  /* Req 2: Max-width forced to 150px to prevent theme overrides */
  max-width: 150px !important; 
  height: auto;
  flex-shrink: 0; 
}

/* -----------------------------------
   3. Content Layout & Spacing
----------------------------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  /* Req 3: Forces items to cluster in the vertical center and prevents stretching */
  justify-content: center; 
}

/* Req 3: Applying strict 1rem bottom margin instead of flexible gaps */
.contact-item {
  margin-bottom: 0;
}

/* Removes the margin from the very last item so it doesn't push the vertical centering off-balance */
.contact-item:last-child {
  margin-bottom: 0;
}

/* -----------------------------------
   4. Link Styling
----------------------------------- */
.contact-item a {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: #111; 
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.contact-item a:hover {
  color: #0056b3; 
}

/* -----------------------------------
   5. FontAwesome Pseudo-Elements 
----------------------------------- */
.contact-item a::before {
  font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free";
  display: inline-block;
  width: 1.5rem;
  text-align: center;
  margin-right: 0.75rem;
  margin-top: 0.15rem; 
  flex-shrink: 0; 
}

.item-email a::before {
  content: "\f003"; 
  font-weight: 400; 
}

.item-phone a::before {
  content: "\f095"; 
  font-weight: 900; 
}

.item-location a::before {
  content: "\f041"; 
  font-weight: 900;
}

/* -----------------------------------
   6. Multi-line Address Formatting
----------------------------------- */
.location-text {
  display: flex;
  flex-direction: column; 
}

.location-name {
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.location-address {
  font-weight: 300;
  line-height: 1.4;
}
/* -----------------------------------
   7. Extended Icons (Website & Brands)
----------------------------------- */

/* Website uses the standard FontAwesome family (Globe icon) */
.item-website a::before {
  content: "\f0ac"; /* Unicode for fa-globe */
  font-weight: 900;
}

/* -----------------------------------
   7.b. Social Media Row
----------------------------------- */
.social-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; /* Requirement: Wrap to multiple lines if necessary */
  justify-content: center; /* Requirement: Center horizontally */
  gap: 1rem; /* Adjust space between icons */
  margin-top: 1rem; /* Adds breathing room beneath the address block */
  width: 100%;
}

/* Requirement: 32px square divs */
.social-icon {
  width: 32px;
  height: 32px;
}

/* Forces the <a> tag to fill the 32px div and center the icon inside it */
.social-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #111; 
  font-size: 1.5rem; /* Scales the icon to fit nicely inside the 32px box */
  transition: color 0.2s ease-in-out;
}

.social-icon a:hover {
  color: #0056b3; 
}

/* -----------------------------------
   8. Social Brand Pseudo-Elements
----------------------------------- */
.social-icon a::before {
  font-family: "FontAwesome", "Font Awesome 5 Brands", "Font Awesome 6 Brands";
  font-weight: 400;
  display: block; 
}

.item-website a::before { content: "\f0ac"; }
.item-facebook a::before { content: "\f09a"; }
.item-x a::before { content: "\f099"; } /* or \e61b for the X icon (requires Font Awesome v6.4.2+.) */
.item-instagram a::before { content: "\f16d"; }
.item-linkedin a::before { content: "\f08c"; }


/* Start Modal Popup Body V2 / Text with Right-Aligned Image Block */

.wrap-image-block-2 {
  width: 100%;                 /* Full width of the page content column */
  margin: 1rem 0 4rem 0;         
}

/* Title row */
.wrap-image-block-2__title-row {
  width: 100%;
  margin: 1.5rem 0;
  text-align: center;
}

.wrap-image-block-2__title-row h2 {
  margin: 0;                   
}

/* Body (text + image area) */
.wrap-image-block-2__body {
  width: 100%;
  overflow: auto;              /* Contains the floated image */
}

/* Right-aligned image with text wrapping */
.wrap-image-block-2__image-head {
  float: right;
  width: 250px;   
  height: 250px;              
  max-width: 250px!important;            /* Optional: prevent overly large images on wide screens */
  max-height: 250px!important; 
  margin: 0 0 .25rem 1.5rem;  /* Space below and to the left of the head shot */
  display: block;
  border-radius: 50%;
  /*box-shadow: .4px .4px .5px rgba(0, 0, 0, .33), 9.6px 8.8px 11.8px -2px rgba(0, 0, 0, .24), 25.5px 23.6px 31.5px -3px */
  box-shadow: .4px .4px 5px rgba(0, 0, 0, .25), 1.5px 1.4px 10px -3.9px rgba(0, 0, 0, .19);
}

.wrap-image-block-2__image-logo {
  float: left;
  width: 200px;   
  height: 200px;              
  max-width: 200px!important;            /* Optional: prevent overly large images on wide screens */
  max-height: 200px!important; 
  margin: 0 0 .5rem 1.5rem;  /* Space below and to the left of the logo */
  display: block;
  /* border-radius: 50%; */
  /*box-shadow: .4px .4px .5px rgba(0, 0, 0, .33), 9.6px 8.8px 11.8px -2px rgba(0, 0, 0, .24), 25.5px 23.6px 31.5px -3px */
 /* box-shadow: .4px .4px 5px rgba(0, 0, 0, .25), 1.5px 1.4px 10px -3.9px rgba(0, 0, 0, .19);  */
}

/* Optional: tweak spacing for h4 / p inside this component only */
.wrap-image-block-2__body h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.wrap-image-block-2__body p {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

/*  Responsive behavior */
@media (max-width: 768px) {
  .wrap-image-block-2__image {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem 0;        /* Full-width image above text on mobile */
  }
  .wrap-image-block-2__title-row {
    margin:1rem 0;
    padding:0 2rem; /* Indent title row to not overlap close icon */
}
}

/* End Modal Popup Body V2 / Text with Right-Aligned Image Block */
