/*
Theme Name: Rajib Nandy
Theme URI: http://localhost/wordpress/
Author: Custom Build
Author URI: http://localhost/wordpress/
Description: Bespoke single-page academic theme for Rajib Nandy. Every section (hero, about, expertise, publications, research interests, stats, media & affiliations, footer) is fully editable from wp-admin via Custom Post Types, the Customizer, and WordPress menus. No paid plugins required.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rajib-nandy
*/
            :root {
                --red: #f42926;
                --black: #020202;
                --hero-black: #050606;
                --white: #ffffff;
                --muted-white: #f1f1f1;
                --line: rgba(255, 255, 255, 0.72);
                --frame: 1200px;
            }

            * {
                box-sizing: border-box;
            }

            html {
                min-height: 100%;
                background: var(--black);
                scroll-behavior: smooth;
            }

            body {
                margin: 0;
                min-height: 100%;
                color: var(--white);
                background: var(--black);
                font-family: "Lato", sans-serif;
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
            }

            a {
                color: inherit;
                text-decoration: none;
            }

            img {
                max-width: 100%;
                display: block;
            }

            /* ===== HEADER ===== */
            .site-header {
                position: relative;
                z-index: 10;
                width: 100%;
                background: #000000;
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            }

            .header-inner {
                display: flex;
                align-items: center;
                justify-content: space-between;
                width: 100%;
                max-width: var(--frame);
                height: 68px;
                margin: 0 auto;
                padding: 0 32px;
            }

            .brand {
                display: inline-flex;
                align-items: center;
                flex: 0 0 auto;
            }

            .brand img {
                display: block;
                width: 125px;
                height: auto;
            }

            .main-nav {
                display: flex;
                align-items: center;
                gap: 36px;
                margin: 0;
                padding: 0;
                list-style: none;
                font-family: "Lato", sans-serif;
                font-size: 12px;
                font-weight: 700;
                line-height: 1;
                text-transform: uppercase;
                letter-spacing: 0.05em;
            }

            .main-nav a {
                position: relative;
                display: inline-block;
                padding: 6px 0;
                color: #ffffff;
                transition: color 160ms ease;
            }

            .main-nav a::after {
                position: absolute;
                right: 0;
                bottom: 0;
                left: 0;
                height: 2px;
                background: transparent;
                content: "";
                transition: background 160ms ease;
            }

            .main-nav a:hover {
                color: var(--red);
            }

            .main-nav a.active,
            .main-nav .current-menu-item > a,
            .main-nav .current_page_item > a {
                color: var(--red);
            }

            .main-nav a.active::after,
            .main-nav .current-menu-item > a::after,
            .main-nav .current_page_item > a::after {
                background: var(--red);
            }

            .mobile-menu-toggle {
                display: none;
                background: none;
                border: none;
                cursor: pointer;
                padding: 4px;
                gap: 5px;
                flex-direction: column;
            }

            .mobile-menu-toggle span {
                display: block;
                width: 22px;
                height: 2px;
                background: var(--white);
                transition: all 0.3s ease;
            }

            .desktop-only {
                display: inline;
            }

            .hero-title > span {
                display: inline-block;
                margin-right: 4px;
            }

            .divider-pipe {
                color: var(--red);
                font-weight: 700;
                margin: 0 4px;
            }

            .title-divider-desktop {
                color: var(--red);
                font-weight: 700;
                margin: 0 6px;
            }

            .hero-button .button-icon {
                width: 15px;
                height: 15px;
                margin-right: 8px;
                flex-shrink: 0;
            }

            /* ===== HERO ===== */
            .hero {
                position: relative;
                width: 100%;
                overflow: hidden;
                background: #050606;
                box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
            }

            .hero::after {
                display: none;
            }

            .hero-inner {
                position: relative;
                display: grid;
                grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.2fr);
                align-items: stretch;
                gap: 0;
                width: 100%;
                max-width: var(--frame);
                min-height: 580px;
                margin: 0 auto;
                padding: 0 0 0 0;
                z-index: 1;
            }

            .hero-portrait-wrap {
                position: relative;
                width: 100%;
                align-self: stretch;
                display: flex;
                align-items: flex-end;
                justify-content: flex-start;
                overflow: hidden;
                margin: 0;
            }

            .hero-portrait {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center 10%;
                pointer-events: none;
                user-select: none;
            }

            .hero-copy {
                position: relative;
                z-index: 2;
                max-width: 640px;
                padding: 48px 48px 48px 40px;
                align-self: center;
            }

            .hero-logo {
                display: block;
                width: 280px;
                max-width: 100%;
                height: auto;
                margin: 0 0 24px;
            }

            .hero-title {
                margin: 0;
                max-width: 560px;
                color: var(--muted-white);
                font-size: 20px;
                font-weight: 400;
                line-height: 1.5;
            }

            .accent-line {
                width: 44px;
                height: 2px;
                margin: 16px 0 24px;
                background: var(--red);
            }

            .hero-quote {
                position: relative;
                max-width: 540px;
                margin: 0;
                color: #ffffff;
            }

            .quote-mark {
                display: inline;
                color: var(--red);
                font-family: Georgia, "Times New Roman", serif;
                font-size: 28px;
                font-style: normal;
                font-weight: 700;
                line-height: 1;
            }

            .quote-mark:first-child {
                margin-right: 4px;
                vertical-align: top;
            }

            .quote-mark:last-child {
                margin-left: 4px;
                vertical-align: bottom;
            }

            .hero-quote p {
                margin: 0;
                color: #ffffff;
                font-size: 16px;
                font-style: italic;
                font-weight: 400;
                line-height: 1.6;
            }

            .hero-actions {
                display: flex;
                flex-wrap: wrap;
                gap: 16px;
                align-items: center;
                margin-top: 36px;
                max-width: 100%;
            }

            .hero-button {
                display: inline-flex;
                min-width: 156px;
                height: 42px;
                align-items: center;
                justify-content: center;
                padding: 0 24px;
                border: 1px solid rgba(255, 255, 255, 0.8);
                color: #ffffff;
                font-family: "Barlow Condensed", sans-serif;
                font-size: 14px;
                font-weight: 700;
                line-height: 1;
                letter-spacing: 0.03em;
                text-transform: uppercase;
                transition:
                    border-color 160ms ease,
                    background 160ms ease,
                    color 160ms ease;
            }

            .hero-button.primary {
                border-color: var(--red);
                background: var(--red);
            }

            .hero-button:hover,
            .hero-button:focus-visible {
                border-color: var(--red);
                background: var(--red);
                color: #ffffff;
                outline: none;
            }

            /* ===== TABLET (≤ 980px) ===== */
            @media (max-width: 980px) {
                .header-inner {
                    height: 62px;
                    padding: 0 24px;
                }

                .main-nav {
                    gap: 24px;
                    font-size: 11px;
                }

                .brand img {
                    width: 110px;
                }

                .hero-inner {
                    grid-template-columns: minmax(220px, 0.85fr) minmax(
                            0,
                            1.2fr
                        );
                    min-height: 440px;
                }

                .hero-copy {
                    padding: 36px 36px 36px 32px;
                }

                .hero-logo {
                    width: 220px;
                }

                .hero-title {
                    font-size: 17px;
                }

                .hero-quote p {
                    font-size: 14.5px;
                }
            }

            /* ===== SMALL TABLET (≤ 820px) ===== */
            @media (max-width: 820px) {
                .header-inner {
                    height: 58px;
                }

                .main-nav {
                    gap: 18px;
                    font-size: 10.5px;
                }

                .brand img {
                    width: 100px;
                }

                .hero-inner {
                    min-height: 400px;
                }

                .hero-copy {
                    padding: 28px 28px 28px 24px;
                }

                .hero-logo {
                    width: 190px;
                }

                .hero-title {
                    font-size: 15.5px;
                }

                .hero-quote p {
                    font-size: 13.5px;
                }

                .hero-button {
                    min-width: 130px;
                    height: 40px;
                    font-size: 12px;
                }
            }

            /* ===== MOBILE (≤ 767px) ===== */
            @media (max-width: 767px) {
                .site-header {
                    position: relative;
                }

                .header-inner {
                    flex-direction: row;
                    justify-content: space-between;
                    height: 60px;
                    padding: 0 24px;
                    gap: 0;
                }

                .brand {
                    margin: 0;
                }

                .brand img {
                    width: 110px;
                }

                .main-nav-wrap {
                    display: none;
                }

                .main-nav-wrap.open {
                    display: block;
                    position: absolute;
                    top: 60px;
                    left: 0;
                    width: 100%;
                    background: #000000;
                    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
                    padding: 20px 24px;
                    z-index: 100;
                }

                .main-nav-wrap.open .main-nav {
                    display: flex;
                    flex-direction: column;
                    gap: 16px;
                    align-items: flex-start;
                }

                .mobile-menu-toggle {
                    display: flex;
                }

                .mobile-menu-toggle.active span:nth-child(1) {
                    transform: translateY(7px) rotate(45deg);
                }

                .mobile-menu-toggle.active span:nth-child(2) {
                    opacity: 0;
                }

                .mobile-menu-toggle.active span:nth-child(3) {
                    transform: translateY(-7px) rotate(-45deg);
                }

                .desktop-only {
                    display: none;
                }

                .hero {
                    min-height: auto;
                    background: #050606;
                }

                .hero-inner {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    text-align: center;
                    padding: 36px 20px 0;
                    max-width: 360px;
                    margin: 0 auto;
                }

                .hero-copy {
                    display: contents;
                }

                .hero-logo {
                    order: 1;
                    width: 180px;
                    max-width: 100%;
                    margin: 0 auto 16px;
                }

                .accent-line {
                    display: block;
                    order: 2;
                    width: 44px;
                    height: 2px;
                    background: var(--red);
                    margin: 0 auto 20px;
                }

                .hero-title {
                    order: 3;
                    font-size: 14.5px;
                    line-height: 1.6;
                    text-align: center;
                    margin: 0 auto 24px;
                    color: var(--muted-white);
                    max-width: 290px;
                }

                .hero-title .title-group {
                    display: block;
                    margin-bottom: 6px;
                }

                .hero-title .title-group:last-child {
                    margin-bottom: 0;
                }

                .hero-title .title-divider-desktop {
                    display: none;
                }

                .hero-quote {
                    order: 4;
                    margin: 0 auto 28px;
                    text-align: center;
                    max-width: 320px;
                    padding: 0;
                }

                .hero-quote p {
                    font-size: 13.5px;
                    line-height: 1.6;
                }

                .quote-mark {
                    font-size: 20px;
                }

                .hero-portrait-wrap {
                    order: 5;
                    width: 100%;
                    max-width: 240px;
                    margin: 0 auto 24px;
                    display: flex;
                    justify-content: center;
                    align-items: flex-end;
                    min-height: auto;
                    height: auto;
                    overflow: visible;
                }

                .hero-portrait {
                    position: relative;
                    width: 100%;
                    height: auto;
                    object-fit: contain;
                    object-position: center bottom;
                }

                .hero-actions {
                    order: 6;
                    display: flex;
                    flex-direction: column;
                    gap: 12px;
                    width: 100%;
                    max-width: 280px;
                    margin: 0 auto 36px;
                    padding: 0;
                }

                .hero-button {
                    width: 100%;
                    height: 46px;
                    font-size: 13.5px;
                    letter-spacing: 0.05em;
                    border-radius: 4px;
                }
            }

            /* ===== SMALL MOBILE (≤ 430px) ===== */
            @media (max-width: 430px) {
                .header-inner {
                    padding: 0 20px;
                }

                .brand img {
                    width: 100px;
                }

                .hero-inner {
                    padding: 24px 16px 0;
                    max-width: 320px;
                }

                .hero-logo {
                    width: 150px;
                    margin-bottom: 12px;
                }

                .accent-line {
                    margin-bottom: 16px;
                }

                .hero-title {
                    font-size: 13px;
                    margin-bottom: 20px;
                    max-width: 250px;
                }

                .hero-quote {
                    margin-bottom: 24px;
                    max-width: 280px;
                }

                .hero-quote p {
                    font-size: 12.5px;
                }

                .quote-mark {
                    font-size: 18px;
                }

                .hero-portrait-wrap {
                    max-width: 200px;
                    margin-bottom: 20px;
                }

                .hero-actions {
                    max-width: 250px;
                    gap: 10px;
                    margin-bottom: 28px;
                }

                .hero-button {
                    height: 44px;
                    font-size: 12.5px;
                }
            }

            /* ===== ABOUT SECTION ===== */
            .about-section {
                width: 100%;
                background: #fdfdfd;
                padding: 48px 0;
            }

            .about-inner {
                width: 100%;
                max-width: var(--frame);
                margin: 0 auto;
                padding: 0 24px;
            }

            .about-card {
                background: var(--white);
                border: 1px solid #eaeaea;
                border-radius: 16px;
                padding: 32px 40px;
                box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
            }

            .about-accent-line {
                width: 44px;
                height: 4px;
                background-color: var(--red);
                border-radius: 2px;
                margin-bottom: 12px;
            }

            .about-accent-line-bottom {
                width: 44px;
                height: 4px;
                background-color: var(--red);
                border-radius: 2px;
                margin-top: 12px;
                margin-bottom: 20px;
            }

            .about-heading {
                margin: 0;
                font-family: "Barlow Condensed", sans-serif;
                font-size: 44px;
                font-weight: 800;
                text-transform: uppercase;
                line-height: 1.05;
                letter-spacing: -0.01em;
            }

            .about-heading .about-label {
                color: var(--red);
                display: block;
                margin-bottom: 2px;
            }

            .about-heading .about-name {
                color: var(--black);
                display: block;
            }

            .about-content {
                display: grid;
                grid-template-columns: 1.05fr 1fr;
                gap: 44px;
                align-items: start;
            }

            .about-text-col {
                border-right: 1px solid #e6e6e6;
                padding-right: 32px;
            }

            .about-text-col p {
                margin: 0 0 12px;
                font-family: "Lato", sans-serif;
                font-size: 15.5px;
                font-weight: 400;
                line-height: 1.75;
                color: #333333;
            }

            .about-text-col p:last-child {
                margin-bottom: 0;
            }

            .about-highlights-col {
                padding-top: 0;
            }

            .about-highlights {
                list-style: none;
                margin: 0;
                padding: 0;
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            .about-highlights li {
                background: var(--white);
                border: 1px solid #f0f0f0;
                border-radius: 12px;
                padding: 10px 18px;
                display: flex;
                align-items: center;
                gap: 16px;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
                transition: all 0.3s ease;
            }

            .about-highlights li:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
                border-color: #e0e0e0;
            }

            .about-highlights li .highlight-icon {
                flex-shrink: 0;
                width: 32px;
                height: 32px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .about-highlights li .highlight-icon svg,
            .about-highlights li .highlight-icon img {
                width: 22px;
                height: 22px;
                object-fit: contain;
            }

            .about-highlights li .highlight-text {
                font-family: "Lato", sans-serif;
                font-size: 15px;
                font-weight: 700;
                line-height: 1.35;
                color: var(--black);
            }

            /* ===== ABOUT RESPONSIVE: TABLET (≤ 980px) ===== */
            @media (max-width: 980px) {
                .about-card {
                    padding: 32px;
                }

                .about-content {
                    grid-template-columns: 1fr 1fr;
                    gap: 32px;
                }

                .about-text-col {
                    padding-right: 24px;
                }

                .about-heading {
                    font-size: 32px;
                }

                .about-text-col p {
                    font-size: 14.5px;
                    margin-bottom: 12px;
                }

                .about-highlights li {
                    padding: 12px 16px;
                    gap: 12px;
                }

                .about-highlights li .highlight-icon {
                    width: 32px;
                    height: 32px;
                }

                .about-highlights li .highlight-icon svg {
                    width: 22px;
                    height: 22px;
                }

                .about-highlights li .highlight-text {
                    font-size: 14.5px;
                }
            }

            /* ===== ABOUT RESPONSIVE: SMALL TABLET (≤ 820px) ===== */
            @media (max-width: 820px) {
                .about-card {
                    padding: 28px;
                }

                .about-content {
                    grid-template-columns: 1fr;
                    gap: 28px;
                }

                .about-text-col {
                    border-right: none;
                    padding-right: 0;
                }

                .about-accent-line-bottom {
                    margin-bottom: 20px;
                }
            }

            /* ===== ABOUT RESPONSIVE: MOBILE (≤ 767px) ===== */
            @media (max-width: 767px) {
                .about-section {
                    padding: 36px 0;
                }

                .about-inner {
                    padding: 0 16px;
                }

                .about-card {
                    padding: 24px 16px;
                    border-radius: 12px;
                }

                .about-heading {
                    font-size: 32px;
                }

                .about-accent-line {
                    margin-bottom: 16px;
                }

                .about-accent-line-bottom {
                    margin-top: 16px;
                    margin-bottom: 24px;
                }

                .about-text-col p {
                    font-size: 14px;
                    line-height: 1.65;
                    margin-bottom: 16px;
                }

                .about-highlights {
                    gap: 10px;
                }

                .about-highlights li {
                    padding: 12px 14px;
                    gap: 12px;
                    border-radius: 10px;
                }

                .about-highlights li .highlight-icon {
                    width: 38px;
                    height: 38px;
                    background-color: #fff0f0;
                    border: 1px solid #ffe4e6;
                    border-radius: 50%;
                }

                .about-highlights li .highlight-icon svg {
                    width: 18px;
                    height: 18px;
                }

                .about-highlights li .highlight-text {
                    font-size: 14px;
                }
            }

            /* ===== ABOUT RESPONSIVE: SMALL MOBILE (≤ 430px) ===== */
            @media (max-width: 430px) {
                .about-card {
                    padding: 24px 16px;
                }

                .about-heading {
                    font-size: 28px;
                }

                .about-text-col p {
                    font-size: 13.5px;
                }

                .about-highlights li {
                    padding: 12px 14px;
                    gap: 12px;
                }

                .about-highlights li .highlight-icon {
                    width: 38px;
                    height: 38px;
                }

                .about-highlights li .highlight-icon svg {
                    width: 18px;
                    height: 18px;
                }

                .about-highlights li .highlight-text {
                    font-size: 13px;
                }
            }

            /* ===== AREAS OF EXPERTISE ===== */
            .expertise-section {
                background: var(--black);
                padding: 44px 0 48px;
            }

            .expertise-inner {
                width: 100%;
                max-width: var(--frame);
                margin: 0 auto;
                padding: 0 32px;
            }

            .expertise-heading {
                margin: 0 0 52px;
                font-family: "Barlow Condensed", sans-serif;
                font-size: 24px;
                font-weight: 700;
                letter-spacing: 0.08em;
                text-transform: uppercase;
                color: var(--white);
                text-align: center;
                line-height: 1.2;
            }

            .expertise-heading .expertise-label {
                color: var(--red);
            }

            .expertise-grid {
                display: grid;
                grid-template-columns: repeat(6, 1fr);
                gap: 0;
                align-items: stretch;
            }

            .expertise-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                padding: 0 24px;
                position: relative;
            }

            .expertise-item:not(:last-child)::after {
                content: "";
                position: absolute;
                right: 0;
                top: 10%;
                height: 80%;
                width: 1px;
                background: rgba(255, 255, 255, 0.15);
            }

            .expertise-icon {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 38px;
                height: 38px;
                margin-bottom: 20px;
                color: var(--red);
            }

            .expertise-icon svg,
            .expertise-icon img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                transition:
                    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                    filter 0.3s ease;
            }

            .expertise-item:hover .expertise-icon svg,
            .expertise-item:hover .expertise-icon img {
                transform: scale(1.12);
                filter: drop-shadow(0 0 8px rgba(244, 41, 38, 0.5));
            }

            .expertise-title {
                margin: 0 0 14px;
                font-family: "Barlow Condensed", sans-serif;
                font-size: 15px;
                font-weight: 700;
                letter-spacing: 0.04em;
                text-transform: uppercase;
                color: var(--red);
                line-height: 1.3;
            }

            .expertise-desc {
                margin: 0;
                font-family: "Lato", sans-serif;
                font-size: 13px;
                font-weight: 400;
                line-height: 1.6;
                color: rgba(255, 255, 255, 0.8);
            }

            /* ===== EXPERTISE RESPONSIVE ===== */
            @media (max-width: 980px) {
                .expertise-section {
                    padding: 36px 0 40px;
                }

                .expertise-heading {
                    font-size: 22px;
                    margin-bottom: 40px;
                }

                .expertise-grid {
                    grid-template-columns: repeat(3, 1fr);
                    row-gap: 36px;
                }

                .expertise-item {
                    padding: 0 20px;
                }

                /* Clear desktop dividers */
                .expertise-item::after {
                    display: none;
                }

                /* Set 3-column dividers (columns 1 & 2 of each row) */
                .expertise-item:not(:nth-child(3n))::after {
                    content: "";
                    position: absolute;
                    right: 0;
                    top: 10%;
                    height: 80%;
                    width: 1px;
                    background: rgba(255, 255, 255, 0.15);
                    display: block;
                }
            }

            @media (max-width: 820px) {
                .expertise-item {
                    padding: 0 16px;
                }

                .expertise-title {
                    font-size: 14px;
                    margin-bottom: 10px;
                }

                .expertise-desc {
                    font-size: 12px;
                }
            }

            @media (max-width: 767px) {
                .expertise-section {
                    background: #f7f7f7;
                    padding: 20px 0;
                }

                .expertise-inner {
                    background: #0a0a0a;
                    border-radius: 12px;
                    padding: 16px 16px 14px;
                    border: 1px solid rgba(255, 255, 255, 0.08);
                    margin: 0 20px;
                    width: auto;
                    max-width: none;
                }

                .expertise-heading {
                    font-size: 19px;
                    margin-bottom: 12px;
                    letter-spacing: 0.06em;
                }

                .expertise-grid {
                    grid-template-columns: repeat(3, 1fr);
                    gap: 0;
                    row-gap: 0;
                }

                .expertise-item {
                    padding: 18px 10px;
                    position: relative;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    text-align: center;
                }

                /* Clear desktop/tablet borders */
                .expertise-item::after {
                    display: none !important;
                }

                /* Mobile vertical dividers (Columns 1 & 2) */
                .expertise-item:not(:nth-child(3n))::after {
                    content: "";
                    position: absolute;
                    right: 0;
                    top: 15%;
                    bottom: 15%;
                    width: 1px;
                    background: rgba(255, 255, 255, 0.08);
                    display: block !important;
                }

                /* Mobile horizontal divider (between Row 1 and Row 2) */
                .expertise-item:nth-child(-n + 3)::before {
                    content: "";
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    height: 1px;
                    background: rgba(255, 255, 255, 0.08);
                    display: block !important;
                }

                .expertise-icon {
                    width: 30px;
                    height: 30px;
                    margin-bottom: 12px;
                }

                .expertise-title {
                    font-size: 12px;
                    color: #ffffff;
                    line-height: 1.3;
                    margin: 0;
                }

                .expertise-desc {
                    display: none !important;
                }
            }

            @media (max-width: 430px) {
                .expertise-section {
                    padding: 14px 0;
                }

                .expertise-inner {
                    margin: 0 12px;
                    padding: 12px 8px 10px;
                }

                .expertise-heading {
                    font-size: 16px;
                    margin-bottom: 16px;
                }

                .expertise-item {
                    padding: 12px 4px;
                }

                .expertise-icon {
                    width: 24px;
                    height: 24px;
                    margin-bottom: 8px;
                }

                .expertise-title {
                    font-size: 10px;
                }
            }

            /* ===== PUBLICATIONS & RESEARCH INTERESTS ===== */
            .pub-research-section {
                position: relative;
                width: 100%;
                overflow: hidden;
                background: #f6f6f6;
            }

            .pub-research-inner {
                position: relative;
                display: grid;
                grid-template-columns: 1fr 1fr;
                width: 100%;
                max-width: var(--frame);
                margin: 0 auto;
                min-height: 420px;
            }

            /* Left column: Publications */
            .pub-col {
                position: relative;
                z-index: 2;
                background: #f6f6f6;
                padding: 48px 48px 48px 40px;
            }

            .pub-heading {
                margin: 0 0 28px;
                font-family: "Barlow Condensed", sans-serif;
                font-size: 20px;
                font-weight: 700;
                letter-spacing: 0.08em;
                text-transform: uppercase;
                color: #111111;
                line-height: 1.2;
            }

            .pub-heading .pub-label {
                color: var(--red);
            }

            .pub-list {
                list-style: none;
                margin: 0 0 32px;
                padding: 0;
                display: flex;
                flex-direction: column;
                gap: 20px;
            }

            .pub-item {
                display: flex;
            }

            .pub-item-link {
                display: flex;
                align-items: flex-start;
                gap: 16px;
                text-decoration: none;
                color: inherit;
                width: 100%;
                outline: none;
            }

            .pub-thumb {
                flex-shrink: 0;
                width: 100px;
                height: 60px;
                object-fit: cover;
                border-radius: 2px;
                transition:
                    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 0.3s ease;
            }

            .pub-info {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
            }

            .pub-title {
                margin: 0;
                font-family: "Lato", sans-serif;
                font-size: 13.5px;
                font-weight: 700;
                line-height: 1.4;
                color: #111111;
                transition: color 0.2s ease;
            }

            .pub-line {
                width: 0;
                height: 2px;
                background: var(--red);
                margin-top: 8px;
                transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            }

            /* Hover & Active/Click Effects for Publications */
            .pub-item-link:hover .pub-title,
            .pub-item-link:focus .pub-title {
                color: var(--red);
            }

            .pub-item-link:hover .pub-line,
            .pub-item-link:focus .pub-line {
                width: 24px;
            }

            .pub-item-link:hover .pub-thumb,
            .pub-item-link:focus .pub-thumb {
                transform: scale(1.02);
                box-shadow: 0 4px 12px rgba(244, 41, 38, 0.25);
            }

            .pub-item-link:active .pub-thumb {
                transform: scale(0.98);
                box-shadow: 0 2px 6px rgba(244, 41, 38, 0.15);
            }

            .pub-cta {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                height: 40px;
                padding: 0 28px;
                background: var(--red);
                border: 2px solid var(--red);
                color: var(--white);
                font-family: "Barlow Condensed", sans-serif;
                font-size: 13px;
                font-weight: 700;
                letter-spacing: 0.06em;
                text-transform: uppercase;
                text-decoration: none;
                transition:
                    background 160ms ease,
                    color 160ms ease;
            }

            .pub-cta:hover {
                background: transparent;
                color: var(--red);
            }

            /* Right column: Research Interests */
            .research-col {
                position: relative;
                z-index: 2;
                padding: 48px 48px 48px 56px;
            }

            /* Background image behind the research column — spans the full right half of the viewport */
            .pub-research-section::after {
                content: "";
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                width: 50%;
                background: var(--research-bg, none) center right / cover
                    no-repeat;
                z-index: 0;
            }

            /* Light overlay on the research bg image for text readability */
            .research-col::before {
                content: "";
                position: absolute;
                inset: 0;
                background: linear-gradient(
                    to right,
                    #f6f6f6 0%,
                    rgba(246, 246, 246, 0.95) 15%,
                    rgba(246, 246, 246, 0.6) 45%,
                    transparent 100%
                );
                z-index: -1;
            }

            .research-heading {
                margin: 0 0 28px;
                font-family: "Barlow Condensed", sans-serif;
                font-size: 20px;
                font-weight: 700;
                letter-spacing: 0.08em;
                text-transform: uppercase;
                color: #111111;
                line-height: 1.2;
            }

            .research-heading .research-label {
                color: var(--red);
            }

            .research-list {
                list-style: none;
                margin: 0;
                padding: 0;
                display: flex;
                flex-direction: column;
                gap: 14px;
            }

            .research-list li {
                display: flex;
                align-items: center;
                gap: 10px;
                font-family: "Lato", sans-serif;
                font-size: 14px;
                font-weight: 700;
                line-height: 1.4;
                color: #444444;
            }

            .research-list li .ri-arrow {
                flex-shrink: 0;
                color: var(--red);
                font-size: 12px;
                font-weight: 700;
                line-height: 1;
            }

            /* ===== PUB/RESEARCH RESPONSIVE ===== */
            @media (max-width: 980px) {
                .pub-col {
                    padding: 36px 32px 36px 28px;
                }

                .research-col {
                    padding: 36px 32px 36px 40px;
                }

                .pub-heading,
                .research-heading {
                    font-size: 18px;
                    margin-bottom: 22px;
                }

                .pub-thumb {
                    width: 85px;
                    height: 52px;
                }

                .pub-title {
                    font-size: 12.5px;
                }

                .research-list li {
                    font-size: 13px;
                }
            }

            @media (max-width: 820px) {
                .pub-col {
                    padding: 30px 24px 30px 22px;
                }

                .research-col {
                    padding: 30px 24px 30px 32px;
                }

                .pub-thumb {
                    width: 75px;
                    height: 46px;
                }

                .pub-title {
                    font-size: 12px;
                }

                .pub-list {
                    gap: 12px;
                    margin-bottom: 24px;
                }

                .research-list li {
                    font-size: 12.5px;
                    gap: 8px;
                }
            }

            @media (max-width: 767px) {
                .pub-research-inner {
                    grid-template-columns: 1fr;
                }

                .pub-research-section::after {
                    width: 100%;
                    top: 50%;
                }

                .pub-col {
                    padding: 36px 28px;
                }

                .research-col {
                    padding: 36px 28px;
                }

                .research-col::before {
                    background: linear-gradient(
                        to bottom,
                        rgba(246, 246, 246, 0.95) 0%,
                        rgba(246, 246, 246, 0.6) 100%
                    );
                }

                .pub-heading,
                .research-heading {
                    font-size: 19px;
                    text-align: center;
                    margin-bottom: 24px;
                }

                .pub-title {
                    font-size: 13px;
                }

                .pub-thumb {
                    width: 90px;
                    height: 55px;
                }

                .research-list li {
                    font-size: 13.5px;
                }

                .pub-cta {
                    display: flex;
                    margin: 0 auto;
                }
            }

            @media (max-width: 430px) {
                .pub-col,
                .research-col {
                    padding: 24px 18px;
                }

                .pub-heading,
                .research-heading {
                    font-size: 16px;
                }

                .pub-thumb {
                    width: 70px;
                    height: 44px;
                }

                .pub-title {
                    font-size: 11.5px;
                }

                .research-list li {
                    font-size: 12px;
                }
            }

            /* ===== STATS BAR ===== */
            .stats-section {
                width: 100%;
                background: #0a0a0a;
                border-top: 1px solid rgba(255, 255, 255, 0.08);
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);
                padding: 48px 0 44px;
            }

            .stats-inner {
                width: 100%;
                max-width: var(--frame);
                margin: 0 auto;
                padding: 0 32px;
            }

            .stats-grid {
                display: grid;
                grid-template-columns: repeat(6, 1fr);
                gap: 0;
                align-items: start;
            }

            .stat-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                padding: 0 16px;
                position: relative;
            }

            .stat-item:not(:last-child)::after {
                content: "";
                position: absolute;
                right: 0;
                top: 8%;
                height: 84%;
                width: 1px;
                background: rgba(255, 255, 255, 0.12);
            }

            .stat-number {
                font-family: "Barlow Condensed", sans-serif;
                font-size: 36px;
                font-weight: 700;
                color: var(--white);
                line-height: 1;
                letter-spacing: 0.02em;
                margin-bottom: 8px;
            }

            .stat-label {
                font-family: "Lato", sans-serif;
                font-size: 12px;
                font-weight: 400;
                color: rgba(255, 255, 255, 0.7);
                line-height: 1.3;
                letter-spacing: 0.02em;
                margin-bottom: 16px;
            }

            .stat-icon {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 32px;
                height: 32px;
                color: var(--red);
            }

            .stat-icon svg,
            .stat-icon img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                transition:
                    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                    filter 0.3s ease;
            }

            .stat-item:hover .stat-icon svg,
            .stat-item:hover .stat-icon img {
                transform: scale(1.15);
                filter: drop-shadow(0 0 8px rgba(244, 41, 38, 0.45));
            }

            .stat-item:hover .stat-number {
                color: var(--red);
                transition: color 0.3s ease;
            }

            /* ===== STATS RESPONSIVE ===== */
            @media (max-width: 980px) {
                .stats-section {
                    padding: 40px 0 36px;
                }

                .stat-number {
                    font-size: 30px;
                }

                .stat-label {
                    font-size: 11px;
                }

                .stat-icon {
                    width: 28px;
                    height: 28px;
                }
            }

            @media (max-width: 820px) {
                .stats-grid {
                    grid-template-columns: repeat(3, 1fr);
                    row-gap: 36px;
                }

                /* Clear all desktop dividers */
                .stat-item::after {
                    display: none;
                }

                /* Set 3-column dividers */
                .stat-item:not(:nth-child(3n))::after {
                    content: "";
                    position: absolute;
                    right: 0;
                    top: 8%;
                    height: 84%;
                    width: 1px;
                    background: rgba(255, 255, 255, 0.12);
                    display: block;
                }
            }

            @media (max-width: 767px) {
                .stats-section {
                    padding: 40px 0 36px;
                }

                .stats-inner {
                    padding: 0 24px;
                }

                .stats-grid {
                    grid-template-columns: repeat(3, 1fr);
                    row-gap: 36px;
                }

                .stat-item::after,
                .stat-item:not(:nth-child(3n))::after {
                    display: none !important;
                }

                .stat-item:not(:nth-child(3n))::after {
                    content: "";
                    position: absolute;
                    right: 0;
                    top: 8%;
                    height: 84%;
                    width: 1px;
                    background: rgba(255, 255, 255, 0.12);
                    display: block !important;
                }

                .stat-number {
                    font-size: 30px;
                }

                .stat-label {
                    font-size: 11.5px;
                }

                .stat-icon {
                    width: 28px;
                    height: 28px;
                }
            }

            @media (max-width: 430px) {
                .stats-section {
                    padding: 28px 0 24px;
                }

                .stats-grid {
                    row-gap: 28px;
                }

                .stat-number {
                    font-size: 26px;
                }

                .stat-label {
                    font-size: 10.5px;
                }

                .stat-icon {
                    width: 24px;
                    height: 24px;
                }
            }

            /* ===== MEDIA & AFFILIATIONS SECTION ===== */
            .media-aff-section {
                width: 100%;
                background: #f7f7f7;
                padding: 40px 0;
                border-top: 1px solid #e2e2e2;
            }

            .media-aff-inner {
                width: 100%;
                max-width: var(--frame);
                margin: 0 auto;
                padding: 0 32px;
            }

            .media-aff-grid {
                display: grid;
                grid-template-columns: minmax(240px, 0.85fr) auto minmax(0, 2fr);
                gap: 28px;
                align-items: stretch;
            }

            /* Left column: Media Engagement */
            .media-col {
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
            }

            .media-heading {
                margin: 0 0 16px;
                font-family: "Barlow Condensed", sans-serif;
                font-size: 22px;
                font-weight: 700;
                letter-spacing: 0.08em;
                text-transform: uppercase;
                color: var(--black);
                line-height: 1.25;
            }

            .media-heading .highlight-text {
                color: var(--red);
            }

            .media-list {
                list-style: none;
                margin: 0 0 20px;
                padding: 0;
                display: flex;
                flex-direction: column;
                gap: 10px;
                width: 100%;
            }

            .media-list li {
                display: flex;
                align-items: center;
                gap: 10px;
                font-family: "Lato", sans-serif;
                font-size: 14px;
                font-weight: 400;
                line-height: 1.4;
                color: #333333;
            }

            .media-list li .check-icon {
                flex-shrink: 0;
                width: 18px;
                height: 18px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--red);
            }

            .media-list li .check-icon svg {
                width: 100%;
                height: 100%;
            }

            .media-archive-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 156px;
                height: 42px;
                padding: 0 20px;
                border: 1px solid var(--red);
                background: transparent;
                color: var(--red);
                font-family: "Barlow Condensed", sans-serif;
                font-size: 13.5px;
                font-weight: 700;
                line-height: 1;
                letter-spacing: 0.06em;
                text-transform: uppercase;
                text-decoration: none;
                transition:
                    background 160ms ease,
                    color 160ms ease,
                    border-color 160ms ease;
            }

            .media-archive-btn:hover {
                background: var(--red);
                color: var(--white);
            }

            /* Vertical Divider */
            .vertical-divider {
                width: 1px;
                background: #e0e0e0;
                align-self: stretch;
                margin: 0 8px;
            }

            /* Right column: Affiliations & Associations */
            .aff-col {
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
            }

            .aff-heading {
                margin: 0 0 16px;
                font-family: "Barlow Condensed", sans-serif;
                font-size: 22px;
                font-weight: 700;
                letter-spacing: 0.08em;
                text-transform: uppercase;
                color: var(--black);
                line-height: 1.25;
            }

            .aff-heading .highlight-text {
                color: var(--red);
            }

            /* Heading wrap — neutral on desktop, activates on mobile */
            .aff-heading-wrap {
                display: block;
            }

            .aff-title-bar {
                display: none;
            }

            .aff-logos-grid {
                display: grid;
                grid-template-columns: repeat(5, 1fr);
                gap: 10px;
                align-items: stretch;
            }

            .logo-card {
                background: var(--white);
                border: 1px solid #e2e2e2;
                border-radius: 1px;
                padding: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                aspect-ratio: 102 / 86;
                overflow: hidden;
                transition:
                    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 0.2s ease,
                    border-color 0.2s ease;
                cursor: default;
            }

            .logo-card img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                display: block;
            }

            .logo-card:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
                border-color: var(--red);
            }

            /* ===== RESPONSIVE STYLES ===== */
            @media (max-width: 980px) {
                .media-aff-section {
                    padding: 32px 0 36px;
                }

                .media-aff-inner {
                    padding: 0 24px;
                }

                .media-aff-grid {
                    grid-template-columns: minmax(210px, 0.85fr) auto minmax(
                            0,
                            2fr
                        );
                    gap: 20px;
                }

                .media-heading,
                .aff-heading {
                    font-size: 19px;
                    margin-bottom: 16px;
                }

                .media-list li {
                    font-size: 13px;
                }

                .logo-card {
                    aspect-ratio: auto;
                    height: 72px;
                }
            }

            @media (max-width: 823px) {
                .media-aff-section {
                    padding: 28px 0 32px;
                }

                .media-aff-inner {
                    padding: 0 20px;
                    max-width: 640px;
                }

                .media-aff-grid {
                    grid-template-columns: 1fr;
                    gap: 28px;
                }

                .vertical-divider {
                    display: none;
                }

                /* ── MEDIA COLUMN — card-based mobile layout ── */
                .media-col {
                    background: #ffffff;
                    border: 1px solid #e2e2e2;
                    border-radius: 16px;
                    padding: 20px 20px 24px;
                    align-items: stretch;
                    text-align: left;
                    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
                }

                /* Heading: stacked "MEDIA & PUBLIC" / "ENGAGEMENT" + red accent bar */
                .media-heading {
                    font-size: 22px;
                    font-weight: 800;
                    letter-spacing: 0.04em;
                    line-height: 1.15;
                    text-align: left;
                    margin-bottom: 8px;
                }

                .media-heading .highlight-text {
                    display: block;
                }

                /* Red accent bar under the heading */
                .media-heading::after {
                    content: "";
                    display: block;
                    width: 44px;
                    height: 3px;
                    background: var(--red);
                    border-radius: 2px;
                    margin-top: 8px;
                }

                /* List items — individual rounded cards */
                .media-list {
                    gap: 10px;
                    margin-bottom: 18px;
                    margin-top: 14px;
                    align-items: stretch;
                }

                .media-list li {
                    width: 100%;
                    background: #f8f8f8;
                    border: 1px solid #eeeeee;
                    border-radius: 12px;
                    padding: 12px 14px;
                    gap: 12px;
                    font-size: 14px;
                    font-weight: 500;
                    color: #222222;
                    transition:
                        box-shadow 0.2s ease,
                        transform 0.2s ease;
                }

                .media-list li:active {
                    transform: scale(0.98);
                }

                /* Checkmark icon — larger circle */
                .media-list li .check-icon {
                    width: 28px;
                    height: 28px;
                    flex-shrink: 0;
                    position: relative;
                }

                /* Vertical separator line between icon and text */
                .media-list li .check-icon::after {
                    content: "";
                    position: absolute;
                    right: -7px;
                    top: 2px;
                    bottom: 2px;
                    width: 1px;
                    background: #dddddd;
                }

                /* CTA button — full-width, centered */
                .media-archive-btn {
                    width: 100%;
                    min-width: unset;
                    height: 48px;
                    font-size: 14px;
                    font-weight: 700;
                    letter-spacing: 0.08em;
                    border-radius: 8px;
                    justify-content: center;
                }

                .aff-heading {
                    font-size: 18px;
                    letter-spacing: 0.06em;
                    text-align: center;
                }

                .aff-logos-grid {
                    grid-template-columns: repeat(5, 1fr);
                    gap: 10px;
                }

                .logo-card {
                    height: 68px;
                    border-radius: 8px;
                }
            }

            /* ===== MEDIA & AFFILIATIONS MOBILE (≤480px) — card layout ===== */
            @media (max-width: 480px) {
                .media-aff-section {
                    padding: 28px 0 36px;
                }

                .media-aff-inner {
                    padding: 0 16px;
                }

                .media-aff-grid {
                    gap: 32px;
                }

                /* Smaller tweaks for small phones */
                .media-col {
                    padding: 28px 20px 32px;
                }

                .media-heading {
                    font-size: 24px;
                }

                .media-list li {
                    padding: 16px 18px;
                    font-size: 15px;
                }

                /* Section title — centered, stacked two lines */
                .aff-heading {
                    font-size: 18px;
                    font-weight: 800;
                    letter-spacing: 0.05em;
                    text-align: center;
                    line-height: 1.2;
                    margin-bottom: 6px;
                }

                /* Red underline accent below the title */
                .aff-heading-wrap {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    margin-bottom: 22px;
                }

                .aff-heading-wrap .aff-heading {
                    margin-bottom: 10px;
                }

                .aff-heading-wrap .aff-title-bar {
                    width: 44px;
                    height: 3px;
                    background: var(--red);
                    border-radius: 2px;
                    display: block;
                }

                /* 2-column logo grid */
                .aff-logos-grid {
                    grid-template-columns: repeat(2, 1fr);
                    gap: 12px;
                }

                /* Large rounded logo cards */
                .logo-card {
                    height: auto;
                    aspect-ratio: 1.6 / 1;
                    border-radius: 12px;
                    border: 1px solid #e8e8e8;
                    padding: 14px 10px;
                    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
                }

                .logo-card img {
                    max-height: 58px;
                    width: auto;
                    max-width: 100%;
                    object-fit: contain;
                }

                .media-archive-btn {
                    min-width: 140px;
                    height: 38px;
                    font-size: 12.5px;
                }
            }

            @media (max-width: 380px) {
                .media-col {
                    padding: 22px 16px 28px;
                }

                .media-heading {
                    font-size: 21px;
                }

                .media-list li {
                    padding: 14px 14px;
                    font-size: 14px;
                }

                .media-list li .check-icon {
                    width: 32px;
                    height: 32px;
                }

                .media-archive-btn {
                    height: 44px;
                    font-size: 13px;
                }

                .aff-logos-grid {
                    gap: 10px;
                }

                .logo-card {
                    aspect-ratio: 1.5 / 1;
                    padding: 12px 8px;
                    border-radius: 10px;
                }

                .logo-card img {
                    max-height: 50px;
                }
            }

            /* ===== FOOTER ===== */
            .site-footer {
                width: 100%;
                background: #111111;
                border-top: 1px solid rgba(255, 255, 255, 0.08);
            }

            .footer-inner {
                width: 100%;
                max-width: var(--frame);
                margin: 0 auto;
                padding: 0 32px;
            }

            /* --- Footer Top Row --- */
            .footer-top {
                display: grid;
                grid-template-columns: auto 1px 1fr;
                gap: 0;
                align-items: center;
                padding: 28px 0 24px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .footer-contact {
                padding-right: 40px;
            }

            .footer-contact-heading {
                margin: 0 0 14px;
                font-family: "Barlow Condensed", sans-serif;
                font-size: 17px;
                font-weight: 700;
                letter-spacing: 0.06em;
                text-transform: uppercase;
                color: var(--white);
                line-height: 1.2;
            }

            .footer-contact-heading .fc-accent {
                color: var(--red);
            }

            .footer-contact-list {
                list-style: none;
                margin: 0;
                padding: 0;
                display: flex;
                flex-direction: column;
                gap: 7px;
            }

            .footer-contact-list li {
                display: flex;
                align-items: center;
                gap: 8px;
                font-family: "Lato", sans-serif;
                font-size: 12.5px;
                font-weight: 400;
                color: rgba(255, 255, 255, 0.75);
                line-height: 1.4;
            }

            .footer-contact-list li .fc-icon {
                flex-shrink: 0;
                width: 14px;
                height: 14px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--red);
            }

            .footer-contact-list li .fc-icon svg {
                width: 100%;
                height: 100%;
            }

            .footer-divider-v {
                width: 1px;
                align-self: stretch;
                background: rgba(255, 255, 255, 0.15);
            }

            /* Social / Academic Links */
            .footer-socials {
                display: flex;
                align-items: center;
                justify-content: space-evenly;
                padding-left: 40px;
                gap: 0;
            }

            .footer-social-link {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 8px;
                text-decoration: none;
                transition: transform 0.2s ease;
            }

            .footer-social-link:hover {
                transform: translateY(-2px);
            }

            .footer-social-icon {
                width: 38px;
                height: 38px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 4px;
                overflow: hidden;
                font-weight: 700;
                color: #fff;
                user-select: none;
            }

            .footer-social-icon svg {
                width: 100%;
                height: 100%;
            }

            /* Brand-specific icon tiles */
            .icon-linkedin {
                background: #0a66c2;
                font-family: "Lato", sans-serif;
                font-size: 20px;
                font-weight: 900;
                letter-spacing: -0.5px;
            }

            .icon-gscholar {
                background: #ffffff;
                border: 1px solid rgba(0, 0, 0, 0.08);
            }

            .icon-gscholar-g {
                font-family: "Arial", sans-serif;
                font-size: 26px;
                font-weight: 900;
                line-height: 1;
                color: #4285f4;
            }

            .icon-orcid {
                background: #a6ce39;
                font-family: "Arial", sans-serif;
                font-size: 17px;
                font-weight: 700;
                letter-spacing: -0.5px;
            }

            .icon-orcid .orcid-i {
                font-style: normal;
                font-weight: 400;
                margin-right: 0px;
            }

            .icon-rgate {
                background: #00ccbb;
                font-family: Georgia, "Times New Roman", serif;
                font-size: 20px;
                font-weight: 700;
                position: relative;
            }

            .icon-rgate sup {
                font-size: 11px;
                position: relative;
                top: -6px;
                font-weight: 700;
            }

            .icon-academia {
                background: #2b2b2b;
                font-family: Georgia, "Times New Roman", serif;
                font-size: 26px;
                font-weight: 400;
            }

            .footer-social-label {
                font-family: "Lato", sans-serif;
                font-size: 11px;
                font-weight: 400;
                color: rgba(255, 255, 255, 0.6);
                line-height: 1;
                white-space: nowrap;
            }

            /* --- Footer Bottom Row --- */
            .footer-bottom {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 18px 0 20px;
            }

            .footer-brand {
                display: flex;
                flex-direction: column;
                gap: 3px;
            }

            .footer-brand-name {
                margin: 0;
                font-family: "Barlow Condensed", sans-serif;
                font-size: 15px;
                font-weight: 700;
                letter-spacing: 0.06em;
                text-transform: uppercase;
                color: var(--white);
                line-height: 1.2;
            }

            .footer-brand-sub {
                margin: 0;
                font-family: "Lato", sans-serif;
                font-size: 10.5px;
                font-weight: 400;
                color: rgba(255, 255, 255, 0.5);
                line-height: 1.3;
            }

            .footer-right {
                display: flex;
                flex-direction: column;
                align-items: flex-end;
                gap: 6px;
            }

            .footer-nav {
                display: flex;
                align-items: center;
                gap: 0;
                list-style: none;
                margin: 0;
                padding: 0;
            }

            .footer-nav li {
                display: flex;
                align-items: center;
            }

            .footer-nav li:not(:last-child)::after {
                content: "|";
                color: rgba(255, 255, 255, 0.3);
                font-size: 11px;
                margin: 0 10px;
            }

            .footer-nav a {
                font-family: "Lato", sans-serif;
                font-size: 11.5px;
                font-weight: 400;
                color: rgba(255, 255, 255, 0.65);
                text-decoration: none;
                transition: color 160ms ease;
            }

            .footer-nav a:hover {
                color: var(--red);
            }

            .footer-copyright {
                margin: 0;
                font-family: "Lato", sans-serif;
                font-size: 11px;
                font-weight: 400;
                color: rgba(255, 255, 255, 0.4);
                line-height: 1;
            }

            /* ===== FOOTER RESPONSIVE ===== */

            /* Desktop: footer-bottom-top is a pass-through — takes full width as flex row */
            .footer-bottom-top {
                display: flex;
                align-items: center;
                justify-content: space-between;
                width: 100%;
            }

            /* Desktop: hide the logo image (we use text brand instead) */
            .footer-brand-logo {
                display: none;
            }

            /* Desktop: copyright-wrap hidden — copyright shown inline in footer-right */
            .footer-copyright-wrap {
                display: none;
            }

            @media (max-width: 980px) {
                .footer-top {
                    padding: 28px 0 24px;
                }

                .footer-contact {
                    padding-right: 28px;
                }

                .footer-socials {
                    padding-left: 28px;
                }

                .footer-social-icon {
                    width: 34px;
                    height: 34px;
                }

                .footer-social-label {
                    font-size: 10px;
                }
            }

            @media (max-width: 820px) {
                .footer-top {
                    grid-template-columns: 1fr;
                    gap: 24px;
                    text-align: center;
                }

                .footer-contact {
                    padding-right: 0;
                }

                .footer-contact-heading {
                    text-align: center;
                }

                .footer-contact-list {
                    align-items: center;
                }

                .footer-divider-v {
                    display: none;
                }

                .footer-socials {
                    padding-left: 0;
                    justify-content: center;
                    flex-wrap: wrap;
                    gap: 20px;
                }

                .footer-bottom {
                    flex-direction: column;
                    align-items: center;
                    gap: 12px;
                    text-align: center;
                }

                .footer-brand {
                    align-items: center;
                }

                .footer-right {
                    align-items: center;
                }

                .footer-nav {
                    flex-wrap: wrap;
                    justify-content: center;
                }
            }

            @media (max-width: 767px) {
                .footer-inner {
                    padding: 0 20px;
                }

                .footer-socials {
                    gap: 18px;
                }

                .footer-social-icon {
                    width: 32px;
                    height: 32px;
                }

                .footer-social-label {
                    font-size: 10px;
                }

                .footer-contact-heading {
                    font-size: 16px;
                }

                .footer-contact-list li {
                    font-size: 12px;
                }

                .footer-nav li:not(:last-child)::after {
                    margin: 0 7px;
                    font-size: 10px;
                }

                .footer-nav a {
                    font-size: 11px;
                }

                .footer-copyright {
                    font-size: 10.5px;
                }
            }

            /* ===================================================================
       MOBILE CONTACT + FOOTER REDESIGN — matches 9.png exactly (≤ 480px)
       =================================================================== */
            @media (max-width: 480px) {
                /* ── Site footer wrapper ──────────────────────────────────────────── */
                .site-footer {
                    background: #111111;
                    border-top: none;
                }

                .footer-inner {
                    padding: 0;
                }

                /* ── CONTACT & SOCIALS COMPACT DARK CARD CONTAINER ── */
                .footer-top {
                    display: block;
                    background: #080808;
                    /* Premium rich black background */
                    border: 1px solid rgba(255, 255, 255, 0.08);
                    /* subtle dark border */
                    border-radius: 20px;
                    /* rounded container */
                    margin: 0 auto;
                    /* centered horizontally */
                    width: 90%;
                    /* relative width */
                    max-width: 390px;
                    /* reduced container width to look extremely compact and premium */
                    padding: 24px 20px 28px;
                    border-bottom: none;
                    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
                }

                /* Centered Heading */
                .footer-contact-heading-wrap {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    margin-bottom: 24px;
                }

                .footer-contact-heading {
                    font-family: "Barlow Condensed", sans-serif;
                    font-size: 24px;
                    font-weight: 800;
                    letter-spacing: 0.06em;
                    text-transform: uppercase;
                    color: #ffffff;
                    line-height: 1.1;
                    margin: 0 0 10px;
                    text-align: center;
                }

                .footer-contact-heading .fc-accent {
                    color: var(--red);
                }

                .footer-contact-accent-bar {
                    display: block;
                    width: 44px;
                    height: 3px;
                    background: var(--red);
                    border-radius: 2px;
                }

                /* Contact list rows (icon + text) */
                .footer-contact-list {
                    margin-top: 18px;
                    gap: 14px;
                    align-items: center;
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                }

                .footer-contact-list li {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    font-size: 14px;
                    font-weight: 400;
                    color: rgba(255, 255, 255, 0.85);
                    line-height: 1.3;
                }

                .footer-contact-list li .fc-icon {
                    width: 18px;
                    height: 18px;
                    flex-shrink: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: var(--red);
                    border-right: 1px solid rgba(255, 255, 255, 0.15);
                    padding-right: 12px;
                    box-sizing: content-box;
                }

                .footer-contact-list li .fc-icon svg {
                    width: 100%;
                    height: 100%;
                }

                /* Hide vertical divider */
                .footer-divider-v {
                    display: none;
                }

                /* ── SOCIAL CARDS GRID inside the container ── */
                .footer-socials {
                    display: grid;
                    grid-template-columns: repeat(6, 1fr);
                    gap: 10px;
                    padding: 0;
                    margin: 24px 0 0;
                    width: 100%;
                }

                /* First 3 cards: each spans 2 of 6 columns → 3 equal columns */
                .footer-social-link:nth-child(1),
                .footer-social-link:nth-child(2),
                .footer-social-link:nth-child(3) {
                    grid-column: span 2;
                }

                /* Last 2 cards: each spans 3 of 6 columns → 2 equal columns filling full row */
                .footer-social-link:nth-child(4),
                .footer-social-link:nth-child(5) {
                    grid-column: span 3;
                }

                .footer-social-link {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 8px;
                    background: #121212;
                    border: 1px solid rgba(255, 255, 255, 0.08);
                    border-radius: 10px;
                    padding: 14px 4px 12px;
                    text-decoration: none;
                    transition:
                        box-shadow 0.2s ease,
                        transform 0.2s ease,
                        border-color 0.2s ease;
                    min-height: 90px;
                }

                .footer-social-link:hover {
                    transform: translateY(-2px);
                    border-color: var(--red);
                    box-shadow: 0 4px 12px rgba(244, 41, 38, 0.12);
                }

                .footer-social-icon {
                    width: 38px;
                    height: 38px;
                    border-radius: 8px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                /* LinkedIn tile */
                .icon-linkedin {
                    font-size: 20px;
                }

                /* Google Scholar tile */
                .icon-gscholar {
                    border: 1px solid rgba(255, 255, 255, 0.08);
                }

                .icon-gscholar-g {
                    font-size: 24px;
                }

                /* ORCID tile */
                .icon-orcid {
                    font-size: 16px;
                    border-radius: 50% !important;
                    width: 38px;
                    height: 38px;
                }

                /* ResearchGate tile */
                .icon-rgate {
                    font-size: 18px;
                }

                .icon-rgate sup {
                    font-size: 10px;
                    top: -5px;
                }

                /* Academia.edu tile */
                .icon-academia {
                    font-size: 22px;
                }

                .footer-social-label {
                    font-size: 11px;
                    font-weight: 700;
                    color: rgba(255, 255, 255, 0.65);
                    line-height: 1.2;
                    text-align: center;
                    white-space: nowrap;
                }

                .footer-social-link:hover .footer-social-label {
                    color: #ffffff;
                }

                /* ── DARK FOOTER BOTTOM (brand + nav + copyright) ─────────────────── */
                .footer-bottom {
                    flex-direction: column;
                    align-items: center;
                    gap: 0;
                    padding: 0;
                    background: #111111;
                    margin: 28px 0 0;
                    text-align: center;
                }

                /* Top part: logo + nav side by side */
                .footer-bottom-top {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    width: 100%;
                    padding: 0 16px 20px;
                    gap: 16px;
                }

                .footer-brand {
                    align-items: center;
                    text-align: center;
                }

                /* Hide logo image on mobile, text brand shown */
                .footer-brand-logo {
                    display: none;
                }

                .footer-brand-name {
                    display: block;
                    font-size: 20px;
                    font-weight: 700;
                    margin-bottom: 4px;
                }

                .footer-brand-sub {
                    display: block;
                    font-size: 11.5px;
                    color: rgba(255, 255, 255, 0.5);
                }

                /* Hide desktop copyright paragraph inside footer-right on mobile */
                .footer-right .footer-copyright {
                    display: none;
                }

                /* Show the mobile copyright-wrap at the bottom */
                .footer-copyright-wrap {
                    display: block;
                    width: 100%;
                    border-top: 1px solid rgba(255, 255, 255, 0.08);
                    padding: 16px 16px 24px;
                    text-align: center;
                }

                .footer-copyright-wrap .footer-copyright {
                    font-size: 11px;
                    color: rgba(255, 255, 255, 0.55);
                    line-height: 1.6;
                }

                .footer-right {
                    align-items: center;
                    width: 100%;
                }

                .footer-nav {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: center;
                    gap: 8px 12px;
                    width: 100%;
                    margin: 0;
                }

                .footer-nav li {
                    display: flex;
                    align-items: center;
                }

                .footer-nav li:not(:last-child)::after {
                    content: "|";
                    color: rgba(255, 255, 255, 0.2);
                    font-size: 11px;
                    margin-left: 12px;
                    display: block;
                }

                .footer-nav a {
                    font-size: 12px;
                    color: rgba(255, 255, 255, 0.8);
                }
            }

            /* ── Extra-small phones (≤ 380px) ───────────────────────────────────── */
            @media (max-width: 380px) {
                .footer-top {
                    width: 92%;
                    max-width: 330px;
                    padding: 20px 14px 24px;
                }

                .footer-contact-heading {
                    font-size: 22px;
                }

                .footer-contact-list li {
                    font-size: 13px;
                }

                .footer-socials {
                    gap: 8px;
                }

                .footer-social-link {
                    min-height: 80px;
                    padding: 10px 2px 8px;
                }

                .footer-social-icon {
                    width: 32px;
                    height: 32px;
                }

                .footer-social-label {
                    font-size: 10px;
                }
            }

            /* ===== MOBILE SIDEBAR STYLES ===== */
            .mobile-sidebar-backdrop {
                position: fixed;
                inset: 0;
                background: rgba(0, 0, 0, 0.4);
                backdrop-filter: blur(2px);
                z-index: 1999;
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            }

            .mobile-sidebar-backdrop.open {
                opacity: 1;
                pointer-events: auto;
            }

            .mobile-sidebar {
                position: fixed;
                top: 0;
                right: 0;
                bottom: 0;
                width: 85%;
                max-width: 380px;
                background: #ffffff;
                z-index: 2000;
                display: flex;
                flex-direction: column;
                transform: translateX(100%);
                transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                overflow-y: auto;
                box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
                font-family: "Lato", sans-serif;
            }

            .mobile-sidebar.open {
                transform: translateX(0);
            }

            /* Sidebar Header */
            .mobile-sidebar-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 18px 20px 14px;
                border-bottom: 1px solid #f0f0f0;
            }

            .sidebar-logo {
                height: 36px;
                width: auto;
                filter: invert(1) hue-rotate(180deg);
            }

            .mobile-sidebar-close {
                background: none;
                border: none;
                cursor: pointer;
                padding: 6px;
                color: #020202;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: color 0.2s ease;
            }

            .mobile-sidebar-close svg {
                width: 22px;
                height: 22px;
            }

            .mobile-sidebar-close:hover {
                color: var(--red);
            }

            /* Sidebar Navigation */
            .mobile-sidebar-nav {
                flex: 1 0 auto;
            }

            .mobile-sidebar-nav ul {
                list-style: none;
                padding: 0;
                margin: 0;
            }

            .mobile-sidebar-nav li {
                border-bottom: 1px solid #f0f0f0;
            }

            .mobile-sidebar-nav a {
                display: flex;
                align-items: center;
                padding: 14px 20px;
                color: #020202;
                font-size: 15px;
                font-weight: 700;
                transition: all 0.2s ease;
            }

            .mobile-sidebar-nav .nav-icon {
                width: 22px;
                height: 22px;
                margin-right: 14px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
            }

            .mobile-sidebar-nav .nav-icon svg {
                width: 20px;
                height: 20px;
            }

            .mobile-sidebar-nav .nav-text {
                flex-grow: 1;
            }

            .mobile-sidebar-nav .nav-chevron {
                width: 16px;
                height: 16px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #020202;
            }

            .mobile-sidebar-nav .nav-chevron svg {
                width: 14px;
                height: 14px;
            }

            /* Active State */
            .mobile-sidebar-nav li.active {
                background: rgba(244, 41, 38, 0.04);
                border-left: 4px solid var(--red);
            }

            .mobile-sidebar-nav li.active a {
                color: var(--red);
                padding-left: 16px; /* Offset the 4px border to keep text aligned */
            }

            .mobile-sidebar-nav li.active .nav-icon,
            .mobile-sidebar-nav li.active .nav-chevron {
                color: var(--red);
            }

            /* CTA Buttons */
            .mobile-sidebar-ctas {
                padding: 20px;
                display: flex;
                flex-direction: column;
                gap: 12px;
                border-top: 1px solid #f0f0f0;
            }

            .sidebar-btn-primary,
            .sidebar-btn-outline {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                height: 44px;
                font-family: "Barlow Condensed", sans-serif;
                font-size: 14px;
                font-weight: 700;
                letter-spacing: 0.04em;
                text-transform: uppercase;
                text-decoration: none;
                transition: all 0.2s ease;
            }

            .sidebar-btn-primary {
                background: var(--red);
                color: #ffffff;
                border: 1px solid var(--red);
            }

            .sidebar-btn-primary:hover {
                background: #d81e1b;
                border-color: #d81e1b;
            }

            .sidebar-btn-outline {
                background: transparent;
                color: var(--red);
                border: 1px solid var(--red);
            }

            .sidebar-btn-outline:hover {
                background: rgba(244, 41, 38, 0.04);
            }

            /* Social Grid */
            .mobile-sidebar-socials {
                display: grid;
                grid-template-columns: repeat(5, 1fr);
                border-top: 1px solid #f0f0f0;
                border-bottom: 1px solid #f0f0f0;
                background: #ffffff;
            }

            .sidebar-social-col {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding: 16px 2px 14px;
                text-decoration: none;
                color: inherit;
                min-height: 78px;
            }

            .sidebar-social-col:not(:last-child) {
                border-right: 1px solid rgba(0, 0, 0, 0.06);
            }

            .sidebar-social-col .sidebar-social-icon {
                width: 32px;
                height: 32px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 4px;
                overflow: hidden;
                font-weight: 700;
                color: #ffffff;
                user-select: none;
            }

            .sidebar-social-col .sidebar-social-label {
                margin-top: 8px;
                font-size: 9px;
                font-weight: 600;
                color: #555555;
                text-align: center;
                line-height: 1.1;
                white-space: nowrap;
            }

            /* Custom styling for Academia in sidebar to look exactly like the design (transparent background, black text) */
            .sidebar-social-col .sidebar-social-icon.icon-academia {
                background: transparent !important;
                color: #020202 !important;
                font-size: 24px;
            }

            /* Sidebar Footer */
            .mobile-sidebar-footer {
                padding: 16px 20px;
                text-align: center;
            }

            .mobile-sidebar-footer p {
                margin: 0;
                font-size: 11px;
                color: #888888;
                line-height: 1.4;
            }

            /* Override existing mobile menu behavior */
            @media (max-width: 767px) {
                .main-nav-wrap.open {
                    display: none !important; /* Hide old dropdown mobile menu */
                }
            }
        
