/* Libratum Investment Custom Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Inter:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;700&family=Noto+Serif+KR:wght@400;500;600;700&display=swap');

:root {
    --jet: #2d2f33;
    --prussian-blue: #07283d;
    --coyote: #d6cdbc;
    --eerie-black: #222222;
    --black: #000000;
    --libratum-text: #333333;
    --accent-color: #d6cdbc;
}

/* Global Typography */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: "Inter", "Noto Sans KR", sans-serif !important;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--libratum-text);
    padding-top: 80px;
}

/* Main Content Area */
#dtr-wrapper {
    margin: 0;
    padding: 0;
    width: 100%;
}

#content {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Navigation Styles */
#dtr-header-global {
    background-color: var(--eerie-black);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 10px 0 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #d6cdbc !important;
}

#dtr-header-global .dtr-header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#dtr-header-global .dtr-logo-wrapper {
    display: flex;
    align-items: center;
    transform: translateY(-5px);
}

#dtr-header-global .dtr-logo-wrapper a {
    font-family: "Crimson Text", "Noto Serif KR", serif !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    display: block !important;
    line-height: 1.2 !important;
}

/* SVG Logo Styles */
#dtr-header-global .dtr-logo-wrapper a {
    display: flex !important;
    align-items: center !important;
}

#dtr-header-global .dtr-logo-wrapper a img {
    height: 32px;
    width: auto;
    display: block;
}

#dtr-header-global .dtr-navigation-wrapper {
    display: flex;
    align-items: center;
}

#dtr-header-global .dtr-main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#dtr-header-global .dtr-main-nav li {
    position: relative;
}

#dtr-header-global .dtr-main-nav li a {
    color: #ffffff;
    font-family: "Crimson Text", "Noto Serif KR", serif;
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 1;
}

#dtr-header-global .dtr-main-nav li a:hover {
    color: var(--coyote);
}

/* Dropdown Arrow Styles */
#dtr-header-global .dtr-main-nav .dropdown-arrow {
    width: auto;
    height: auto;
    max-width: 20px;
    max-height: 20px;
    margin-left: 8px;
    transition: opacity 0.3s ease;
    display: inline-block;
    opacity: 0.7;
    vertical-align: middle;
}

#dtr-header-global .dtr-main-nav .menu-item-has-children:hover .dropdown-arrow {
    opacity: 1;
}

/* Mobile Navigation Styles - Completely New */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transition: background-color 0.3s ease;
}

.mobile-nav-toggle span {
    width: 24px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: block;
    border-radius: 0;
}

.mobile-nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-toggle:hover span {
    background-color: #d6cdbc;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Menu - Dropdown Style */
.mobile-nav-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--eerie-black);
    z-index: 9999;
    display: none;
    flex-direction: column;
    border-bottom: 1px solid #d6cdbc;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-header {
    background-color: var(--eerie-black);
    /* PC와 동일한 배경색 */
    padding: 0 20px;
    height: 70px;
    /* PC와 동일한 높이 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d6cdbc !important;
    /* PC와 동일한 하단 선 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* PC와 동일한 그림자 */
    position: relative;
    /* 드롭다운을 위한 relative positioning */
    z-index: 10000;
    /* 드롭다운보다 위에 위치 */
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-nav-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.mobile-nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-language-toggle {
    margin-left: 0;
    margin-right: 0;
    transform: translateY(0);
}

.mobile-language-toggle .language-toggle-container {
    font-size: 13px;
    padding: 2px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
}

/* Remove close button for dropdown style */
.mobile-nav-close {
    display: none;
}

.mobile-nav-content {
    padding: 20px;
    overflow-y: auto;
}

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

.mobile-nav-menu li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    display: block;
    padding: 15px 0;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: #d6cdbc;
}

.mobile-nav-submenu {
    list-style: none;
    margin: 10px 0 0 20px;
    padding: 0;
}

.mobile-nav-submenu li {
    margin-bottom: 8px;
}

.mobile-nav-submenu a {
    font-size: 16px;
    color: #cccccc;
    padding: 8px 0;
}

.mobile-nav-submenu a:hover {
    color: #d6cdbc;
}

/* Contact Us functionality is handled in footer.php */

/* Mobile Navigation - Hide on desktop, show on mobile */
#mobile-nav {
    display: none;
}

/* Show mobile nav on mobile devices */
@media (max-width: 800px) {
    #mobile-nav {
        display: block !important;
    }
}

/* Mobile Responsive */
@media (max-width: 800px) {

    /* Hide PC navigation completely */
    #dtr-header-global {
        display: none !important;
    }

    /* Show mobile navigation */
    #mobile-nav {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
    }

    /* Force show mobile nav header */
    #mobile-nav .mobile-nav-header {
        display: flex !important;
    }

    /* Add top padding to body to account for fixed mobile nav */
    body {
        padding-top: 70px !important;
    }
}

/* Prevent body scroll when mobile menu is open - Keep scrollbar visible */
/* This is now handled above */

/* Prevent layout shift when mobile menu opens */
html {
    /* overflow-y: scroll removed for Chrome fix */
}

