/* CHANGED: simplify container (no left/right split, no image, no main title) */
.career-timeline-container {
    /* REMOVED: split layout; keep a single column container for slider */
    display: flex;               /* keeps arrows + carousel vertical stacking possible */
    flex-direction: column;      /* CHANGED */
    gap: 16px;                   /* CHANGED: spacing between arrows & carousel */
    height: 30rem;                /* CHANGED: was 100vh; let content define height */
	min-height: 30rem;
    overflow: hidden;
    position: relative;
	padding: 30px;
}

/* REMOVED: .career-timeline-left, .career-timeline-right, .timeline-main-image, .timeline-main-title and all their responsive variants */

/* Keep arrows */
.timeline-nav-arrows {
    display: flex;
    justify-content: start;
}

.timeline-nav-arrows button {
    -webkit-appearance: none;
    appearance: none;
    width: clamp(36px, 5vw, 48px);   /* consistent with other nav buttons */
    height: clamp(36px, 5vw, 48px);
    border: 0;
    border-radius: 999px;
    color: #fff;
    background-color: rgba(0, 22, 43, 0.4); /* softer transparent dark */
    backdrop-filter: blur(4px);             /* frosted-glass look */
    display: grid;
    place-items: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform .15s ease, filter .15s ease, box-shadow .2s ease, background .18s ease;
    line-height: 0;
}

.timeline-nav-arrows button:hover:not(:disabled) {
    background-color: rgba(0, 22, 43, 0.6); /* slightly stronger hover */
    transform: translateY(-2px) scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.timeline-nav-arrows button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.timeline-nav-arrows button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
    transition: transform .3s ease;
}

.timeline-nav-arrows button:hover:not(:disabled) svg {
    transform: scale(1.1);
}

.timeline-nav-arrows button:focus-visible {
    outline: 2px solid rgba(255,255,255,0.9);
    outline-offset: 2px;
}


/* Carousel area */
.timeline-carousel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 20rem;
    height: 20rem;
}

/* Items & typography (unchanged where relevant) */
.timeline-item {
    display: none;
    align-items: flex-start;
    justify-content: center;   /* centers vertically if content smaller */
    height: 100%;              /* CHANGED: lock to carousel height */
    margin: 0;                 /* remove variable margins */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 20px;             /* use padding instead of margin for spacing */
	opacity: 0;
}
.timeline-item.active {
    opacity: 1;
    transform: translateX(10px) scale(1.02);
    animation: fadeInUpActive 0.6s ease forwards;
}

.timeline-item:not(.active) .item-description,
.timeline-item:not(.active) .item-subtitle { display: none; }

.timeline-item { order: 0; }
.timeline-item.is-slot-0 { order: 0;  opacity: 0.4;}
.timeline-item.is-slot-1 { order: 1; opacity: 0.4;}
.timeline-item.is-slot-2 { order: 2; opacity: 0.4;}

.timeline-content { flex: 1; padding-right: 10px; }

.item-title {
    font-size: 1.8rem;            /* CHANGED: slightly smaller default since no hero title */
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 8px 0;
    line-height: 1.3;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.timeline-item.active .item-title { color:#fff; font-size: 2rem; text-shadow: 0 2px 4px rgba(0,0,0,.1); }

.item-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: .5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all .4s ease .1s;
}
.timeline-item.active .item-subtitle { opacity: 1; transform: translateY(0); }

.item-description {
    font-size: 1.1rem;          /* CHANGED: smaller to fit compact block */
    color: rgba(255,255,255,.9);
    line-height: 1.5;
    margin: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: all .4s ease .2s;
    max-width: 90%;
}
.timeline-item.active .item-description { opacity: 1; transform: translateY(0); }

/* Animations (kept) */
@keyframes fadeInUp { from { opacity:0; transform: translateY(20px);} to { opacity:1; transform: translateY(0);} }
@keyframes fadeInUpActive { from { opacity:.4; transform: translateY(0);} to { opacity:1; transform: translateX(10px) scale(1.02);} }

/* Responsive tweaks (CHANGED: remove references to title/image/right panel) */
@media (max-width: 820px) {
  .career-timeline-container { padding: 20px; }
  .timeline-carousel { min-height: 200px; }
  .item-title { font-size: 1.6rem; }
  .timeline-item.active .item-title { font-size: 1.8rem; }
  .item-description { font-size: .95rem; max-width: 100%; }
}
@media (max-width: 480px) {
  .career-timeline-container { padding: 16px; }
  .item-title { font-size: 1.2rem; }
  .timeline-item.active .item-title { font-size: 1.35rem; }
}
