/* ==========================================================================
   Browse by Issue Page Styles
   ========================================================================== */

.browse-by-issue-page {
  width: 100%;
  min-height: 100vh;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.browse-by-issue-main {
  flex: 1;
  width: 100%;
}

/* Page Reveal & Animation Defaults */
.browse-by-issue-page .reveal-left,
.browse-by-issue-page .reveal-up,
.browse-by-issue-page .reveal-fade {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* ==========================================================================
   Browse by Issue Banner Section (Matches Digital Access Banner Pattern)
   ========================================================================== */
.browse-by-issue-banner-section {
  width: 100%;
  background-color: #FAF6FB;
  border-bottom: 1px solid #EBE3EF;
  position: relative;
  overflow: hidden;
}

.browse-by-issue-banner-container {
  width: 100%;
  margin: 0 auto;
  min-height: 580px;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.browse-by-issue-banner-inner {
  width: 100%;
  padding: 4.5rem 5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.browse-by-issue-banner-text-box {
  max-width: 650px;
  transition: all 0.3s ease;
}

.browse-by-issue-banner-title {
  font-family: 'museo Slab';
  font-size: 3.25rem;
  font-weight: 700;
  color: #1A0D2E !important;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
  background: none !important;
  -webkit-text-fill-color: #1A0D2E !important;
}

.browse-by-issue-banner-desc {
  font-family: 'museo Slab';
  font-size: 1.25rem;
  font-weight: 400;
  color: #4A3B63;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .browse-by-issue-banner-container {
    min-height: 480px;
  }

  .browse-by-issue-banner-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 1056px) {
  .browse-by-issue-banner-text-box {
    max-width: 520px;
    background: rgba(250, 246, 251, 0.88);
    padding: 1.75rem;
    border-radius: 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(26, 13, 46, 0.08);
  }
}

@media (max-width: 992px) {
  .browse-by-issue-banner-container {
    min-height: 420px;
    background-position: 85% center;
  }

  .browse-by-issue-banner-inner {
    padding: 3.5rem 2rem;
  }

  .browse-by-issue-banner-title {
    font-size: 2.4rem;
  }

  .browse-by-issue-banner-desc {
    font-size: 1.15rem;
  }
}

@media (max-width: 767px) {
  .browse-by-issue-banner-container {
    min-height: auto;
    background-position: center bottom;
    background-size: cover;
    padding-bottom: 220px;
  }

  .browse-by-issue-banner-inner {
    padding: 2.5rem 1.25rem 1rem;
  }

  .browse-by-issue-banner-text-box {
    max-width: 100%;
    background: rgba(250, 246, 251, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 1.25rem;
  }

  .browse-by-issue-banner-title {
    font-size: 1.85rem !important;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .browse-by-issue-banner-desc {
    font-size: 1.02rem;
    line-height: 1.5;
  }
}

@media (max-width: 576px) {
  .browse-by-issue-banner-container {
    padding-bottom: 180px;
  }

  .browse-by-issue-banner-inner {
    padding: 2rem 1rem 0.75rem;
  }

  .browse-by-issue-banner-title {
    font-size: 1.7rem !important;
    margin-bottom: 0.75rem;
  }

  .browse-by-issue-banner-desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .browse-by-issue-banner-container {
    padding-bottom: 160px;
  }

  .browse-by-issue-banner-inner {
    padding: 1.75rem 0.85rem 0.5rem;
  }

  .browse-by-issue-banner-title {
    font-size: 1.65rem !important;
  }

  .browse-by-issue-banner-desc {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   The People Behind The Mission Section Styles
   ========================================================================== */
.sd-people-section {
  width: 100%;
  padding: 5rem 1.5rem 6rem;
  background-color: #FFFFFF;
  position: relative;
  box-sizing: border-box;
  overflow-x: clip;
}

.sd-people-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 0 1rem;
  width: 100%;
}

/* Header */
.sd-people-header {
  text-align: center;
  max-width: 680px;
  margin-bottom: 2rem;
}

.sd-people-title {
  font-family: 'museo Slab';
  font-size: 2.75rem;
  font-weight: 700;
  color: #1A0D2E;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.sd-people-subtitle {
  font-family: 'Museo Slab';
  font-size: 1.1rem;
  color: #4A3B63;
  line-height: 1.55;
  margin: 0;
}

/* Tabs */
.sd-people-tabs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 480px;
  max-width: 100%;
  background: #FFFFFF;
  border: 1px solid #E8DEF0;
  border-radius: 50px;
  padding: 0px;
  box-shadow: 0 4px 16px rgba(133, 36, 132, 0.05);
  margin-bottom: 3.5rem;
  box-sizing: border-box;
  overflow: hidden;
}

.sd-people-tab-item {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.sd-people-tab-item a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 40px;
  background: transparent;
  font-family: 'Museo Slab';
  font-size: 0.95rem;
  font-weight: 700;
  color: #4A3B63;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.sd-people-tab-item.active a {
  background: #852484;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(133, 36, 132, 0.35);
}

.sd-people-tab-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.sd-people-tab-item.active .sd-people-tab-icon {
  filter: brightness(0) invert(1);
}

/* Slider Container */
.sd-people-slider-container {
  position: relative;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  box-sizing: border-box;
}

.sd-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
}

.sd-slider-arrow.prev {
  left: 6px;
}

.sd-slider-arrow.next {
  right: 6px;
}

.sd-slider-arrow a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sd-slider-arrow a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sd-slider-arrow a:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(133, 36, 132, 0.25);
}

/* Cards Row Layout - Completely Rock-Solid, Symmetrical & Non-Shaking */
.sd-people-cards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 1220px;
  min-height: 440px;
  padding: 1.5rem 3.5rem;
  box-sizing: border-box;
  flex-wrap: nowrap !important;
  overflow: visible;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Slide Out Animations */
.sd-people-cards-row.slide-out-left .sd-people-card.main-card {
  transform: translateX(-40px) scale(0.96);
  opacity: 0.2;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.sd-people-cards-row.slide-out-right .sd-people-card.main-card {
  transform: translateX(40px) scale(0.96);
  opacity: 0.2;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

/* Slide In Animations */
.sd-people-cards-row.slide-in-right .sd-people-card.main-card {
  animation: slideInFromRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sd-people-cards-row.slide-in-left .sd-people-card.main-card {
  animation: slideInFromLeft 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(45px) scale(0.96);
    opacity: 0.2;
  }

  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-45px) scale(0.96);
    opacity: 0.2;
  }

  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

/* Cards Base CSS */
.sd-people-card {
  box-sizing: border-box;
  background: #FFFFFF;
  align-self: center;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

/* Main Featured Card (Center) */
.sd-people-card.main-card {
  flex: 0 0 680px;
  max-width: 680px;
  min-height: 340px;
  border: 1px solid #EFE4F5;
  border-radius: 24px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 16px 45px rgba(133, 36, 132, 0.08), 0 4px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 2.25rem;
  position: relative;
  z-index: 5;
  opacity: 1;
  transform: scale(1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.sd-people-card.main-card.is-expanded {
  box-shadow: 0 22px 55px rgba(133, 36, 132, 0.15), 0 6px 20px rgba(0, 0, 0, 0.04);
  border-color: #E6D2F0;
}

/* Side Preview Cards (Left & Right) */
.sd-people-card.side-card {
  flex: 0 0 190px;
  max-width: 190px;
  min-height: 270px;
  border: 1px solid #F2E8F6;
  border-radius: 20px;
  padding: 1.75rem 1rem;
  opacity: 0.45;
  transform: scale(0.9);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sd-people-card.side-card:hover {
  opacity: 0.75;
  transform: scale(0.94);
}

/* Hidden Offscreen Cards */
.sd-people-card.hidden-card {
  flex: 0 0 0px;
  max-width: 0px;
  padding: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  border: none;
  pointer-events: none;
}

/* Photo Wrappers Transition */
.sd-card-photo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    margin 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sd-card-photo-wrapper.main-photo {
  width: 220px;
  height: 220px;
  margin-bottom: 0;
}

/* Photo Column and Social Icons */
.sd-card-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 220px;
}

.sd-card-social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 170px;
  margin-top: 1rem;
  width: 100%;
}

.sd-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.sd-social-link {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.sd-social-link:hover {
  transform: translateY(-2px) scale(1.1);
  opacity: 0.9;
}

.sd-social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.sd-social-link.sd-social-website {
  background-color: #473d7a;
  box-shadow: 0 2px 6px rgba(71, 61, 122, 0.25);
}

.sd-card-photo-wrapper.side-photo {
  width: 140px;
  height: 140px;
  margin-bottom: 0.5rem;
}

.sd-leaf-shape {
  position: absolute;
  inset: -15px;
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  transition: all 0.6s ease;
}

.sd-portrait-img {
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(26, 13, 46, 0.12);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-photo .sd-portrait-img {
  width: 175px;
  height: 175px;
}

.side-photo .sd-portrait-img {
  width: 110px;
  height: 110px;
}

/* Card Content Details */
.sd-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  transition: all 0.6s ease;
}

.sd-card-info.side-info {
  align-items: center;
  text-align: center;
}

.sd-card-role {
  font-family: 'Museo Slab';
  font-size: 0.85rem;
  font-weight: 800;
  color: #852484;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  transition: font-size 0.6s ease;
}

.sd-card-role.side-role {
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.sd-card-name {
  font-family: 'museo Slab';
  font-size: 1.85rem;
  font-weight: 700;
  color: #1A0D2E;
  margin: 0 0 0.2rem 0;
  line-height: 1.25;
  transition: font-size 0.6s ease, margin 0.6s ease;
}

.sd-card-name.side-name {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.sd-card-location {
  font-family: 'Museo Slab';
  font-size: 0.95rem;
  font-weight: 600;
  color: #9A7BA5;
  margin: 0 0 1rem 0;
  transition: font-size 0.6s ease;
}

.sd-card-location.side-loc {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Bio Container */
.sd-card-bio-section {
  position: relative;
  width: 100%;
}

.sd-card-bio-section.is-expanded {
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}

.sd-card-bio-section.is-expanded::-webkit-scrollbar {
  width: 4px;
}

.sd-card-bio-section.is-expanded::-webkit-scrollbar-thumb {
  background: rgba(133, 36, 132, 0.25);
  border-radius: 4px;
}

.sd-card-bio-inner {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.sd-card-bio {
  font-family: 'Museo Slab';
  font-size: 0.95rem;
  color: #4A3B63;
  line-height: 1.65;
  margin: 0 0 0.5rem 0;
  white-space: pre-line;
  transition: opacity 0.3s ease;
}

.sd-card-bio.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sd-card-readmore-wrap {
  display: inline-block;
  margin-top: 0.5rem;
}

.sd-card-readmore-wrap a {
  border: none;
  background: none;
  color: #852484;
  font-weight: 700;
  font-style: normal;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  outline: none !important;
}

.sd-card-readmore-wrap a:hover {
  color: #5d175c;
}

/* Side Preview Cards */
.sd-people-card.side-card {
  flex: 0 0 240px;
  max-width: 240px;
  border: 1px solid #F2E8F6;
  border-radius: 20px;
  padding: 2rem 1.25rem;
  opacity: 0.45;
  transform: scale(0.9);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.sd-people-card.side-card:hover {
  opacity: 0.75;
  transform: scale(0.94);
}

.sd-card-photo-wrapper.side-photo {
  width: 140px;
  height: 140px;
  margin-bottom: 1rem;
}

.sd-card-photo-wrapper.side-photo .sd-leaf-shape {
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
}

.sd-card-photo-wrapper.side-photo .sd-portrait-img {
  width: 110px;
  height: 110px;
}

.sd-side-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sd-card-role.side-role {
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.sd-card-name.side-name {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.sd-card-location.side-loc {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Pagination Dots */
.sd-people-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.sd-people-dot-item a {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #E5D5E8;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  text-decoration: none;
}

.sd-people-dot-item.active a {
  background: #852484;
  transform: scale(1.3);
}

/* ==========================================================================
   Responsive Breakpoints for People Section
   ========================================================================== */
@media (max-width: 1200px) {
  .sd-people-cards-row {
    padding: 1.5rem 3rem;
    gap: 1rem;
    max-width: 100%;
  }

  .sd-people-card.main-card {
    flex: 0 0 570px;
    max-width: 570px;
    padding: 2.25rem 1.75rem;
    gap: 1.5rem;
  }

  .sd-people-card.side-card {
    flex: 0 0 160px;
    max-width: 160px;
    padding: 1.5rem 0.75rem;
  }

  .sd-slider-arrow.prev {
    left: 4px;
  }

  .sd-slider-arrow.next {
    right: 4px;
  }

  .sd-card-photo-wrapper.main-photo {
    width: 175px;
    height: 175px;
  }

  .sd-card-photo-col {
    width: 175px;
  }

  .sd-card-social-icons {
    gap: 6px;
    max-width: 110px;
    margin-top: 0.85rem;
  }

  .sd-social-row {
    gap: 6px;
  }

  .sd-social-link {
    width: 22px;
    height: 22px;
  }

  .sd-portrait-img {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 992px) {
  .sd-people-section {
    padding: 4rem 1.25rem 4.5rem;
  }

  .sd-people-title {
    font-size: 2.25rem;
  }

  .sd-people-card.side-card {
    display: none;
  }

  .sd-people-cards-row {
    padding: 0rem 0rem;
    max-width: 100%;
  }

  .sd-people-card.main-card {
    flex: 1 1 100%;
    max-width: 620px;
  }

  .sd-slider-arrow.prev {
    left: 6px;
  }

  .sd-slider-arrow.next {
    right: 6px;
  }
}

@media (max-width: 767px) {
  .sd-people-section {
    padding: 3.5rem 1rem 4rem;
  }

  .sd-people-title {
    font-size: 1.95rem;
  }

  .sd-people-subtitle {
    font-size: 0.98rem;
  }

  .sd-people-tabs-row {
    width: 100%;
    max-width: 440px;
  }

  .sd-people-tab-item {
    flex: 1 1 50%;
  }

  .sd-people-tab-item a {
    justify-content: center;
    padding: 10px 10px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .sd-people-tab-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .sd-people-card.main-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    align-items: center;
  }

  .sd-card-photo-col {
    width: 100%;
  }

  .sd-card-social-icons {
    gap: 8px;
    max-width: 140px;
    margin-top: 0.75rem;
  }

  .sd-social-row {
    gap: 8px;
  }

  .sd-social-link {
    width: 28px;
    height: 28px;
  }

  .sd-card-info {
    align-items: center;
  }

  .sd-slider-arrow {
    top: auto;
    bottom: -60px;
    transform: none;
  }

  .sd-slider-arrow.prev {
    left: calc(50% - 50px);
  }

  .sd-slider-arrow.next {
    right: calc(50% - 50px);
  }

  .sd-people-dots-row {
    margin-top: 5rem;
  }
}

@media (max-width: 576px) {
  .sd-people-tabs-row {
    width: 100%;
    max-width: 100%;
  }

  .sd-people-tab-item {
    flex: auto;
  }

  .sd-people-tab-item a {
    padding: 9px 6px;
    font-size: 0.78rem;
    gap: 10px;
    letter-spacing: -0.01em;
  }

  .sd-people-tab-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .sd-people-section {
    padding: 2.75rem 0.75rem 3.5rem;
  }

  .sd-people-title {
    font-size: 1.7rem;
  }

  .sd-people-card.main-card {
    padding: 1.75rem 1.25rem;
  }

  .sd-card-name {
    font-size: 1.55rem;
  }

  .sd-card-bio {
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .sd-people-section {
    padding: 2.25rem 0.5rem 3rem;
  }

  .sd-people-tabs-row {
    padding: 3px;
    border-radius: 40px;
  }

  .sd-people-tab-item a {
    padding: 8px 3px;
    font-size: 0.71rem;
    gap: 3px;
  }

  .sd-people-tab-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
}