/* Subtle premium polish for CMS / chairman pages — site layout kept, details refined */

/* Title strip — replace broken remote banner with a solid brand bar */
.page-hero#breadcrumb-singlepage-actvities,
.page-hero#breadcrumb-singlepage {
    background: linear-gradient(105deg, #1a232c 0%, #24313c 52%, #2a1a1a 100%) !important;
    padding: 2.35rem 0;
    border-bottom: 3px solid var(--primary-color, #841212);
    overflow: hidden;
}

.page-hero#breadcrumb-singlepage-actvities:before,
.page-hero#breadcrumb-singlepage:before {
    background: radial-gradient(ellipse at 10% 50%, rgba(132, 18, 18, 0.35) 0%, transparent 58%) !important;
    opacity: 1;
}

.page-hero .titlenav-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
}

.page-hero .titlenav-wrapper h1 {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
    color: #fff !important;
    text-shadow: none;
}

.page-hero .titlenav-wrapper ul {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.35rem 0.7rem;
    list-style: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
}

.page-hero .titlenav-wrapper ul li,
.page-hero .titlenav-wrapper ul a,
.page-hero .titlenav-wrapper ul span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78) !important;
}

.page-hero .titlenav-wrapper ul a:hover {
    color: #fff !important;
    text-decoration: none;
}

.page-hero .titlenav-wrapper ul span {
    color: #fff !important;
    font-weight: 500;
}

@media (max-width: 575px) {
    .page-hero#breadcrumb-singlepage-actvities,
    .page-hero#breadcrumb-singlepage {
        padding: 1.65rem 0;
    }

    .page-hero .titlenav-wrapper {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }
}

.page-body {
    padding-top: 2.75rem;
    padding-bottom: 3.25rem;
}

.page-prose {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #3d3a3a;
}

.page-prose p {
    margin: 0 0 1.2rem;
}

.page-prose img {
    max-width: 100%;
    height: auto;
}

/* Chairman — wide photo, then identity + message */
.chairman-page__intro {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(132, 18, 18, 0.12);
}

.chairman-page__photo {
    margin: 0;
    position: relative;
    width: 100%;
    max-width: none;
}

.chairman-page__photo::after {
    content: '';
    position: absolute;
    inset: auto -6px -6px auto;
    width: 38%;
    height: 38%;
    background: rgba(132, 18, 18, 0.07);
    z-index: 0;
    pointer-events: none;
}

.chairman-page__photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    object-position: 20% 22%;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 12px 30px rgba(26, 18, 18, 0.14);
}

.chairman-page__identity {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 1.25rem;
    padding: 0.15rem 0 0;
    min-width: 0;
}

.chairman-page__name {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color, #841212);
    letter-spacing: -0.01em;
}

.chairman-page__role {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #6b6565;
    letter-spacing: 0.02em;
}

.chairman-page__email {
    margin-left: auto;
    width: fit-content;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--secondary-color, #0066b3);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 102, 179, 0.25);
    padding-bottom: 1px;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.chairman-page__email:hover {
    color: var(--primary-color, #841212);
    border-bottom-color: rgba(132, 18, 18, 0.35);
}

.chairman-page__body {
    max-width: none;
}

/* Sidebar */
.page-aside.aside-menubar {
    background: #fff;
    border: 1px solid #ece8e8;
    border-top: 3px solid var(--primary-color, #841212);
    border-radius: 2px;
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 1rem;
}

.page-aside.aside-menubar h3 {
    margin: 0 !important;
    padding: 0.95rem 1.15rem !important;
    background: #1f2a33 !important;
    color: #fff !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.92rem !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-aside.aside-menubar ul {
    margin: 0;
    padding: 0.25rem 0 !important;
    list-style: none;
    border: 0 !important;
}

.page-aside.aside-menubar ul li {
    margin: 0;
    padding: 0 !important;
    border-bottom: 1px solid #f0ecec;
}

.page-aside.aside-menubar ul li:last-child {
    border-bottom: 0;
}

.page-aside.aside-menubar ul li a {
    display: block;
    padding: 0.72rem 1.15rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem !important;
    color: #333 !important;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.page-aside.aside-menubar ul li a:hover {
    background: rgba(132, 18, 18, 0.05);
    color: var(--primary-color, #841212) !important;
    padding-left: 1.3rem;
}

.page-aside.aside-menubar ul li a i {
    display: none;
}

@media (max-width: 991px) {
    .chairman-page__photo img {
        aspect-ratio: 4 / 3;
        object-position: 20% 20%;
    }

    .chairman-page__email {
        margin-left: 0;
        width: 100%;
    }

    .page-aside.aside-menubar {
        position: static;
        margin-top: 0.5rem;
    }
}