body {
    /* overflow-y: auto removed for Chrome fix */
}

/* Force scrollbar space when mobile menu is open */
body.mobile-menu-open {
    overflow-y: hidden;
    /* Prevent body scroll without layout shift */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* --- Mobile Menu Structural Change: Styles migrated from functions.php --- */

.mobile-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 80vh;
    background-color: #000000;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 40px 40px 40px;
    box-sizing: border-box;
    border-bottom: 1px solid #333333;
}

.mobile-nav-container.active {
    transform: translateY(0);
}

.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-container .dtr-main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.mobile-nav-container .dtr-main-nav li {
    width: 100%;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    list-style: none;
}

.mobile-nav-container.active .dtr-main-nav li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-container .dtr-main-nav li a {
    color: #ffffff;
    font-family: "Crimson Text", "Noto Serif KR", serif;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    padding: 12px 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.mobile-nav-container .dtr-main-nav li a:hover {
    color: #d6cdbc;
    border-bottom-color: #d6cdbc;
}

/* Sub-menu styles */
.mobile-nav-container .sub-menu {
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 8px 0 0 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: block !important;
    width: calc(100% - 20px) !important;
}

.mobile-nav-container .sub-menu li {
    margin-bottom: 6px !important;
    opacity: 1 !important;
    /* Always show if parent is visible */
    transform: none !important;
}

.mobile-nav-container .sub-menu li a {
    color: #cccccc !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    padding: 8px 0 !important;
    border-bottom: none !important;
}

.mobile-nav-container .sub-menu li a:hover {
    color: #d6cdbc !important;
}

/* Mobile Nav Toggle Header Spacer */
.mobile-nav-header-spacer {
    width: 100%;
    margin-bottom: 5px;
}

/* --- End of Migrated Styles --- */


/* Counter Animation Styles */
.stat-number,
.investment-feature h3 {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

.stat-item,
.investment-feature {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border: 1px solid #e0e0e0;
    background: white;
    transition: box-shadow 0.3s ease;
}

.stat-item:hover,
.investment-feature:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Dropdown Menu Styles */
#dtr-header-global .dtr-main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--eerie-black);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    margin: 0;
    list-style: none;
}

#dtr-header-global .dtr-main-nav .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#dtr-header-global .dtr-main-nav .sub-menu li {
    margin: 0;
}

#dtr-header-global .dtr-main-nav .sub-menu li a {
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#dtr-header-global .dtr-main-nav .sub-menu li:last-child a {
    border-bottom: none;
}

#dtr-header-global .dtr-main-nav .sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--coyote);
}

/* Hero Section - Full Screen */
.investment-hero {
    background: var(--eerie-black);
    color: #ffffff;
    padding: 0;
    text-align: center;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: -80px;
    /* Added for fixed header */
    padding-top: 80px;
    /* Added for fixed header */
    /* background-image: url('/investment/wp-content/uploads/2025/09/Main-Bg.jpg'); */
    background-size: contain;
    /* 이미지 전체가 보이도록 조정 */
    background-position: center center;
    background-repeat: no-repeat;
}

.investment-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.investment-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.investment-hero .hero-title {
    font-family: "Crimson Text", "Noto Serif KR", serif;
    font-size: 4.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.investment-hero .hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.7;
}

.investment-hero .hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.investment-hero .btn {
    padding: 15px 30px;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.investment-hero .btn:hover {
    background-color: #ffffff;
    color: var(--eerie-black);
}

/* Desktop-only: remove extra gap between navbar and hero on homepage */
@media (min-width: 769px) {

    /* Remove global body top padding on homepage (desktop only) */
    body.home {
        padding-top: 0 !important;
    }

    .home .investment-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Remove any header bottom border/shadow that creates a visible gap on home */
    .home #dtr-main-header,
    .home #dtr-header-global,
    .home .dtr-header,
    .home .dtr-header-inner,
    .home .dtr-navigation,
    .home .dtr-main-nav-wrap {
        border-bottom: 0 !important;
        margin-bottom: 0 !important;
        box-shadow: none !important;
    }

    /* Some themes draw a separator using :after pseudo elements - hide them */
    .home #dtr-main-header:after,
    .home .dtr-header:after,
    .home .dtr-header-inner:after,
    .home .dtr-navigation:after {
        content: none !important;
        display: none !important;
    }

    /* Ensure hero does NOT overlap the restored accent border */
    .home .investment-hero {
        margin-top: 0 !important;
    }

    /* Explicitly remove bottom padding/margin from header wrappers to kill 14-15px gap */
    .home #dtr-main-header,
    .home #dtr-main-header .dtr-header-inner,
    .home #dtr-main-header .dtr-navigation,
    .home #dtr-main-header .dtr-main-nav-wrap {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Ensure the immediate next section (hero) starts at 0 */
    .home #dtr-main-header+.investment-hero {
        margin-top: 0 !important;
    }

    /* Restore accent bottom border line under navbar on home */
    .home #dtr-main-header {
        border-bottom: 1px solid #d6cdbc !important;
        box-shadow: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        z-index: 10001 !important;
    }
}

