 .bio-timeline-wrapper {
     background: linear-gradient(135deg, #FFF7ED 0%, rgba(255, 254, 253, 0.5) 50%, #FFF7ED 100%),
         url('/assets/img/bio-bg.png') center/cover no-repeat,
         lightgray;
     background-blend-mode: overlay;
     padding: 80px 0;
     font-family: 'Segoe UI', Arial, sans-serif;
     max-height: 900px;
     scrollbar-width: thin;
     color: #1a1a1a;
 }

 .timeline-container {
     position: relative;
     margin: 0 auto;
     padding: 40px 0;
 }

 .timeline-container::after {
     content: '';
     position: absolute;
     width: 3px;
     background-color: #e0d5ca;
     top: 0;
     bottom: 0;
     left: 50%;
     margin-left: -1.5px;
 }

 .timeline-item {
     padding: 10px 40px;
     position: relative;
     background-color: inherit;
     width: 50%;
 }

 .timeline-item::after {
     content: '';
     position: absolute;
     width: 16px;
     height: 16px;
     right: -8px;
     background-color: #f9f4ef;
     border: 3px solid #ed8a3e;
     top: 40px;
     border-radius: 50%;
     z-index: 1;
 }

 .left-item {
     left: 0;
     text-align: right;
 }

 .right-item {
     left: 50%;
     text-align: left;
 }

 .right-item::after {
     left: -8px;
 }

 .bio-card {
     padding: 30px;
     background-color: white;
     position: relative;
     border-radius: 20px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
 }

 .timeline-image-wrap {
     width: calc(100% + 60px);
     height: 190px;
     margin: -30px -30px 24px;
     overflow: hidden;
     background: #f2ebe4;
 }

 .timeline-image {
     width: 100%;
     height: 100%;
     display: block;
     object-fit: cover;
     transition: transform 0.4s ease;
 }

 .bio-card:hover .timeline-image {
     transform: scale(1.04);
 }

 .date-badge {
     display: inline-block;
     background-color: #ed8a3e;
     color: white;
     padding: 4px 15px;
     border-radius: 50px;
     font-size: 0.8rem;
     font-weight: 600;
     margin-bottom: 15px;
 }

 @media screen and (max-width: 768px) {
     .timeline-container::after {
         left: 31px;
     }

     .timeline-item {
         width: 100%;
         padding-left: 70px;
         padding-right: 25px;
         text-align: left;
     }

     .timeline-image-wrap {
         height: 170px;
     }

     .timeline-item::after {
         left: 23px;
     }

     .right-item {
         left: 0%;
     }
 }

 .custom-governance-section {
     background-color: #ffffff;
     font-family: 'Segoe UI', Arial, sans-serif;
 }

 .custom-info-card {
     background: #ffffff;
     border-radius: 20px;
     border: 1px solid #f0f0f0;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
     transition: transform 0.3s ease;
 }

 .custom-icon-box {
     width: 45px;
     height: 45px;
     border-radius: 10px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.2rem;
 }

 .custom-list {
     list-style: none;
     padding-left: 0;
 }

 .custom-list li {
     position: relative;
     padding-left: 25px;
     margin-bottom: 15px;
     color: #555555;
     font-size: 1.025rem;
 }

 .custom-list li::before {
     content: "•";
     position: absolute;
     left: 0;
     font-size: 1.25rem;
     line-height: 1;
 }

 .bullet-orange li::before {
     color: #fd7e14;
 }

.bullet-green li::before {
     color: #28a745;
 }

/* Interactive political-journey timeline */
.bio-timeline-wrapper {
    max-height: none;
    padding: 58px 0 70px;
    background:
        linear-gradient(
            rgba(255, 252, 247, 0.12),
            rgba(255, 252, 247, 0.12)
        ),
        url('/assets/img/bio-timeline-bg.png') center/cover no-repeat;
}

.bio-journey-timeline {
    max-width: 1240px;
    padding: 0;
}

.bio-journey-timeline::after { display: none; }

.bio-timeline-years {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    margin: 0 0 3.4rem;
    padding: 0 1.2rem;
}

.bio-timeline-years::before {
    content: '';
    position: absolute;
    top: 7px;
    right: 1.2rem;
    left: 1.2rem;
    height: 2px;
    background: #e5e8ed;
}

.bio-timeline-year {
    position: relative;
    z-index: 1;
    min-width: 46px;
    padding: 20px 0 0;
    border: 0;
    background: transparent;
    color: #58616d;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.bio-timeline-year::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    width: 11px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #c6ccd5;
    box-shadow: 0 0 0 1px #c6ccd5;
    transform: translateX(-50%);
    transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.bio-timeline-year.is-active { padding: 21px .85rem .55rem; border-radius: 999px; background: linear-gradient(135deg, #ff8d1c, #f95b08); color: #fff; box-shadow: 0 9px 18px rgba(245,91,8,.24); }
.bio-timeline-year.is-active::before { top: -4px; background: #fff; box-shadow: 0 0 0 4px #ff7111, 0 0 0 7px rgba(255,113,17,.18); transform: translateX(-50%) scale(1.15); }
.bio-timeline-year:focus-visible { outline: 2px solid #ff760d; outline-offset: 4px; border-radius: 4px; }

.bio-timeline-stage { height: 390px; min-height: 390px; }
.bio-timeline-panel {
    display: grid;
    grid-template-columns: minmax(370px, 1.25fr) minmax(330px, .9fr) minmax(190px, .5fr);
    gap: clamp(1.5rem, 3.4vw, 3.8rem);
    align-items: center;
    max-width: 1060px;
    margin: 0 auto;
    animation: bioTimelineReveal .42s ease both;
}
.bio-timeline-panel[hidden] { display: none; }
@keyframes bioTimelineReveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.bio-timeline-main-image { height: 360px; overflow: hidden; border: 2px solid rgba(255,255,255,.85); border-radius: 24px; background: #edf1f6; box-shadow: 0 16px 34px rgba(15,38,69,.13); }
.bio-timeline-main-image img, .bio-timeline-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.bio-timeline-copy { color: #4d5663; }
.bio-timeline-period { display: block; margin-bottom: .6rem; color: #062b61; font-size: clamp(2.25rem, 3.5vw, 3.25rem); font-weight: 900; line-height: 1; }
.bio-timeline-copy h3 { margin: 0 0 .8rem; color: #0a4c91; font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 900; line-height: 1.35; }
.bio-timeline-copy p { margin: 0 0 1.25rem; color: #344d70; font-size: 1rem; font-weight: 500; line-height: 1.7; }
.bio-timeline-discover { min-height: 44px; padding: .65rem 1.2rem; border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff8c17, #ff6107); color: #fff; font-size: .87rem; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(255,97,7,.22); }
.bio-timeline-discover i { margin-left: .45rem; transition: transform .2s ease; }
.bio-timeline-discover:hover i { transform: translateX(4px); }
.bio-timeline-preview { align-self: center; height: 205px; overflow: hidden; border: 2px solid rgba(255,255,255,.9); border-radius: 24px; background: #edf1f6; box-shadow: 14px 13px 0 rgba(255,177,88,.22), 0 10px 20px rgba(15,38,69,.09); }
.bio-timeline-controls { display: flex; justify-content: center; gap: .7rem; margin-top: 1.7rem; }
.bio-timeline-control { display: grid; width: 50px; height: 50px; place-items: center; border: 2px solid #ff7b17; border-radius: 50%; background: rgba(255,255,255,.9); color: #0c315e; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.bio-timeline-control[data-timeline-direction="next"] { border-color: #ff6d0a; background: #ff6d0a; color: #fff; }
.bio-timeline-control:hover { background: #0c315e; border-color: #0c315e; color: #fff; transform: translateY(-2px); }

@media (max-width: 767.98px) {
    .bio-timeline-wrapper { padding: 48px 0 65px; }
    .bio-timeline-years { justify-content: flex-start; overflow-x: auto; margin-bottom: 2.5rem; padding: 0 1rem .6rem; scrollbar-width: thin; }
    .bio-timeline-years::before { right: 1rem; left: 1rem; }
    .bio-timeline-year { flex: 0 0 72px; }
    .bio-timeline-panel { grid-template-columns: 1fr; gap: 1.25rem; padding: 0 .65rem; }
    .bio-timeline-main-image { height: min(70vw, 340px); border-radius: 18px; }
    .bio-timeline-copy { text-align: center; }
    .bio-timeline-preview { display: none; }
    .bio-timeline-stage { height: auto; min-height: 0; }
}

 .custom-image-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 15px;
 }

 .custom-grid-item {
     border-radius: 20px;
     overflow: hidden;
     width: 100%;
 }

 .custom-grid-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: top center;
     display: block;
 }

 .grid-wide {
     grid-column: 1 / span 2;
     height: 240px;
 }

 .grid-square {
     height: 200px;
 }

 @media (max-width: 768px) {
     .custom-image-grid {
         display: block;
     }

     .custom-grid-item {
         margin-bottom: 15px;
         height: 250px !important;
     }
 }

 .abt-bio-section {
     position: relative;
     padding: 80px 0;
     background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/assets/img/banner-1.png');
     background-size: cover;
     background-position: center;
     color: #ffffff;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 .abt-bio-title {
     font-size: 3.5rem;
     font-weight: 800;
     margin-bottom: 10px;
     position: relative;
     display: inline-block;
 }

 .abt-bio-underline {
     width: 80px;
     height: 4px;
     background-color: #689F38;
     margin-bottom: 40px;
 }

 .abt-bio-text {
     font-size: 1.1rem;
     line-height: 1.8;
     color: rgba(255, 255, 255, 0.9);
     margin-bottom: 30px;
     max-width: 950px;
 }

 .abt-signature-wrapper {
     margin-top: 50px;
     text-align: center;
 }

 .abt-signature-img {
     max-width: 250px;
     height: auto;
     filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(10deg);
 }

 @media (max-width: 768px) {
     .abt-bio-title {
         font-size: 2.5rem;
     }

     .abt-bio-section {
         padding: 60px 20px;
         text-align: center;
     }
 }
