html {
    scroll-behavior: smooth;
}

.main-hero {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 100%), url("../../assets/notice-for-shareholders-banner.jpg");
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width:768px) {
    .main-hero {
        background: linear-gradient(180deg, rgba(137, 137, 137, 0) 0%, #000000 100%), url("../../assets/notice-for-shareholders-banner.jpg");
        background-position: right;
        align-items: center;
        padding: 40px;
    }
}



/* Two-column layout */
.committees-layout {
    display: flex;
    gap: 32px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 0px;
    align-items: flex-start;
}

/* Sidebar */
.committees-sidebar {
    flex: 0 0 330px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background-color: #f0f2f4;
    border-radius: 8px;
    padding: 24px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.618;
    color: #333333;
    text-decoration: none;
    padding: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background-color: #f5f5f5;
    color: #141E47;
    border-left-color: #141E47;
}

.sidebar-link:active,
.sidebar-link:focus {
    background-color: #f0f0f0;
    color: #141E47;
    border-left-color: #141E47;
}

/* Active state for scroll-spy */
.sidebar-link.active {
    background-color: #E1F1FF;
    color: #141E47;
    border-left-color: #141E47;
    font-weight: 600;
}

/* Content Area */
.committees-content {
    flex: 1;
    min-width: 0;
}

.committee-section {
    scroll-margin-top: 120px;
    margin-bottom: 80px;
}

.committee-section:last-child {
    margin-bottom: 0;
}

.board-of-committees-container {
    padding: 0;
}

.board-committee-header>h2 {
    font-family: Urbanist, sans-serif;
    font-size: 2.617rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}

.board-committee-description {
    margin-top: 48px;
    margin-bottom: 0;
}

.board-committee-description-left {
    width: 100%;
}

.board-committee-description-left p {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.618;
    color: #333333;
    margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
    .committees-layout {
        flex-direction: column;
        gap: 40px;
        padding: 60px 0px;
        overflow-x: hidden;
    }

    .committees-sidebar {
        flex: 0 0 auto;
        position: relative;
        top: 0;
        width: 100%;
        padding: 0px;
        overflow: visible;
        background-color: transparent;
    }

    /* Horizontal scrollable tab bar */
    .sidebar-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 8px;
        /* Smooth scrolling */
        scroll-behavior: smooth;
        /* Prevent text selection during scroll */
        -webkit-user-select: none;
        user-select: none;
    }

    /* Hide scrollbar for webkit browsers */
    .sidebar-nav::-webkit-scrollbar {
        display: none;
    }

    /* Re-enable text selection for links */
    .sidebar-link {
        -webkit-user-select: auto;
        user-select: auto;
    }

    .sidebar-link {
        flex: 0 0 auto;
        min-width: fit-content;
        white-space: nowrap;
        text-align: center;
        padding: 12px 20px;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 8px 8px 0 0;
    }

    .sidebar-link:hover,
    .sidebar-link:active,
    .sidebar-link:focus {
        border-left: none;
        border-bottom-color: #141E47;
    }

    .sidebar-link.active {
        border-left: none;
        border-bottom-color: #141E47;
        background-color: transparent;
        color: #141E47;
        font-weight: 600;
    }

    .committees-content {
        width: 100%;
    }

    .committee-section {
        scroll-margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .board-committee-description {
        margin-top: 32px;
    }

    .committees-sidebar {
        padding: 12px;
        margin: 0 -20px;
        width: calc(100% + 40px);
        border-radius: 0;
        background-color: transparent;
    }

    .sidebar-nav {
        gap: 8px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .sidebar-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .sidebar-link:hover,
    .sidebar-link:active,
    .sidebar-link:focus {
        border-bottom: 3px solid transparent;
        border-bottom-color: #141E47;
    }

    .sidebar-link.active {
        border-bottom: 3px solid #141E47;
        background-color: transparent;
    }
}

.terms-of-reference {
    margin-top: 32px;
}

/* Accordion Toggle (Clickable Div) */
.terms-of-reference-toggle {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #2B46BA;
    background: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    text-align: left;
    transition: color 0.3s ease;
    gap: 12px;
    user-select: none;
    -webkit-user-select: none;
    outline: none;
}

.terms-of-reference-toggle:hover {
    color: #141E47;
}

.terms-of-reference-toggle:focus {
    color: #141E47;
    outline-offset: 2px;
    border-radius: 4px;
}

.terms-of-reference-toggle .toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    width: 16px;
    height: 16px;
}

.terms-of-reference-toggle .toggle-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.terms-of-reference-toggle .toggle-icon .icon-plus {
    opacity: 1;
    transform: rotate(0deg);
}

.terms-of-reference-toggle .toggle-icon .icon-cross {
    opacity: 0;
    transform: rotate(0deg);
}

.terms-of-reference-toggle[aria-expanded="true"] .toggle-icon .icon-plus {
    opacity: 0;
    transform: rotate(90deg);
}

.terms-of-reference-toggle[aria-expanded="true"] .toggle-icon .icon-cross {
    opacity: 1;
    transform: rotate(0deg);
}

/* Accordion Content */
.terms-of-reference-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0;
    margin-top: 0;
}

.terms-of-reference-toggle[aria-expanded="true"] + .terms-of-reference-content {
    max-height: 5000px;
    padding-top: 24px;
    margin-top: 0;
}

/* Terms Content Styling */
.terms-of-reference-content .terms-section {
    margin-bottom: 32px;
}

.terms-of-reference-content .terms-section:last-child {
    margin-bottom: 0;
}

.terms-of-reference-content h4 {
    font-family: Urbanist, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #141E47;
    margin-bottom: 16px;
    margin-top: 0;
}

.terms-of-reference-content h5 {
    font-family: Urbanist, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    color: #141E47;
    margin-top: 24px;
    margin-bottom: 12px;
}

.terms-of-reference-content p {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.618;
    color: #333333;
    margin-bottom: 16px;
}

.terms-of-reference-content ul {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.618;
    color: #333333;
    margin-bottom: 16px;
    padding-left: 24px;
}

.terms-of-reference-content ul li {
    margin-bottom: 12px;
}

.terms-of-reference-content ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 20px;
}

/* Legacy link style (for backward compatibility) */
.terms-of-reference a {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #2B46BA;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.terms-of-reference a:hover {
    color: #141E47;
}

.board-committee-body{
    margin-bottom: 20px;
}

.board-committee-body {
    margin-bottom: 48px;
}

.board-committee-body-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.board-committee-body-col {
    background-size: cover;
    background-position: center;
    min-height: 512px;
    padding: 0px;
    width: 25%;
    flex: 1 1 20%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 16px;

}

.board-committee-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    /* background-color: rgba(0, 0, 0, 0.6); */
    padding: 32px 32px 64px 32px;
    border-radius: 8px;
}

.board-committee-content>h3 {
    font-family: Urbanist, sans-serif;
    font-size: 1.618rem;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

.board-committee-content>p {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.618;
    color: #ffffff;
}


@media screen and (max-width: 768px) {
    .board-committee-body-col {
        width: 45%;
        min-height: 400px;
    }

    .board-committee-content {
        padding: 16px 16px 32px 16px;
    }
}

@media screen and (max-width: 430px) {
    .board-committee-body-col {
        width: 100%;
        flex: 1 1 100% !important;
        min-height: 400px;
    }

    .board-committee-content {
        padding: 16px 16px 32px 16px;
    }
}








