/* honorary-legal-advisors.css — page styles (moved out of the page). Linked from: honorary-legal-advisors-anil-changaroth.aspx, honorary-legal-advisors-leo-cheng-suan.aspx, honorary-legal-advisors-raymond-chan.aspx, honorary-legal-advisors-sathiaseelan.aspx */
@property --ed-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ---------- Master header (restyled for this page only) ---------- */
section.page-header {
    position: relative;
    overflow: hidden;
    border: 0 !important;
    padding: 60px 0 52px !important;
}
section.page-header::before { display: block;
            content: "";
            position: absolute;
            top: 0; right: 0; bottom: 0; left: 0;
            background:
                radial-gradient(900px 360px at 8% 0%, rgba(34, 184, 207, .35), transparent 60%),
                radial-gradient(700px 300px at 100% 100%, rgba(139, 92, 246, .25), transparent 60%),
                linear-gradient(135deg, rgba(14, 65, 111, .92) 0%, rgba(8, 24, 48, .88) 100%);
            pointer-events: none;
        }
section.page-header::after {
            content: "";
            position: absolute;
            right: -80px;
            top: -80px;
            width: 320px;
            height: 320px;
            border-radius: 50%;
            border: 40px solid rgba(255, 255, 255, .05);
            animation: ed-float 8s ease-in-out infinite;
            pointer-events: none;
        }
section.page-header .container { position: relative; z-index: 1; }
section.page-header #txtBreadcrumbTitle {
    color: #fff;
    font-weight: 700 !important;
    line-height: 1.2;
    margin: 0 0 10px;
    animation: ed-rise .6s ease both;
}
section.page-header #txtDesc { display: block; color: #fff; animation: ed-rise .6s .1s ease both; }
.ed-hero-sub { display: block; font-size: 15px; max-width: 720px; opacity: .9; margin-bottom: 14px; }
.ed-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: none;
    margin-bottom: 12px;
}
.ed-eyebrow .fa { color: var(--ed-accent); }
.ed-term {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: .45em;
    font-weight: 700;
    letter-spacing: .06em;
    vertical-align: middle;
    color: #0e5566;
    background: #cffafe;
    text-shadow: none;
}
section.page-header #Breadcrumb {
    display: inline-flex !important;
    flex-wrap: wrap;
    gap: 4px;
    position: static !important;
    padding: 6px 14px;
    margin: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 12.5px;
}
section.page-header #Breadcrumb li,
section.page-header #Breadcrumb li a { color: rgba(255, 255, 255, .85); }
section.page-header #Breadcrumb li.active,
section.page-header #Breadcrumb li:last-child a { color: #fff; font-weight: 700; }