/* Force accent border on homepage header (fallback) */
.home #dtr-header-global,
.home .dtr-header {
    border-bottom: 1px solid #d6cdbc !important;
}

/* What We Do (services) page: remove any top gap between navbar and title/hero */
@media (min-width: 769px) {
    body.page-template-page-services {
        padding-top: 0 !important;
    }

    .page-template-page-services #dtr-main-header+.dtr-page-title--section,
    .page-template-page-services .dtr-page-title--section {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
        /* eliminate any top line */
    }

    .page-template-page-services #dtr-main-header,
    .page-template-page-services #dtr-main-header .dtr-header-inner,
    .page-template-page-services #dtr-main-header .dtr-navigation,
    .page-template-page-services #dtr-main-header .dtr-main-nav-wrap {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        box-shadow: none !important;
    }
}

/* Global: show 1px accent bottom border under navbar on all pages */
#dtr-main-header,
#dtr-header-global,
.dtr-header {
    border-bottom: 1px solid #d6cdbc !important;
}

/* Prevent double rule: kill any top border/shadow on first section after header */
#dtr-main-header+*,
#dtr-header-global+*,
.dtr-header+* {
    border-top: 0 !important;
    box-shadow: none !important;
}

/* Common page title block should not draw a top border */
.dtr-page-title--section {
    border-top: 0 !important;
}

/* Footer section titles accent color */
#dtr-footer-section .footer-section__title {
    color: #d6cdbc !important;
}

/* Align all pages' header-to-hero spacing with homepage (desktop) */
@media (min-width: 769px) {
    body {
        padding-top: 0 !important;
        /* desktop has fixed header without extra space */
    }

    /* When a hero/title section follows the header, remove gap */
    #dtr-main-header+.page-hero,
    #dtr-main-header+.dtr-page-title--section,
    #dtr-header-global+.page-hero,
    #dtr-header-global+.dtr-page-title--section,
    .dtr-header+.page-hero,
    .dtr-header+.dtr-page-title--section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Page Hero Section */
.page-hero {
    background: var(--eerie-black);
    color: #ffffff;
    height: 500px;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex !important;
    /* flex container */
    align-items: center !important;
    /* vertical center */
    justify-content: center !important;
    /* horizontal center */
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

/* Contact Us 페이지만 어둡게 딤처리 */
.page-contact .page-hero::before {
    background: rgba(0, 0, 0, 0.3) !important;
}

/* Compensate for fixed navigation overlapping the hero (desktop only) */
@media (min-width: 769px) {
    .page-hero {
        /* header height ≈ 70px */
        padding-top: 70px !important;
        /* push content below the navbar */
        height: calc(500px - 70px) !important;
        /* keep visual hero height consistent */
    }
}

/* (reverted) crop of hero bottom removed */

/* Page-specific hero backgrounds */
.home .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/libratum-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-overview .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/Libratum-overview-hero.jpg');
}

.page-libratum .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/libratum-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* News & Insights - Commented out for future use */
/*
.page-news-insights .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/NewNinsights_hero_01.jpg');
}
*/

.page-what-we-do .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/Whatwedo_hero_01.jpg');
}

.page-our-people .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/Ourpeople_hero_01.jpg');
}

.page-contact .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/hero-contact.jpg');
}

.page-careers .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/career-hero.jpg');
}

.page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

/* Contact Us 페이지만 어둡게 딤처리 */
.page-contact .page-hero__overlay {
    background: rgba(0, 0, 0, 0.3) !important;
}

.page-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px !important;
    /* ensure no extra top padding */
}

.page-hero .hero-title {
    font-family: "Crimson Text", serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    /* keep original gap relative to subtitle */
    margin-bottom: 0.5rem;
    /* tighter gap to subtitle */
    line-height: 1.2;
}

.page-hero .hero-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    margin-top: 0;
    /* keep original spacing under title */
    margin-bottom: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Team Section Styles */
.seasoned-team-section,
.investment-team-section,
.content-management-section,
.advisory-board-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--eerie-black);
    margin-bottom: 20px;
}


.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.6;
}

.founder-profile {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.founder-image {
    width: 200px;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

/* Profile Card Styles */
.profile-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    width: 200px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 10px;
}

.profile-card:hover {
    border-color: #D6CDBC;
}

.profile-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 15px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(50%);
}

.profile-card:hover .profile-image img {
    filter: grayscale(0%);
}

.profile-info {
    padding: 0;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-name {
    font-family: "Crimson Text", serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--eerie-black);
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.profile-title {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: var(--eerie-black);
    color: #ffffff;
    padding: 30px;
    text-align: center;
    position: relative;
}

.modal-header h3 {
    font-family: "Crimson Text", serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.modal-header .modal-title {
    font-size: 1rem;
    color: #cccccc;
    margin: 0;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--eerie-black);
    margin: 0;
}

/* Text selection color */
::selection {
    background-color: var(--coyote);
    color: var(--eerie-black);
}

::-moz-selection {
    background-color: var(--coyote);
    color: var(--eerie-black);
}

/* Footer Styles */
#dtr-footer-section {
    background-color: var(--eerie-black);
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: "Crimson Text", serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
}

