img.left {
  float: left;
  margin: 2px;
}

@media (max-width:600px) {
  img.left {
    float: none;
    width: 100%;
    height: auto;
    margin-top: 2px;
    margin-bottom: 2px;
  }
}

h1,
h2,
h3,
h4,
h6 {
  font-weight: 200;
}

hr {
  clear: both;
}

.rich-text ul {
  overflow: hidden;
}

.authorblock {
  border-bottom: 1px solid #e06c00;
  padding-bottom: 3px;
  display: flex;
  max-width: 640px;
}

.authorblock img {
  border-radius: 50%;
  max-width: 60px;
  max-height: 60px;
}

.authorblock .bio {
  font-size: smaller;
  font-style: italic;
}

.authorblock .date {
  font-size: smaller;
  font-weight: bold;
}

.fade-in-section {
  /* opacity: 0; */
  transform: translateY(20vh);
  /* visibility: hidden; */
  transition: transform 0.8s ease-out;
  /* transition: opacity 0.6s ease-out, transform 1.2s ease-out; */
  /* will-change: opacity, visibility; */
}

.fade-in-section.is-visible {
  /* opacity: 1; */
  transform: none;
  /* visibility: visible; */
}

.listitem-hr {
  font-size: 1.2em;
  text-align: center;
  display: block;
  padding: 10px 5px 10px 5px;
}

.hr-container .listitem-hr:not(:last-child) {
  display: block;
}

.hr-container .listitem-hr:not(:last-child):after {
  position: relative;
  top: 10px;
  display: block;
  content: '';
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid #c0c0c0;
}

.bulletpanel-item {
  background-color: #e06c00;
  padding-top: 30px;
  padding-bottom: 30px;
}

div .bulletpanel-item:not(:last-child) {
  background-color: #d05c00;
}

.innerpanel-left {
  margin: 0px;
  margin-left: auto;
  padding: 0px;
  padding-right: 20px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  min-width: 300px;
  max-width: 600px;
}

.innerpanel-right {
  margin: 0px;
  margin-right: auto;
  padding: 0px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  min-width: 300px;
  max-width: 600px;
}

.bullet {
  text-align: center;
}

.blacklink {
  color: black;
}

.blacklink:hover {
  text-decoration-color: black;
}

/* Custom styles for the FAQ Accordion */
.faq-section .card {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #dee2e6;
}

.faq-section .card:first-of-type {
  border-top: 1px solid #dee2e6;
}

.faq-section .card-header {
  background-color: #fff;
  border-bottom: none;
  padding: 0;
}

.faq-section .btn-link {
  color: #212529;
  font-weight: 600;
  padding: 1rem 1.25rem;
  text-decoration: none;
  width: 100%;
  text-align: left;
  position: relative;
  /* Needed for the icon positioning */
  -webkit-tap-highlight-color: transparent;
  /* Removes tap highlight on mobile */
}

.faq-section .btn-link:hover,
.faq-section .btn-link:focus {
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

/* Style for the chevron indicator icon */
.faq-section .btn-link::after {
  content: '\2039';
  /* A single left-pointing angle quotation mark */
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%) rotate(-90deg);
  /* Points down initially */
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.2s ease-in-out;
}

/* When the accordion item is open (button is not collapsed), rotate the icon */
.faq-section .btn-link:not(.collapsed)::after {
  transform: translateY(-50%) rotate(90deg);
  /* Points up */
}

.faq-section .card-body {
  background-color: #f8f9fa;
  /* A slightly different background for the answer */
  line-height: 1.6;
}

/*
 * Complete CSS for the Testimonial Carousel (Indicators Removed)
 */

.testimonial-carousel-section .testimonial-content {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 50px;
}

.testimonial-carousel-section .carousel-control-prev-icon,
.testimonial-carousel-section .carousel-control-next-icon {
  background-color: #333;
  border-radius: 50%;
  padding: 20px;
}

.testimonial-carousel-section .carousel-indicators {
  /* This rule removes the indicators entirely from the page layout */
  display: none;
}

.testimonial-carousel-section .blockquote p {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
}

.testimonial-carousel-section .blockquote-footer {
  font-size: 1rem;
  font-weight: bold;
  color: #495057;
}

.testimonial-carousel-section .rounded-circle {
  max-width: 100px;
  height: auto;
}

/* Employee Cards */
/* Main Card Styling */
.employee-card {
    background-color: #fdf5e6; /* Light Cream */
    border: none;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.employee-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Headshot Styling */
.employee-card .headshot-container img {
    width: 100%;
    height: auto;
    /* Ensures the headshot fills the area nicely if aspect ratios vary */
    object-fit: cover;
}

/* Typography & Spacing */
.employee-card .card-title {
    color: #333;
    font-weight: 700;
}

.employee-card .card-subtitle {
    color: #6c757d;
    letter-spacing: 0.05rem;
}

/* LinkedIn Icon Styling */
.linkedin-link {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.linkedin-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
    text-decoration: none;
}

.linkedin-link i {
    color: #0077b5;
    font-size: 2rem;
}

/* Responsive Centering Helpers */
@media (max-width: 767.98px) {
    .employee-card .card-body {
        padding: 2rem 1.5rem;
    }

    /* Ensures the icon container also centers properly on mobile */
    .linkedin-container {
        display: flex;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .linkedin-container {
        display: block;
    }
}
