/* WJIIS - Modern Academic Journal Design */
/* Fresh, Vibrant & Eye-Catching Theme */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Merriweather:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Fresh Modern Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --secondary-dark: #0284c7;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    
    /* Backgrounds */
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    
    /* Text Colors */
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-cool: linear-gradient(135deg, #6366f1 0%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 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);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-glow-accent: 0 0 40px rgba(245, 158, 11, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--primary);
    color: var(--text-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.8); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-down {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-left {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-right {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

@keyframes particle {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; }
}

/* Container */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ================================
   HEADER
   ================================ */

.header {
    background: var(--gradient-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    box-shadow: var(--shadow-2xl);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.header-content {
    width: 100%;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    animation: slide-right 0.8s ease-out;
}

.logo h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.logo h1 span {
    display: block;
    font-size: 18px;
    font-weight: 400;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 8px;
    font-weight: 500;
}

/* Navigation */
.nav {
    animation: slide-left 0.8s ease-out;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
    border-radius: var(--radius-full);
}

.nav a:hover {
    color: var(--text-white);
}

.nav a:hover::before {
    opacity: 0.2;
}

.nav a.active {
    color: var(--text-white);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
}

/* ================================
   MAIN CONTENT
   ================================ */

.main-content {
    min-height: 60vh;
    padding: 0;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    background: var(--gradient-dark);
    position: relative;
    padding: 100px 40px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.2) 0%, transparent 40%);
    animation: rotate-slow 30s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slide-up 1s ease-out;
    line-height: 1.2;
}

.hero-content h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slide-up 1s ease-out 0.1s backwards;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-light);
    margin: 0 auto;
    line-height: 1.8;
    animation: slide-up 1s ease-out 0.2s backwards;
}

/* Floating particles in hero */
.hero .particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: particle 15s infinite;
}

/* ================================
   SECTIONS
   ================================ */

.section {
    margin: 40px;
    padding: 50px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    animation: slide-up 0.8s ease-out;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.section h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section h2::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), transparent);
    border-radius: var(--radius-full);
}

.section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 30px 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section p {
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 16px;
}

/* ================================
   ABOUT HERO
   ================================ */

.about-hero {
    background: var(--gradient-dark);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(14, 165, 233, 0.3) 0%, transparent 50%);
    animation: rotate-slow 25s linear infinite reverse;
}

.about-hero h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    position: relative;
    animation: slide-down 0.8s ease-out;
}

.about-hero p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    animation: slide-up 0.8s ease-out 0.2s backwards;
}

/* ================================
   JOURNAL DETAILS TABLE
   ================================ */

.journal-details-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.journal-details-table th,
.journal-details-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.journal-details-table th {
    background: var(--gradient-primary);
    color: var(--text-white);
    font-weight: 600;
    font-size: 14px;
    width: 35%;
    vertical-align: top;
}

.journal-details-table td {
    background: var(--bg-white);
    color: var(--text-medium);
    font-size: 15px;
}

.journal-details-table tr:hover td {
    background: var(--bg-light);
}

.journal-details-table tr:last-child th,
.journal-details-table tr:last-child td {
    border-bottom: none;
}

.journal-details-table a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.journal-details-table a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ================================
   HIGHLIGHT CARDS
   ================================ */

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.highlight-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
    background: var(--bg-white);
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    animation: bounce 2s ease-in-out infinite;
}

.highlight-card:hover .highlight-icon {
    animation: wiggle 0.5s ease-in-out;
}

.highlight-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
}

/* ================================
   SCOPE LIST
   ================================ */

.scope-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.scope-list li {
    padding: 16px 24px;
    padding-left: 50px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    position: relative;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition-base);
    border-left: 4px solid var(--primary);
}