.footer-categories {
    display: flex;
    gap: 60px;
}

.footer-category h4 {
    font-family: "Crimson Text", serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--coyote);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-category ul li {
    margin-bottom: 8px;
}

.footer-category ul li a {
    font-family: "Crimson Text", serif;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-category ul li a:hover {
    color: var(--coyote);
}

.footer-bottom {
    border-top: 1px solid #d6cdbc;
    padding-top: 30px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #ccc;
}

.footer-copyright {
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    font-family: "Crimson Text", serif;
    color: #ccc;
    text-decoration: none;
    font-size: 0.8rem;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--coyote);
}

/* Responsive Design */
@media (max-width: 800px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
        gap: 20px;
    }

    .profile-card {
        width: 150px;
        height: 280px;
    }

    .founder-profile {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-categories {
        flex-direction: column;
        gap: 30px;
    }
}

/* Last Section Bottom Spacing */
.business-section:last-of-type,
/* News & Insights - Commented out for future use */
/*.news-section:last-of-type,
.insights-section:last-of-type,*/
.thought-leadership-section:last-of-type,
.press-section:last-of-type,
.cta-section:last-of-type,
.careers-section:last-of-type,
.team-section:last-of-type,
.seasoned-team-section:last-of-type,
.investment-team-section:last-of-type,
.content-management-team-section:last-of-type,
.advisory-board-section:last-of-type,
.global-presence-section:last-of-type {
    padding-bottom: 120px !important;
}

/* Text Selection Color - Global */
::selection {
    background-color: #000000;
    color: #ffc74a;
    padding: 0;
    margin: 0;
}

::-moz-selection {
    background-color: #000000;
    color: #ffc74a;
    padding: 0;
    margin: 0;
}

/* Improve text selection appearance */
*::selection {
    background-color: #000000;
    color: #ffc74a;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

*::-moz-selection {
    background-color: #000000;
    color: #ffc74a;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

/* Mobile Hamburger Menu - Remove Circular Border */
/* Our People Page Modal Title Styling */
.modal-title {
    font-size: 0.95rem !important;
    opacity: 1 !important;
    margin: 4px 0 0 0 !important;
    color: #a4a4a4 !important;
}

/* Mission Vision Grid Layout */
.mission-vision-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    margin-top: 40px !important;
}

.mission-vision-box {
    background: white !important;
    padding: 40px 30px !important;
    border-radius: 0 !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: none !important;
    border: 1px solid #e0e0e0 !important;
}

.mission-vision-box:hover {
    transform: none !important;
    box-shadow: none !important;
}

.mission-vision-box h3 {
    font-family: "Crimson Text", serif !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
}

.mission-vision-box p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

/* Section Background Pattern - Overview Page */
.business-section:nth-of-type(1) {
    background-color: white !important;
    /* About Libratum */
}

.business-section:nth-of-type(2) {
    background-color: #f8f9fa !important;
    /* Why Libratum Investment */
}

.business-section:nth-of-type(3) {
    background-color: white !important;
    /* Our Unique Value Platform */
}

.business-section:nth-of-type(4) {
    background-color: #f8f9fa !important;
    /* Value Creation Through Strategic Partnerships */
}

.business-section:nth-of-type(5) {
    background-color: white !important;
    /* Global Networks */
}

.business-section:nth-of-type(6) {
    background-color: #f8f9fa !important;
    /* Cross-Border Connections */
}

.business-section:nth-of-type(7) {
    background-color: white !important;
    /* Strategic Cross-Border Deal Pipeline */
}

.business-section:nth-of-type(8) {
    background-color: #f8f9fa !important;
    /* Investment Approach */
}

@media (max-width: 800px) {

    /* Keep PC height for mobile - no height changes */
    .dtr-header-global {
        /* Use default PC height */
    }

    .dtr-header-global .dtr-header-wrapper {
        /* Use default PC height */
    }
}

/* Duplicate section removed - fonts already imported at top of file */

:root {
    --jet: #2d2f33;
    --prussian-blue: #07283d;
    --coyote: #d6cdbc;
    --eerie-black: #222222;
    --black: #000000;
    --libratum-text: #333333;
    --accent-color: #d6cdbc;
}

/* Global Typography */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}



/* Main Content Area */
#dtr-wrapper {
    margin: 0;
    padding: 0;
    width: 100%;
}

#content {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Navigation Styles */
#dtr-header-global {
    background-color: var(--eerie-black);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 10px 0 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #d6cdbc !important;
}

#dtr-header-global .dtr-header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#dtr-header-global .dtr-logo-wrapper {
    display: flex;
    align-items: center;
    transform: translateY(-5px);
}

#dtr-header-global .dtr-logo-wrapper a {
    font-family: "Crimson Text", serif !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    display: block !important;
    line-height: 1.2 !important;
}

/* SVG Logo Styles */
#dtr-header-global .dtr-logo-wrapper a {
    display: flex !important;
    align-items: center !important;
}