/* ---------- Side menu from the master (restyled for this page only) ---------- */
.skin-green-light {
    border-radius: var(--ed-radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ed-line);
    box-shadow: var(--ed-shadow) !important;
}
.skin-green-light .sidebar { padding: 0; background: #fff !important; }
.skin-green-light .sidebar-menu,
.skin-green-light .treeview-menu { list-style: none; margin: 0; }
.skin-green-light .sidebar-menu { padding: 0; }
.skin-green-light .sidebar-menu > li + li { border-top: 1px solid var(--ed-line); }
.skin-green-light .sidebar-menu > li > a {
    padding: 13px 16px !important;
    font-weight: 700;
    white-space: normal;
    color: var(--ed-ink) !important;
    border-left: 3px solid transparent !important;
    background: transparent !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.skin-green-light .sidebar-menu > li:hover > a,
.skin-green-light .sidebar-menu > li.active > a {
    color: var(--ed-primary-2) !important;
    background: var(--ed-soft) !important;
    border-left-color: var(--ed-primary-2) !important;
}
.skin-green-light .treeview-menu { background: #fbfcfe !important; padding: 4px 0 8px !important; }
.skin-green-light .treeview-menu > li > a { color: #475569 !important; font-weight: 600; white-space: normal; transition: color .2s ease, padding .2s ease; }
.skin-green-light .treeview-menu > li > a:hover,
.skin-green-light .treeview-menu > li.active > a { color: var(--ed-primary-2) !important; padding-left: 26px !important; }

/* ---------- Shared bits ---------- */
#edPage { color: var(--ed-ink); padding-top: 4px; }
#edPage *, #edPage *::before, #edPage *::after { box-sizing: border-box; }
.ed-card {
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: var(--ed-radius);
    box-shadow: var(--ed-shadow);
    padding: 22px;
    animation: ed-rise .5s ease both;
}
.ed-count {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ed-primary-2);
    background: rgba(29, 111, 209, .1);
}
.ed-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
    border-radius: 999px; border: 1px solid var(--ed-line); background: #fff; cursor: pointer;
    color: var(--ed-ink) !important; font-size: 13px; font-weight: 700; text-decoration: none !important;
    transition: all .2s ease;
}
.ed-btn-ghost:hover { border-color: var(--ed-primary-2); color: var(--ed-primary-2) !important; transform: translateY(-1px); }
.ed-btn-primary {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 46px; padding: 0 22px; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer;
    color: #fff !important; font-size: 14.5px; font-weight: 700; text-decoration: none !important;
    background: linear-gradient(135deg, var(--ed-primary-2) 0%, var(--ed-primary) 100%);
    box-shadow: 0 12px 24px -12px rgba(29, 111, 209, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.ed-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(29, 111, 209, 1); }
.ed-btn-primary[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.ed-btn-primary .ed-arrow { transition: transform .25s ease; }
.ed-btn-primary:hover .ed-arrow { transform: translateX(4px); }
.ed-empty { text-align: center; padding: 36px 20px; border-radius: 16px; border: 2px dashed #d3deeb; background: var(--ed-soft); }
.ed-empty-ico {
    width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 18px;
    display: grid; place-items: center; font-size: 22px; color: #fff;
    background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-accent));
    animation: ed-float 3s ease-in-out infinite;
}
.ed-empty h4 { margin: 0 0 6px; font-weight: 700; color: var(--ed-ink); }
.ed-empty p { margin: 0 0 14px; color: var(--ed-muted); font-size: 14px; }

@keyframes ed-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ed-pop { from { opacity: 0; transform: scale(.97) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ed-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ed-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@keyframes ed-spin { to { --ed-angle: 360deg; } }

@media (max-width: 767px) {
    section.page-header { padding: 40px 0 36px !important; }
}
@media (prefers-reduced-motion: reduce) {
    #edPage *, section.page-header, section.page-header * { animation: none !important; transition: none !important; }
}

/* ---------- Honorary legal advisor profile ---------- */
.la-profile { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 26px; align-items: center; padding: 26px; margin-bottom: 22px; position: relative; overflow: hidden; }
.la-profile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 96px; background: linear-gradient(135deg, rgba(29, 111, 209, .10), rgba(34, 184, 207, .10)); pointer-events: none; }
.la-photo { position: relative; width: 190px; height: 224px; padding: 4px; border-radius: 22px;  box-shadow: 0 18px 34px -18px rgba(16, 36, 64, .75); }
.la-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 18px; background: #eef2f7; }
.la-head { position: relative; min-width: 0; text-align: left; }
.la-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ed-primary); background: #fff; border: 1px solid var(--ed-line); box-shadow: 0 4px 10px -6px rgba(16, 36, 64, .3); }
.la-eyebrow .fa { color: #c9a24a; }
.la-name { margin: 14px 0 8px; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--ed-ink); }
.la-role { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ed-primary-2); line-height: 1.45; }
.la-role .fa { margin-top: 3px; }
.la-creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.la-cred { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #33465c; background: var(--ed-soft); border: 1px solid var(--ed-line); }
.la-cred .fa { color: var(--ed-primary-2); font-size: 11px; }

.la-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 22px; align-items: start; }
.la-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.la-section + .la-section { margin-top: 18px; }
.la-section h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--ed-ink); }
.la-section h3 .la-ico { flex: 0 0 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-primary)); box-shadow: 0 8px 16px -8px rgba(29, 111, 209, .8); }
.la-section p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: #334155; text-align: left; }
.la-section p:last-child { margin-bottom: 0; }
.la-list { list-style: none; margin: 0; padding: 0; counter-reset: la; display: grid; gap: 10px; }
.la-list li { counter-increment: la; position: relative; padding: 12px 14px 12px 52px; border-radius: 14px; background: var(--ed-soft); border: 1px solid var(--ed-line); font-size: 14.5px; line-height: 1.6; color: #334155; text-align: left; }
.la-list li::before { content: counter(la); position: absolute; left: 12px; top: 11px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-accent)); }

.la-aside { position: sticky; top: 90px; padding: 0; overflow: hidden; }
.la-aside-block { padding: 16px 18px; text-align: left; }
.la-aside-block + .la-aside-block { border-top: 1px dashed var(--ed-line); }
.la-aside-block h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ed-muted); }
.la-aside-block h4 .fa { color: var(--ed-primary-2); }
.la-aside-block ul { list-style: none; margin: 0; padding: 0; }
.la-aside-block li { position: relative; padding: 5px 0 5px 18px; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--ed-ink); }
.la-aside-block li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--ed-primary-2), var(--ed-accent)); }

.la-others { margin-top: 28px; }
.la-others-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--ed-ink); }
.la-others-title::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: linear-gradient(180deg, var(--ed-primary-2), var(--ed-accent)); }
.la-others-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.la-mini { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--ed-line); box-shadow: var(--ed-shadow); text-decoration: none !important; color: var(--ed-ink) !important; text-align: left; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.la-mini:hover { transform: translateY(-3px); box-shadow: var(--ed-shadow-lg); border-color: #d3deeb; }
.la-mini img { flex: 0 0 52px; width: 52px; height: 60px; border-radius: 12px; object-fit: cover; object-position: center top; background: #eef2f7; }
.la-mini b { display: block; font-size: 14px; line-height: 1.3; }
.la-mini small { display: block; margin-top: 3px; font-size: 12px; color: var(--ed-muted); line-height: 1.35; }
.la-mini .fa { margin-left: auto; color: #9aaabd; transition: transform .25s ease, color .25s ease; }
.la-mini:hover .fa { transform: translateX(3px); color: var(--ed-primary-2); }

@media (max-width: 991px) {
    .la-grid { grid-template-columns: minmax(0, 1fr); }
    .la-aside { position: static; }
    .la-others-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .la-profile { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 22px 18px; gap: 16px; }
    .la-head { text-align: center; }
    .la-photo { width: 160px; height: 190px; }
    .la-name { font-size: 23px; }
    .la-role { justify-content: center; text-align: center; }
    .la-creds { justify-content: center; }
    .la-section p { font-size: 14.5px; }
}