.scope-list li::before {
    content: '✓';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.scope-list li:hover {
    transform: translateX(8px);
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

/* ================================
   ARTICLES GRID
   ================================ */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.article-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.article-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.article-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.article-card:hover::after {
    height: 100%;
}

.article-card h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 12px;
    line-height: 1.5;
    transition: var(--transition-fast);
}

.article-card h3::before {
    display: none;
}

.article-card:hover h3 {
    color: var(--primary);
}

.article-card .author {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-card .author::before {
    content: '👤';
}

.keywords {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.keyword {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition-fast);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.keyword:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
    transform: scale(1.05);
}

.article-card .abstract {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 16px;
}

.published-date {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.published-date::before {
    content: '📅';
}

.article-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.article-actions .btn-small {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.article-actions .btn-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-pdf {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-pdf:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-pdf:disabled {
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
    color: #6b7280;
}

.no-content {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    color: var(--text-medium);
    font-size: 18px;
}

/* ================================
   INFO SECTION
   ================================ */

.info-section {
    background: var(--gradient-dark) !important;
    margin: 0 !important;
    padding: 80px 40px !important;
    border-radius: 0 !important;
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.info-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    animation: rotate-slow 40s linear infinite;
}

.info-section h2 {
    color: var(--text-white) !important;
    text-align: center;
    justify-content: center;
    margin-bottom: 50px;
}

.info-section h2::after {
    display: none;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 0 0 4px 4px;
    transition: var(--transition-base);
}

.info-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

.info-card:hover::before {
    width: 100%;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 16px;
}

.info-card h3::before {
    display: none;
}

.info-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ================================
   STATS GRID
   ================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.stat-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
    opacity: 0.05;
}

.stat-card h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px;
    line-height: 1;
}

.stat-card h3::before,
.stat-card h3::after {
    display: none;
}

.stat-card p {
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ================================
   EDITORIAL BOARD
   ================================ */

.editorial-board {
    background: var(--bg-white) !important;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    justify-content: center;
}

.section-header h2::after {
    display: none;
}

.section-header p {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 400px);
    gap: 30px;
    justify-content: center;
}

.board-member {
    background: var(--bg-light);
    padding: 35px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: visible;
    border: 2px solid transparent;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    min-height: 600px;
}

.board-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.board-member::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    transition: var(--transition-base);
}

.board-member:hover {
    transform: translateY(-10px);
    background: var(--bg-white);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.board-member:hover::after {
    transform: translateX(-50%) scale(2);
    opacity: 0.05;
}

.board-member h4 {
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

.member-info h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px;
}

.member-info h3::before {
    display: none;
}

.member-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
    margin: 8px 0 !important;
}

.member-university {
    color: var(--text-medium);
    font-size: 14px;
    margin: 8px 0 !important;
}

.member-bio {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
    margin: 16px 0 0 !important;
}

.affiliation {
    font-size: 14px;
    color: var(--text-medium);
}

/* ================================
   CONTACT PAGE
   ================================ */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.contact-info h3 {
    font-family: 'Merriweather', Georgia, serif;
    margin-top: 0;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: var(--transition-base);
    border-left: 4px solid var(--primary);
}

.contact-item:hover {
    transform: translateX(8px);
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.contact-item h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

/* ================================
   FORMS
   ================================ */

.contact-form,
.article-form,
.login-form,
.editorial-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--bg-light);
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: var(--transition-base);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ================================
   BUTTONS
   ================================ */

.btn-primary,
.btn-secondary,
.btn-submit,
.btn-logout,
.btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary,
.btn-submit {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary::before,
.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
}

.btn-primary:hover,
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover::before,
.btn-submit:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: var(--text-white);
    border-color: transparent;
}

.btn-logout {
    background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%);
    color: var(--text-white);
    padding: 10px 24px;
    font-size: 12px;
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-small {
    padding: 8px 18px;
    font-size: 12px;
}

.btn-danger {
    background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%);
    color: var(--text-white);
}