#dtr-header-global .dtr-logo-wrapper a img {
    height: 32px;
    width: auto;
    display: block;
}

#dtr-header-global .dtr-navigation-wrapper {
    display: flex;
    align-items: center;
}

#dtr-header-global .dtr-main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#dtr-header-global .dtr-main-nav li {
    position: relative;
}

#dtr-header-global .dtr-main-nav li a {
    color: #ffffff;
    font-family: "Crimson Text", serif;
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 1;
}

#dtr-header-global .dtr-main-nav li a:hover {
    color: var(--coyote);
}

/* Dropdown Arrow Styles */
#dtr-header-global .dtr-main-nav .dropdown-arrow {
    width: auto;
    height: auto;
    max-width: 20px;
    max-height: 20px;
    margin-left: 8px;
    transition: opacity 0.3s ease;
    display: inline-block;
    opacity: 0.7;
    vertical-align: middle;
}

#dtr-header-global .dtr-main-nav .menu-item-has-children:hover .dropdown-arrow {
    opacity: 1;
}

/* Mobile Navigation Styles - Completely New */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transition: background-color 0.3s ease;
}

.mobile-nav-toggle span {
    width: 24px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: block;
    border-radius: 0;
}

.mobile-nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-toggle:hover span {
    background-color: #d6cdbc;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Menu - Dropdown Style */
.mobile-nav-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--eerie-black);
    z-index: 9999;
    display: none;
    flex-direction: column;
    border-bottom: 1px solid #d6cdbc;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-header {
    background-color: var(--eerie-black);
    /* PC와 동일한 배경색 */
    padding: 0 20px;
    height: 70px;
    /* PC와 동일한 높이 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d6cdbc !important;
    /* PC와 동일한 하단 선 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* PC와 동일한 그림자 */
    position: relative;
    /* 드롭다운을 위한 relative positioning */
    z-index: 10000;
    /* 드롭다운보다 위에 위치 */
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-nav-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.mobile-nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-language-toggle {
    margin-left: 0;
    margin-right: 0;
    transform: translateY(0);
}

.mobile-language-toggle .language-toggle-container {
    font-size: 13px;
    padding: 2px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
}

/* Remove close button for dropdown style */
.mobile-nav-close {
    display: none;
}

.mobile-nav-content {
    padding: 20px;
    overflow-y: auto;
}

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

.mobile-nav-menu li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    display: block;
    padding: 15px 0;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: #d6cdbc;
}

.mobile-nav-submenu {
    list-style: none;
    margin: 10px 0 0 20px;
    padding: 0;
}

.mobile-nav-submenu li {
    margin-bottom: 8px;
}

.mobile-nav-submenu a {
    font-size: 16px;
    color: #cccccc;
    padding: 8px 0;
}

.mobile-nav-submenu a:hover {
    color: #d6cdbc;
}

/* Contact Us functionality is handled in footer.php */

/* Mobile Navigation - Hide on desktop, show on mobile */
#mobile-nav {
    display: none;
}

/* Show mobile nav on mobile devices */
@media (max-width: 800px) {
    #mobile-nav {
        display: block !important;
    }
}

/* Mobile Responsive */
@media (max-width: 800px) {

    /* Hide PC navigation completely */
    #dtr-header-global {
        display: none !important;
    }

    /* Show mobile navigation */
    #mobile-nav {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
    }

    /* Force show mobile nav header */
    #mobile-nav .mobile-nav-header {
        display: flex !important;
    }

    /* Add top padding to body to account for fixed mobile nav */
    body {
        padding-top: 70px !important;
    }
}

/* Prevent body scroll when mobile menu is open - Keep scrollbar visible */
/* This is now handled above */

/* Prevent layout shift when mobile menu opens */
html {
    overflow-y: scroll;
    /* Always show scrollbar */
}

body {
    overflow-y: auto;
}

/* Force scrollbar space when mobile menu is open */
body.mobile-menu-open {
    overflow-y: hidden;
    /* Prevent body scroll without layout shift */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}


/* Counter Animation Styles */
.stat-number,
.investment-feature h3 {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

.stat-item,
.investment-feature {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border: 1px solid #e0e0e0;
    background: white;
    transition: box-shadow 0.3s ease;
}

.stat-item:hover,
.investment-feature:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Dropdown Menu Styles */
#dtr-header-global .dtr-main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--eerie-black);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    margin: 0;
    list-style: none;
}

#dtr-header-global .dtr-main-nav .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#dtr-header-global .dtr-main-nav .sub-menu li {
    margin: 0;
}

#dtr-header-global .dtr-main-nav .sub-menu li a {
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#dtr-header-global .dtr-main-nav .sub-menu li:last-child a {
    border-bottom: none;
}

#dtr-header-global .dtr-main-nav .sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--coyote);
}

/* Hero Section - Full Screen */
.investment-hero {
    background: var(--eerie-black);
    color: #ffffff;
    padding: 0;
    text-align: center;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: -80px;
    /* Added for fixed header */
    padding-top: 80px;
    /* Added for fixed header */
    /* background-image: url('/investment/wp-content/uploads/2025/09/Main-Bg.jpg'); */
    background-size: contain;
    /* 이미지 전체가 보이도록 조정 */
    background-position: center center;
    background-repeat: no-repeat;
}

