@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@600;700;800&display=swap');

:root {
    --primary-accent: #3b82f6;
    --primary-dark: #2563eb;
    --primary-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --accent-gradient: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    --bg-page: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-soft: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-lg: 16px;
    --radius-md: 12px;
    
    /* Uniform Typography System */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .title, .footer-title, .branding-content h1 {
    font-family: var(--font-heading) !important;
}

/* Boxed Layout Container */
.pkp_structure_page.container {
    background-color: var(--white);
    padding: 0;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-soft);
}

/* Top User Nav Area */
#navigationUser {
    background: #f8fafc;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

#navigationUser li a {
    color: var(--text-muted) !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    padding: 6px 16px !important;
    border-radius: 20px;
}

#navigationUser li a:hover {
    color: var(--primary-accent) !important;
    background: rgba(59, 130, 246, 0.05);
}

/* Journal Branding Area */
.journal-branding {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('images/vecteezy_world-map-with-financial-data-graph-chart_6787815.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 60px;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.journal-branding::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
}

.journal-branding h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(to bottom, #fff 60%, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.journal-branding p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    font-weight: 400;
    max-width: 800px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Navbar Style - Glassmorphism */
#headerNavigationContainer.navbar-default {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    min-height: 80px;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    padding: 15px 0;
    height: 80px;
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.navbar-brand img {
    max-width: 250px;
    height: auto;
    max-height: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.02);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-accent);
    letter-spacing: -0.02em;
}

.navbar-nav {
    float: left !important;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.navbar-nav>li>a {
    color: var(--text-main) !important;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 18px !important;
    margin: 18px 5px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.navbar-nav>li>a:hover,
.navbar-nav>li.active>a {
    color: var(--primary-accent) !important;
    background: rgba(59, 130, 246, 0.08) !important;
}

.navbar-nav>li>a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-accent);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav>li>a:hover::after,
.navbar-nav>li.active>a::after {
    width: 12px;
}

/* Dynamic Search Form Styling */
.search-form {
    margin: 20px 0;
    padding: 0;
}

.search-input-group {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 2px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    width: 240px;
}

.search-input-group:focus-within {
    background: #fff;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    width: 300px;
}

.search-input-group .form-control {
    background: transparent;
    border: none;
    box-shadow: none;
    height: 36px;
    font-size: 13px;
    font-weight: 500;
    padding-left: 15px;
}

.btn-search {
    background: var(--primary-accent);
    color: #fff !important;
    border-radius: 50% !important;
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
    transition: all 0.3s ease;
}

.btn-search:hover {
    transform: rotate(90deg);
    background: var(--primary-dark);
    color: #fff !important;
}

.btn-search:hover i {
    color: #fff !important;
    opacity: 1;
}

/* Dropdown Menu - Glassmorphism */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px;
    margin-top: 5px;
    animation: fadeInUp 0.3s ease-out;
}

.dropdown-menu li a {
    border-radius: 8px;
    padding: 10px 15px !important;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-menu li a:hover {
    background: var(--primary-accent) !important;
    color: #fff !important;
    transform: translateX(5px);
}

/* Status Bar */
.status-bar-alt {
    background: var(--accent-gradient);
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Sidebar Styling */
.sidebar-left,
.sidebar-right {
    padding-top: 40px;
}

.pkp_block {
    background: #fff !important; /* Re-introducing white background for better arrangement on slate bg */
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 0 !important; /* Reset padding to handle header separately */
    margin-bottom: 30px !important;
    box-shadow: var(--shadow-sm) !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pkp_block:hover {
    border-color: var(--primary-accent);
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-2px);
}

.pkp_block .title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-soft);
    padding: 15px 20px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.pkp_block .title i {
    margin-right: 12px;
    color: var(--primary-accent);
}

.pkp_block .content, 
.pkp_block .latest-pubs-content,
.pkp_block .modern-list {
    padding: 20px;
}

.modern-list {
    padding: 0;
    list-style: none;
    margin: 0;
}

.modern-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.modern-list li:last-child {
    border-bottom: none;
}

.modern-list li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-list li a::after {
    content: '\e080'; /* glyphicon-chevron-right */
    font-family: 'Glyphicons Halflings';
    font-size: 11px;
    opacity: 0.3;
    transition: all 0.2s ease;
}

.modern-list li a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

.modern-list li a:hover::after {
    opacity: 1;
    color: var(--primary-accent);
}

/* Main Content Styling */
/* .main-layout-row {
    padding: 40px 30px;
} */

.content-section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    margin: 50px 0 30px;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 20px;
}

.content-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: var(--accent-gradient);
    border-radius: 10px;
}

.content-section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: var(--border-soft);
    margin-left: 20px;
}

/* Article Summary Card */
.article-summary-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.article-summary-card:hover {
    border-color: var(--primary-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.article-summary-card .label-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--white);
    background: var(--accent-gradient);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.article-summary-card h3 {
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.article-summary-card h3 a {
    color: var(--text-main) !important;
    font-weight: 700;
    font-size: 22px;
    text-decoration: none;
    transition: color 0.2s;
}

.article-summary-card h3 a:hover {
    color: var(--primary-accent) !important;
}

.article-summary-card .meta-data {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.article-summary-card .meta-data span i {
    margin-right: 6px;
    color: var(--primary-accent);
}

.read-article-link {
    font-weight: 700;
    color: var(--primary-accent);
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: gap 0.2s;
}

.read-article-link:hover {
    gap: 8px;
    text-decoration: none;
}

/* Content Body Styling */
.journal-description,
.additional-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 30px;
}

.journal-description p,
.additional-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 1.5em;
}

.additional-content strong,
.additional-content b {
    font-weight: 600; /* Lighter than standard bold */
    color: #334155; /* Slate-700, slightly lighter than text-main */
}

.additional-content h1,
.additional-content h2,
.additional-content h3,
.additional-content h4,
.additional-content h5,
.additional-content h6 {
    font-weight: 700;
    color: #334155;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

/* Footer Styling */
footer[role="contentinfo"],
.footer {
    display: block;
    width: 100%;
    background: #0f172a;
    color: #f8fafc;
    padding: 80px 40px 0;
    margin-top: 50px;
    border-top: 4px solid var(--primary-accent);
    border-radius: 0 0 16px 16px;
    position: relative;
    overflow: hidden;
}

footer[role="contentinfo"]::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-accent);
}

.footer-links {
    padding: 0;
    list-style: none;
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-col p i {
    margin-right: 12px;
    color: var(--primary-accent);
    font-size: 14px;
}

.footer-bottom-strip {
    background: rgba(0, 0, 0, 0.3);
    padding: 35px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.footer-bottom-strip p {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    letter-spacing: 0.1em;
    margin: 0;
}

/* Smooth Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-summary-card {
    animation: fadeInUp 0.5s ease-out both;
}

.pkp_block {
    animation: fadeInUp 0.7s ease-out both;
}