.btn-danger:hover {
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

/* ================================
   MESSAGES
   ================================ */

.success-message,
.error-message {
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slide-down 0.5s ease-out;
}

.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ================================
   ADMIN STYLES
   ================================ */

.admin-login {
    background: var(--bg-white) !important;
}

.login-container {
    max-width: 420px;
    margin: 60px auto;
    padding: 50px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    animation: scale-in 0.5s ease-out;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* ================================
   TABLES
   ================================ */

.articles-table,
.messages-table,
.editorial-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.articles-table th,
.messages-table th,
.editorial-table th {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.articles-table td,
.messages-table td,
.editorial-table td {
    padding: 18px 20px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--bg-light);
    transition: var(--transition-fast);
}

.articles-table tbody tr:hover td,
.messages-table tbody tr:hover td,
.editorial-table tbody tr:hover td {
    background: var(--bg-light);
}

.articles-table tbody tr:last-child td,
.messages-table tbody tr:last-child td,
.editorial-table tbody tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-draft {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    color: #b45309;
}

.status-published {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #047857;
}

.actions {
    display: flex;
    gap: 10px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.recent-section {
    margin-top: 40px;
}

.recent-section h3 {
    font-family: 'Merriweather', Georgia, serif;
    margin-top: 0;
}

.current-image {
    margin-bottom: 16px;
}

.current-image img {
    border-radius: var(--radius-md);
    border: 2px solid var(--bg-light);
}

.current-image small {
    color: var(--text-light);
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: var(--gradient-dark);
    color: var(--text-white);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    animation: rotate-slow 50s linear infinite;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.footer-main h4,
.footer-contact h4 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 20px;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-main p,
.footer-contact p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin: 10px 0;
}

.footer-contact a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--text-white);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    .header-content {
        padding: 16px 24px;
    }

    .section {
        margin: 24px;
        padding: 40px;
    }

    .hero {
        padding: 80px 24px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .logo {
        text-align: center;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .nav a {
        padding: 10px 16px;
        font-size: 11px;
    }

    .section {
        margin: 16px;
        padding: 30px 24px;
        border-radius: var(--radius-lg);
    }

    .section h2 {
        font-size: 26px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .about-hero {
        padding: 60px 20px;
    }

    .about-hero h2 {
        font-size: 32px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .board-grid {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .journal-details-table th,
    .journal-details-table td {
        display: block;
        width: 100%;
        padding: 12px 16px;
    }

    .journal-details-table th {
        border-radius: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
        text-align: center;
    }

    .logo h1 {
        font-size: 18px;
    }

    .logo h1 span {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .section {
        margin: 12px;
        padding: 24px 20px;
    }

    .section h2 {
        font-size: 22px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content h2 {
        font-size: 26px;
    }

    .about-hero h2 {
        font-size: 26px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .info-section {
        padding: 60px 20px !important;
    }

    .contact-form,
    .login-container {
        padding: 30px 24px;
    }

    .btn-primary,
    .btn-submit {
        padding: 12px 24px;
        font-size: 13px;
        width: 100%;
    }

    .stat-card h3 {
        font-size: 36px;
    }

    .board-member-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        height: auto;
        min-height: 550px;
    }

    .board-member {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        height: auto;
        min-height: 550px;
    }

    .member-biography {
        max-height: 250px;
    }
}

/* ================================
   ACCESSIBILITY
   ================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ================================
   PRINT STYLES
   ================================ */

@media print {
    .header,
    .footer,
    .nav {
        display: none;
    }

    .section {
        box-shadow: none;
        border: 1px solid #ddd;
        margin: 20px 0;
        page-break-inside: avoid;
    }

    .hero {
        background: #1e293b !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ================================
   ABOUT CONTENT
   ================================ */

.about-content {
    background: transparent;
    padding: 0;
}

.about-content h3 {
    margin-top: 40px;
}

.about-content h3:first-of-type {
    margin-top: 20px;
}

/* ================================
   BOARD MEMBERS - FRONTEND
   ================================ */

.board-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 400px);
    gap: 35px;
    margin-top: 40px;
    justify-content: center;
}

.board-member-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 2px solid var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 400px;
    height: auto;
    min-height: 600px;
}

.board-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.member-photo-container {
    width: 180px;
    height: 180px;
    margin-bottom: 25px;
    position: relative;
}

.member-photo,
.member-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.member-photo-placeholder {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-icon {
    font-size: 80px;
    opacity: 0.7;
}

.board-member-card:hover .member-photo,
.board-member-card:hover .member-photo-placeholder {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.member-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.member-name {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
}

.member-name::before {
    display: none;
}

.member-position {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 15px;
}

.member-affiliation {
    margin: 12px 0;
    font-size: 15px;
}

.affiliation-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition-base);
    border-bottom: 1px solid transparent;
    padding: 8px 15px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    border: 1px solid var(--primary-light);
    font-weight: 500;
}

.affiliation-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--bg-white);
    transform: translateY(-2px);
}

.affiliation-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.member-affiliation span {
    color: var(--text-medium);
}

.member-expertise {
    margin: 15px 0;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-size: 13px;
}

.expertise-label {
    font-weight: 600;
    color: var(--primary);
    margin-right: 5px;
}

.expertise-text {
    color: var(--text-medium);
}

.member-biography {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid var(--bg-light);
    text-align: left;
    flex: 1;
    overflow-y: auto;
    max-height: 300px;
}

.member-biography p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.member-contact {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--bg-light);
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-base);
    padding: 8px 15px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
}

.email-link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.email-icon {
    font-size: 16px;
}

.no-members {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-medium);
}

.board-mission-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid var(--bg-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.mission-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
}

.mission-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.mission-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.mission-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.mission-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ================================
   BOARD MEMBERS - ADMIN PANEL
   ================================ */

.admin-board-members .admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.board-members-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.board-members-table thead {
    background: var(--gradient-primary);
    color: white;
}

.board-members-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.board-members-table td {
    padding: 16px;
    border-bottom: 1px solid var(--bg-light);
    vertical-align: middle;
}

.board-members-table tbody tr:hover {
    background: var(--bg-light);
}

.thumbnail-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.thumbnail-photo:hover {
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.no-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-medium);
    border: 2px dashed var(--text-light);
}

.board-members-table .actions {
    white-space: nowrap;
}

.board-member-form .current-photo {
    margin: 15px 0;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: inline-block;
}

.current-photo-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow-md);
    display: block;
    margin: 0 auto 10px;
}