.investment-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.investment-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.investment-hero .hero-title {
    font-family: "Crimson Text", serif;
    font-size: 4.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.investment-hero .hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.7;
}

.investment-hero .hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.investment-hero .btn {
    padding: 15px 30px;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.investment-hero .btn:hover {
    background-color: #ffffff;
    color: var(--eerie-black);
}

/* Desktop-only: remove extra gap between navbar and hero on homepage */
@media (min-width: 769px) {

    /* Remove global body top padding on homepage (desktop only) */
    body.home {
        padding-top: 0 !important;
    }

    .home .investment-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Remove any header bottom border/shadow that creates a visible gap on home */
    .home #dtr-main-header,
    .home #dtr-header-global,
    .home .dtr-header,
    .home .dtr-header-inner,
    .home .dtr-navigation,
    .home .dtr-main-nav-wrap {
        border-bottom: 0 !important;
        margin-bottom: 0 !important;
        box-shadow: none !important;
    }

    /* Some themes draw a separator using :after pseudo elements - hide them */
    .home #dtr-main-header:after,
    .home .dtr-header:after,
    .home .dtr-header-inner:after,
    .home .dtr-navigation:after {
        content: none !important;
        display: none !important;
    }

    /* Ensure hero does NOT overlap the restored accent border */
    .home .investment-hero {
        margin-top: 0 !important;
    }

    /* Explicitly remove bottom padding/margin from header wrappers to kill 14-15px gap */
    .home #dtr-main-header,
    .home #dtr-main-header .dtr-header-inner,
    .home #dtr-main-header .dtr-navigation,
    .home #dtr-main-header .dtr-main-nav-wrap {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Ensure the immediate next section (hero) starts at 0 */
    .home #dtr-main-header+.investment-hero {
        margin-top: 0 !important;
    }

    /* Restore accent bottom border line under navbar on home */
    .home #dtr-main-header {
        border-bottom: 1px solid #d6cdbc !important;
        box-shadow: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        z-index: 10001 !important;
    }
}

/* Force accent border on homepage header (fallback) */
.home #dtr-header-global,
.home .dtr-header {
    border-bottom: 1px solid #d6cdbc !important;
}

/* What We Do (services) page: remove any top gap between navbar and title/hero */
@media (min-width: 769px) {
    body.page-template-page-services {
        padding-top: 0 !important;
    }

    .page-template-page-services #dtr-main-header+.dtr-page-title--section,
    .page-template-page-services .dtr-page-title--section {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
        /* eliminate any top line */
    }

    .page-template-page-services #dtr-main-header,
    .page-template-page-services #dtr-main-header .dtr-header-inner,
    .page-template-page-services #dtr-main-header .dtr-navigation,
    .page-template-page-services #dtr-main-header .dtr-main-nav-wrap {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        box-shadow: none !important;
    }
}

/* Global: show 1px accent bottom border under navbar on all pages */
#dtr-main-header,
#dtr-header-global,
.dtr-header {
    border-bottom: 1px solid #d6cdbc !important;
}

/* Prevent double rule: kill any top border/shadow on first section after header */
#dtr-main-header+*,
#dtr-header-global+*,
.dtr-header+* {
    border-top: 0 !important;
    box-shadow: none !important;
}

/* Common page title block should not draw a top border */
.dtr-page-title--section {
    border-top: 0 !important;
}

/* Footer section titles accent color */
#dtr-footer-section .footer-section__title {
    color: #d6cdbc !important;
}

/* Align all pages' header-to-hero spacing with homepage (desktop) */
@media (min-width: 769px) {
    body {
        padding-top: 0 !important;
        /* desktop has fixed header without extra space */
    }

    /* When a hero/title section follows the header, remove gap */
    #dtr-main-header+.page-hero,
    #dtr-main-header+.dtr-page-title--section,
    #dtr-header-global+.page-hero,
    #dtr-header-global+.dtr-page-title--section,
    .dtr-header+.page-hero,
    .dtr-header+.dtr-page-title--section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Page Hero Section */
.page-hero {
    background: var(--eerie-black);
    color: #ffffff;
    height: 500px;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex !important;
    /* flex container */
    align-items: center !important;
    /* vertical center */
    justify-content: center !important;
    /* horizontal center */
}

/* Compensate for fixed navigation overlapping the hero (desktop only) */
@media (min-width: 769px) {
    .page-hero {
        /* header height ≈ 70px */
        padding-top: 70px !important;
        /* push content below the navbar */
        height: calc(500px - 70px) !important;
        /* keep visual hero height consistent */
    }
}

/* (reverted) crop of hero bottom removed */

/* Page-specific hero backgrounds */
.home .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/libratum-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-overview .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/Libratum-overview-hero.jpg');
}

.page-libratum .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/libratum-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* News & Insights - Commented out for future use */
/*
.page-news-insights .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/NewNinsights_hero_01.jpg');
}
*/

