/* Container */
.hs-roles-wrapper {
  max-width: 1400px; /* Wide container to allow peeking */
  margin: 0 auto;
  padding: 60px 20px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow: hidden; /* Hides the scrollbar but keeps content */
}

/* --- Header Layout --- */
.roles-header {
  display: flex;
  justify-content: space-between; /* Pushes text left, arrows right */
  align-items: flex-end; /* Aligns arrows to bottom of text block */
  margin-bottom: 40px;
  padding-right: 20px; /* Safety padding for right edge */
}

.header-content {
  max-width: 700px;
}

.header-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.header-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #002D5B; /* Dark Navy */
  margin-bottom: 15px;
}

.header-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* --- Navigation Buttons --- */
.roles-nav {
  display: flex;
  gap: 115px;
  margin-bottom: 10px; /* Visual alignment fix */
}

.roles-prev, .roles-next {
  position: static; /* Removes default absolute positioning */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #E5E5E5; /* Subtle border */
  color: #4995C9; /* Blue Arrow */
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.roles-prev::after, .roles-next::after {
  font-size: 18px!important;
  font-weight: 700;
}

.roles-prev:hover, .roles-next:hover {
  background-color: #EAF6FF;
  border-color: #4995C9;
}

/* --- Card Styling --- */
.role-card {
  border-radius: 12px;
  overflow: hidden;
  background-color: #EAF6FF; /* Light Blue Background */
  height: auto;
  display: flex;
  flex-direction: column;
}

.role-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.role-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.role-content {
  padding: 25px;
  flex-grow: 1;
}

.role-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

/* Bullet List Styling */
.role-list ul {
  padding-left: 20px;
  margin: 0;
  list-style: none; /* We'll use custom bullets */
}

.role-list li {
  position: relative;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.5;
  padding-left: 5px;
}

/* Custom Blue Bullet Point */
.role-list li::before {
  content: "•";
  color: #4995C9; /* Brand Blue */
  font-weight: bold;
  font-size: 18px;
  position: absolute;
  left: -15px;
  top: -2px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .roles-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .roles-nav {
    width: 100%;
    justify-content: flex-end; /* Moves arrows to right on mobile */
    margin-top: 30px;
  }
}

.swiper-button-next, .swiper-button-prev {
  top: auto!important;
}

.swiper-button-next, .swiper-rtl .swiper-button-prev {
  right: 90px!important;
}

.swiper-button-prev.roles-prev, .swiper-button-next.roles-next {
  height: 78px;
  position: relative;
  width: 78px;
}
}