.board-member-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.board-member-form .form-group {
    margin-bottom: 0;
}

.board-member-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .board-members-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .board-member-card {
        height: auto;
        min-height: 600px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .board-member {
        height: auto;
        min-height: 600px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .member-photo-container {
        width: 150px;
        height: 150px;
    }

    .board-member-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .board-member-form .form-group {
        margin-bottom: 20px;
    }

    .board-members-table {
        font-size: 13px;
    }

    .board-members-table th,
    .board-members-table td {
        padding: 10px;
    }

    .thumbnail-photo,
    .no-photo {
        width: 50px;
        height: 50px;
    }

    /* Additional mobile improvements for board members */
    .member-photo-container {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .member-details {
        padding: 0 10px;
    }

    .member-name {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .member-position {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .member-affiliation {
        margin: 10px 0;
        font-size: 14px;
    }

    .affiliation-link {
        padding: 6px 12px;
        font-size: 13px;
    }

    .member-expertise {
        margin: 12px 0;
        padding: 8px 12px;
        font-size: 12px;
    }

    .member-biography {
        margin: 15px 0;
        padding-top: 15px;
        max-height: 200px;
    }

    .member-biography p {
        font-size: 13px;
        line-height: 1.6;
    }

    .member-contact {
        margin-top: 15px;
        padding-top: 12px;
    }

    .email-link {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* Ensure buttons don't overflow on mobile */
    .btn-small {
        font-size: 11px;
        padding: 6px 12px;
        white-space: nowrap;
    }
}