.page-what-we-do .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/Whatwedo_hero_01.jpg');
}

.page-our-people .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/Ourpeople_hero_01.jpg');
}

.page-contact .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/hero-contact.jpg');
}

.page-careers .page-hero {
    background-image: url('/investment/wp-content/uploads/2025/09/career-hero.jpg');
}

.page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.page-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px !important;
    /* ensure no extra top padding */
}

.page-hero .hero-title {
    font-family: "Crimson Text", serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    /* keep original gap relative to subtitle */
    margin-bottom: 0.5rem;
    /* tighter gap to subtitle */
    line-height: 1.2;
}

.page-hero .hero-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    margin-top: 0;
    /* keep original spacing under title */
    margin-bottom: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Team Section Styles */
.seasoned-team-section,
.investment-team-section,
.content-management-section,
.advisory-board-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--eerie-black);
    margin-bottom: 20px;
}


.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.6;
}

.founder-profile {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.founder-image {
    width: 200px;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

/* Profile Card Styles */
.profile-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    width: 200px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 10px;
}

.profile-card:hover {
    border-color: #D6CDBC;
}

.profile-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 15px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(50%);
}

.profile-card:hover .profile-image img {
    filter: grayscale(0%);
}

.profile-info {
    padding: 0;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-name {
    font-family: "Crimson Text", serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--eerie-black);
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.profile-title {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: var(--eerie-black);
    color: #ffffff;
    padding: 30px;
    text-align: center;
    position: relative;
}

.modal-header h3 {
    font-family: "Crimson Text", serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.modal-header .modal-title {
    font-size: 1rem;
    color: #cccccc;
    margin: 0;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--eerie-black);
    margin: 0;
}

/* Text selection color */
::selection {
    background-color: var(--coyote);
    color: var(--eerie-black);
}

::-moz-selection {
    background-color: var(--coyote);
    color: var(--eerie-black);
}

/* Footer Styles */
#dtr-footer-section {
    background-color: var(--eerie-black);
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: "Crimson Text", serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
}

.footer-categories {
    display: flex;
    gap: 60px;
}

.footer-category h4 {
    font-family: "Crimson Text", serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--coyote);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-category ul li {
    margin-bottom: 8px;
}

.footer-category ul li a {
    font-family: "Crimson Text", serif;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-category ul li a:hover {
    color: var(--coyote);
}

.footer-bottom {
    border-top: 1px solid #d6cdbc;
    padding-top: 30px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #ccc;
}

.footer-copyright {
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    font-family: "Crimson Text", serif;
    color: #ccc;
    text-decoration: none;
    font-size: 0.8rem;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--coyote);
}

/* Responsive Design */
@media (max-width: 800px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
        gap: 20px;
    }

    .profile-card {
        width: 150px;
        height: 280px;
    }

    .founder-profile {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-categories {
        flex-direction: column;
        gap: 30px;
    }
}

/* Last Section Bottom Spacing */
.business-section:last-of-type,
/* News & Insights - Commented out for future use */
/*.news-section:last-of-type,
.insights-section:last-of-type,*/
.thought-leadership-section:last-of-type,
.press-section:last-of-type,
.cta-section:last-of-type,
.careers-section:last-of-type,
.team-section:last-of-type,
.seasoned-team-section:last-of-type,
.investment-team-section:last-of-type,
.content-management-team-section:last-of-type,
.advisory-board-section:last-of-type,
.global-presence-section:last-of-type {
    padding-bottom: 120px !important;
}

/* Text Selection Color - Global */
::selection {
    background-color: #000000;
    color: #ffc74a;
    padding: 0;
    margin: 0;
}

::-moz-selection {
    background-color: #000000;
    color: #ffc74a;
    padding: 0;
    margin: 0;
}

/* Improve text selection appearance */
*::selection {
    background-color: #000000;
    color: #ffc74a;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

*::-moz-selection {
    background-color: #000000;
    color: #ffc74a;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

/* Mobile Hamburger Menu - Remove Circular Border */
/* Our People Page Modal Title Styling */
.modal-title {
    font-size: 0.95rem !important;
    opacity: 1 !important;
    margin: 4px 0 0 0 !important;
    color: #a4a4a4 !important;
}

/* Mission Vision Grid Layout */
.mission-vision-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    margin-top: 40px !important;
}

.mission-vision-box {
    background: white !important;
    padding: 40px 30px !important;
    border-radius: 0 !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: none !important;
    border: 1px solid #e0e0e0 !important;
}

.mission-vision-box:hover {
    transform: none !important;
    box-shadow: none !important;
}

.mission-vision-box h3 {
    font-family: "Crimson Text", serif !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
}

.mission-vision-box p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

/* Section Background Pattern - Overview Page */
.business-section:nth-of-type(1) {
    background-color: white !important;
    /* About Libratum */
}

.business-section:nth-of-type(2) {
    background-color: #f8f9fa !important;
    /* Why Libratum Investment */
}

.business-section:nth-of-type(3) {
    background-color: white !important;
    /* Our Unique Value Platform */
}

.business-section:nth-of-type(4) {
    background-color: #f8f9fa !important;
    /* Value Creation Through Strategic Partnerships */
}

.business-section:nth-of-type(5) {
    background-color: white !important;
    /* Global Networks */
}

.business-section:nth-of-type(6) {
    background-color: #f8f9fa !important;
    /* Cross-Border Connections */
}

.business-section:nth-of-type(7) {
    background-color: white !important;
    /* Strategic Cross-Border Deal Pipeline */
}

.business-section:nth-of-type(8) {
    background-color: #f8f9fa !important;
    /* Investment Approach */
}

@media (max-width: 800px) {

    /* Keep PC height for mobile - no height changes */
    .dtr-header-global {
        /* Use default PC height */
    }

    .dtr-header-global .dtr-header-wrapper {
        /* Use default PC height */
    }
}


/* Language Toggle Styles */
.dtr-main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
}

