.leadership-perspective__accordion-wrapper {
  display: flex;
  width: 100%;
  height: var(--accordion-height);
  overflow: hidden; 
  gap: var(--sm-1);}

/* --- Individual Panels --- */
.leadership-perspective__acc-panel {
  position: relative;
  background-color: rgba(1, 20, 48, 0.05);
  height: 565px;
  cursor: pointer;
  overflow: hidden;
  flex: 1;
   transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
 
  display: flex;
}
 
/* Active State */
.leadership-perspective__acc-panel.active {
  flex: 4;
  cursor: default;
}

/* --- Image Column (ONLY VISIBLE WHEN ACTIVE) --- */
.leadership-perspective__acc-image-col {
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease-in;
  height: 565px;
  min-width: 316px;
  opacity: 0;
  visibility: hidden;
  width: 0;
}

/* Show image column only when active */
.leadership-perspective__acc-panel.active .leadership-perspective__acc-image-col {
  opacity: 1;
  visibility: visible;
  width: auto;
}

.leadership-perspective__acc-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* --- Content Column --- */
.leadership-perspective__acc-content-col {
  flex-grow: 1;
  padding: 40px 50px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease 0.4s;
  overflow-y: auto;
  display: flex;   
  flex-direction: column;
  justify-content: center;
  overflow-y: unset;
}

.leadership-perspective__acc-panel.active 
.leadership-perspective__acc-content-col {
  opacity: 1;
  visibility: visible;
}

/* --- Typography --- */
.leadership-perspective__main-title {
 margin-bottom: 32px;
}

.leadership-perspective__blockquote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  border: none;
}

.leadership-perspective__author-name {
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 1rem;
}

.leadership-perspective__author-role {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

/* --- Button --- */
.leadership-perspective__btn-download {
  background-color: var(--primary-blue);
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.leadership-perspective__btn-download:hover {
  background-color: #003399;
  color: #fff;
}

/* --- Closed State Overlay (ONLY VISIBLE WHEN NOT ACTIVE) --- */
.leadership-perspective__closed-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 27px 25px;
  z-index: 5;
  transition: opacity 0.1s ease-in; 
   text-align: left;
  opacity: 1;
  visibility: visible;
}

/* Hide overlay when active */
.leadership-perspective__acc-panel.active 
.leadership-perspective__closed-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* --- Plus Button --- */
.leadership-perspective__plus-btn {
  width: 48px;
  height: 48px;
  background: var(--base-5);
  color: var(--primary-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sm-3); 
  z-index: 2;
  position: relative;
}

/* --- Closed Title --- */
.leadership-perspective__closed-title {
  z-index: 2;
  position: relative;
}

/* --- Closed Background Image (ONLY VISIBLE WHEN NOT ACTIVE) --- */
.leadership-perspective__closed-bg-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 230px;
  overflow: hidden;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.1s ease-in;
}

/* Hide closed image when active */
.leadership-perspective__acc-panel.active 
.leadership-perspective__closed-bg-img {
  opacity: 0;
  visibility: hidden;
}

.leadership-perspective__closed-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* =====================================================
   MOBILE & TABLET VIEW (≤ 991px)
===================================================== */
@media (max-width: 1024px) {

  /* ==========================================
     1. WRAPPER STACK
  ========================================== */
  .leadership-perspective__accordion-wrapper {
    flex-direction: column;
    height: auto;
  }

.leadership-perspective__plus-btn {
  margin-right: -30rem;
  top: 42px;
  margin-bottom: 0;
  margin-right: calc((20vw - 200%) / 2);
  width: 35px;
  height: 35px;
}
.leadership-perspective__closed-overlay{
background: rgba(1, 20, 48, 0.05);
}
.leadership-perspective__closed-title{
max-width: 14.4rem;
position: absolute;
  margin-bottom: 0;
  height: 100%;
  display: flex;
  align-items: center;
}
  /* ==========================================
     2. PANEL BASE
  ========================================== */
  .leadership-perspective__acc-panel {
    width: 100%;
    flex: none;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;

    /* angled bottom-right cut */
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 30px),
      calc(100% - 30px) 100%,
      0 100%
    );
  }

  /* ==========================================
     3. ACTIVE STATE (OPEN CARD)
  ========================================== */
  .leadership-perspective__acc-panel.active {

    /* Split background */
    background: linear-gradient(
      to bottom,
      #eef0f2 170px,
      #dadada 170px
    );
  }

  /* ---- HEADER AREA ---- */
  .leadership-perspective__acc-panel.active 
  .leadership-perspective__closed-overlay {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 170px;

    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }

  /* Portrait Image */
  .leadership-perspective__acc-panel.active 
  .leadership-perspective__closed-bg-img {

    position: absolute;
    bottom: 0;
    width: 100px;
    height: auto;
    z-index: 5;

    display: block !important;
  }

  /* Hide plus button */
  .leadership-perspective__acc-panel.active 
  .leadership-perspective__plus-btn {
    display: none !important;
  }

  /* ---- TITLE ---- */
  .leadership-perspective__acc-panel.active 
  .leadership-perspective__statement-label {

    position: absolute;
    top: 50px;
    left: 105px;
    margin: 0;
    font-size: var(--headline-m-font-size);
    line-height: 1.3;
    font-weight: 600;
    color: #002b5c;
    z-index: 10;
    max-width: 14.4rem;
  }

  /* ---- CONTENT BODY ---- */
  .leadership-perspective__acc-panel.active 
  .leadership-perspective__acc-content-col {

    display: flex;
    flex-direction: column;
    padding: 210px 30px 40px 30px;
  }

  /* Hide desktop large image column */
  .leadership-perspective__acc-panel.active 
  .leadership-perspective__acc-image-col {
    display: none !important;
  }

  /* ==========================================
     4. CLOSED STATE
  ========================================== */
  .leadership-perspective__acc-panel:not(.active) {

    height: 120px;
    background: #e6e7e8;
  }

  .leadership-perspective__acc-panel:not(.active)
  .leadership-perspective__closed-overlay {

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;

    opacity: 1;
    visibility: visible;
  }

  .leadership-perspective__acc-panel:not(.active)
  .leadership-perspective__closed-bg-img {

    position: absolute;
    bottom: 0;
    height: 12rem;
    width: 90px;
  }

  .leadership-perspective__acc-panel:not(.active)
  .leadership-perspective__acc-content-col {
    display: none;
  }
}


@media (max-width: 1024px) {
.leadership-perspective__acc-panel.active .leadership-perspective__closed-bg-img {
  opacity: 1;
  visibility: visible;
}
}
@media (max-width: 1024px) {
.leadership-perspective__acc-panel.active .leadership-perspective__closed-title{
display: none; 
}
}

/* Tablet Only */
@media (min-width: 768px) and (max-width: 1129px) {
  .leadership-perspective__acc-panel.active 
  .leadership-perspective__statement-label {
    left: 40%;
  }
}
