  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #0f0f0f;
    color: #e0e0e0;
    /*min-height: 100vh;*/
  }
  .custom1-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  /* Top - Featured image only (no text overlay) */
  .custom1-featured {
    flex: 0 0 40%;
    position: relative;
    background: #111;
    overflow: hidden;
  }
  .custom1-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
  }
  /* Bottom - Horizontal Accordion */
  .custom1-accordion {
    flex: 1;
    display: flex;
    background: #151515;
    overflow: hidden;
  }
  .custom1-accordion-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
  }
  .custom1-accordion-item.custom1-active {
    flex: 3.8;
  }
  .custom1-item-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: all 0.9s ease;
    filter: brightness(0.45) saturate(0.9);
  }
  .custom1-accordion-item.custom1-active .custom1-item-bg {
    filter: brightness(0.78) saturate(1.12);
    transform: scale(1.04);
  }
.custom1-item-label {
    position: absolute;
    bottom: 60px;
    left: 24px;
    
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 8px;
    color: white;
    text-transform: uppercase;
    
    opacity: 0.92;
    transition: all 0.7s ease;
    z-index: 2;
    text-shadow: 0 4px 16px rgba(0,0,0,0.9);
    
    transform: rotate(-90deg);
    transform-origin: left bottom;
    white-space: nowrap;
}

/* Optional: make active label a bit bigger/bolder */
.custom1-accordion-item.custom1-active .custom1-item-label {
    opacity: 1;
    font-size: 19px;
    letter-spacing: 9px;
    bottom: 75px;
    font-weight: 400;
}
  .custom1-accordion-item:not(.custom1-active) .custom1-item-label {
    opacity: 0.5;
    font-size: 18px;
    bottom: 40px;
  }
  .custom1-accordion-item.custom1-active .custom1-item-label {
    opacity: 1;
    font-size: 18px;
    bottom: 65px;
  }
  /* Gradient overlay for better contrast */
  .custom1-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 55%);
    z-index: 1;
  }