.language-toggle {
    margin-left: auto;
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 1;
    transform: translateY(-5px);
}

.language-toggle-container {
    position: relative;
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 2px;
    gap: 0;
    font-family: "Crimson Text", serif;
    font-size: 14px;
    line-height: 1;
    vertical-align: middle;
}

.language-option {
    position: relative;
    z-index: 2;
    cursor: pointer;
    padding: 4px 12px;
    transition: all 0.3s ease;
    user-select: none;
    color: #cccccc;
    font-weight: 400;
    border-radius: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-option.active {
    color: #222222 !important;
}

.language-slider {
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: calc(50% - 2px);
    height: calc(100% - 4px);
    background-color: #d6cdbc;
    border-radius: 14px;
    transition: transform 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.language-toggle-container[data-lang="kr"] .language-slider {
    transform: translateY(-50%) translateX(100%);
}

.language-toggle-container[data-lang="en"] .language-option[data-lang="en"] {
    color: #222222;
}

.language-toggle-container[data-lang="en"] .language-option[data-lang="kr"] {
    color: #cccccc;
}

.language-toggle-container[data-lang="kr"] .language-option[data-lang="kr"] {
    color: #222222;
}

.language-toggle-container[data-lang="kr"] .language-option[data-lang="en"] {
    color: #cccccc;
}

@media (max-width: 800px) {
    .language-toggle {
        margin-left: 20px;
        display: flex;
        align-items: center;
    }

    .mobile-language-toggle {
        transform: translateY(0) !important;
        margin-left: 0;
        margin-right: 0;
    }

    .language-toggle-container {
        font-size: 13px;
        padding: 2px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background-color: transparent;
    }

    .language-option {
        padding: 4px 10px;
        font-size: 13px;
        border-radius: 12px;
    }

    .language-slider {
        left: 2px;
        height: calc(100% - 4px);
        border-radius: 12px;
    }

    .language-toggle-container[data-lang="kr"] .language-slider {
        transform: translateY(-50%) translateX(100%);
    }
}

/* Mobile Footer Spacing Fix - Moved from footer.php */
@media (max-width: 800px) {
    #dtr-main-wrapper {
        padding-bottom: 20px !important;
    }
}

/* =========================================
   Chatbot Bubble Sizing Enhancements
   ========================================= */
#chatbotMessages .message .message-content {
    padding: 16px 22px !important;
    /* Further increased padding */
    font-size: 16px !important;
    /* Larger font */
    line-height: 1.6 !important;
    min-width: 150px !important;
    /* Increased minimum width */
    display: inline-block;
    max-width: 90%;
    /* Allow it to take up more space (was 85%) */
    /* Prevent internal scrolling */
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

#chatbotMessages .message.user-message .message-content {
    /* Optional: Ensure it matches the theme's aesthetic */
    text-align: left !important;
    background-color: #f1f1f1;
    /* Distinct background if needed, usually set elsewhere but good to enforce */
    color: #333;
    min-width: 80% !important;
    /* User requested MUCH BIGGER bubbles (80%) */
}

/* Contact Confirmation Buttons */
.btn-contact-yes:hover {
    background-color: #555 !important;
}

.btn-contact-no:hover {
    background-color: #e0e0e0 !important;
}

/* Quick Replies Buttons Styling Override */
.quick-reply-btn {
    padding: 9px 16px !important;
    font-size: 14px !important;
    border-radius: 20px !important;
}

/* =========================================
   Chatbot Embedded Contact Form
   ========================================= */
.chat-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
    width: 100%;
    /* Make form fill the bubble */
    max-width: 280px;
    /* Slightly wider */
}

.chat-form input,
.chat-form textarea {
    width: 100% !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    background: #fff !important;
    color: #333 !important;
    box-shadow: none !important;
}

.chat-form textarea {
    resize: vertical;
    min-height: 80px;
}

.chat-form button {
    background-color: #000 !important;
    /* Theme Black */
    color: #fff !important;
    border: none !important;
    padding: 12px 15px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: background 0.2s;
    margin-top: 5px;
    width: 100%;
}

.chat-form button:hover {
    background-color: #333 !important;
}