/* Scroll offset to account for fixed header on mobile */
@media (max-width: 1023px) {
    html {
        scroll-padding-top: 4.5rem;
    }
}

/* Ensure active style for summary (sidebar parent menu) and its link */
summary.active, summary.active a {
    font-weight: bold !important;
    text-decoration: underline !important;
    /* 배경색과 글자색은 Tailwind 클래스(bg-base-300 등)로만 적용 */
}
/* Active sidebar menu item: bold and underline */
.active {
    font-weight: bold;
    text-decoration: underline;
}
.time-line-container>div:last-child .education__time>.education__line {
    display: none;

}

/* Prevent mobile overflow in Presentations list */
.presentations-list li {
    overflow-wrap: anywhere;
    word-break: break-word;
    transition: background-color 0.2s ease, padding 0.2s ease;
}

/* Highlight presentation item on image hover */
.presentations-list li.presentation-active {
    background-color: #b1e6ad;
    color: #1f2937;
    padding: 0.5rem;
    border-radius: 0.375rem;
}

/* Image link hover effect */
#presentations-images a[data-presentation].image-active img {
    box-shadow: 0 0 0 3px #b1e6ad;
    transform: scale(1.05);
}
