/* --- Keyword Index Page Styling --- */

/* 1. The Container: Uses Flexbox for responsive wrapping */
.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between badges */
    margin-top: 24px;
}

/* 2. The Badge: Minimalist "Pill" Style */
.keyword-badge {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    
    /* Typography */
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568; /* Neutral Slate Grey */
    
    /* Shape & Borders */
    background-color: #f7fafc; /* Very light grey */
    border: 1px solid #e2e8f0; /* Subtle border */
    border-radius: 4px; /* Pill shape */
    padding: 6px 16px;
    
    /* Smooth Transition */
    transition: all 0.2s ease-in-out;
}

/* 3. Interaction: Subtle hover effect */
.keyword-badge:hover {
    background-color: #edf2f7; /* Slightly darker grey */
    border-color: #cbd5e0;     /* Darker border */
    color: #1a202c;            /* Black text */
    text-decoration: none;
    transform: translateY(-1px); /* Tiny lift effect */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Keryword Archive */



.publication-archive {
  max-width: 900px;
  margin: 0 auto;
}

.archive-header {
  margin-bottom: 48px;
}

.archive-header h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.archive-intro {
  font-size: 1rem;
  color: #555;
}

.publication-archive-item {
  padding: 28px 0;
  border-bottom: 1px solid #e0e0e0;
}

.publication-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.publication-meta {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 12px;
}

.publication-excerpt {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 10px;
}

.publication-readmore {
  font-weight: 600;
  text-decoration: none;
}

/* Above CSS FOR PUBLICATIONS ARCHiVES */





/* =========================
   Researcher Profile - Clean Professional
   No animations, simple spacing, black & white
   ========================= */
   
.content-area, .researcher-profile {
    margin: 0 auto;
    
}

.researcher-profile {
  max-width: 1000px;
  padding: 40px 20px;
}

/* =========================
   PROFILE CARD
   ========================= */
.researcher-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 40px;
}

.researcher-card-header {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  margin-bottom: 24px;
}

/* Profile Photo - Square */
.researcher-photo {
  margin: 0;
  padding: 0;
}

.researcher-photo img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Researcher Info */
.researcher-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.researcher-info-main {
  flex: 1;
}

.researcher-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.2;
  color: #000000;
}

.researcher-affiliation {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 8px 0;
  color: #333333;
}

.researcher-department {
  font-size: 1rem;
  margin: 0 0 6px 0;
  color: #555555;
}

.researcher-country {
  font-size: 0.95rem;
  margin: 0;
  color: #666666;
}

/* Publication Badge - Small, Top Right Corner */
.researcher-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #ffffff;
  border-radius: 4px;
  padding: 6px 10px;
  min-width: 50px;
  text-align: center;
}

/* Badge Color Variations */
.researcher-badge[data-count="0-19"] {
  background: #22c55e;
  color: #ffffff;
}

.researcher-badge[data-count="20-49"] {
  background: #3b82f6;
  color: #ffffff;
}

.researcher-badge[data-count="50-99"] {
  background: #8b5cf6;
  color: #ffffff;
}

.researcher-badge[data-count="100+"] {
  background: #000000;
  color: #fbbf24;
  border: 1px solid #fbbf24;
}

.badge-number {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}

.badge-label {
  font-size: 0.625rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

/* Academic Profile Links */
.researcher-links {
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.researcher-links a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #000000;
  padding: 8px 16px;
  border: 1px solid #333333;
  border-radius: 4px;
  font-weight: 500;
}

.researcher-links a:hover {
  background: #000000;
  color: #ffffff;
}

/* =========================
   CONTENT SECTIONS
   ========================= */
.researcher-section {
  margin-bottom: 40px;
}

.researcher-section:last-child {
  margin-bottom: 0;
}

.researcher-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #000000;
  padding-bottom: 12px;
  border-bottom: 2px solid #000000;
}

.researcher-content {
  line-height: 1.6;
  font-size: 1rem;
  color: #333333;
}

.researcher-content p {
  margin: 0 0 16px 0;
}

.researcher-content p:last-child {
  margin-bottom: 0;
}

/* =========================
   PUBLICATIONS SECTION
   ========================= */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.publication-item {
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #ffffff;
}

.publication-item:hover {
  border-color: #999999;
}

.publication-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 10px 0;
  color: #000000;
}

.publication-title a {
  color: inherit;
  text-decoration: none;
}

.publication-title a:hover {
  text-decoration: underline;
}

.publication-authors {
  font-size: 0.95rem;
  color: #555555;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.publication-meta {
  font-size: 0.9rem;
  color: #777777;
  margin: 0 0 12px 0;
}

.publication-journal {
  font-style: italic;
}

.publication-year {
  margin-left: 8px;
}

.publication-year::before {
  content: "•";
  margin-right: 8px;
}

.publication-link {
  font-size: 0.875rem;
  text-decoration: none;
  color: #000000;
  font-weight: 600;
  border-bottom: 1px solid #000000;
}

.publication-link:hover {
  border-bottom-width: 2px;
}

.no-publications {
  font-style: italic;
  color: #999999;
  text-align: center;
  padding: 40px 0;
}

/* =========================
   RESPONSIVE - TABLET
   ========================= */
@media (max-width: 768px) {
  .researcher-profile {
    padding: 30px 16px;
  }

  .researcher-card {
    padding: 24px;
  }

  .researcher-card-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .researcher-photo {
    margin: 0 auto;
    text-align: center;
    width: 150px;
  }

  .researcher-photo img {
    width: 150px;
    height: 150px;
  }

  .researcher-info {
    text-align: center;
  }

  .researcher-name {
    font-size: 1.75rem;
  }

  .researcher-affiliation {
    font-size: 1rem;
  }

  .researcher-badge {
    position: static;
    margin: 16px auto 0;
  }

  .researcher-links {
    justify-content: center;
  }

  .researcher-section h2 {
    font-size: 1.3rem;
  }

  .publication-item {
    padding: 16px;
  }
}

/* =========================
   RESPONSIVE - MOBILE
   ========================= */
@media (max-width: 480px) {
  .researcher-profile {
    padding: 20px 12px;
  }

  .researcher-card {
    padding: 20px;
  }

  .researcher-photo {
    margin: 0 auto;
    width: 130px;
  }

  .researcher-photo img {
    width: 130px;
    height: 130px;
  }

  .researcher-name {
    font-size: 1.5rem;
  }

  .researcher-affiliation {
    font-size: 0.95rem;
  }

  .researcher-department,
  .researcher-country {
    font-size: 0.875rem;
  }

  .researcher-badge {
    position: static;
    margin: 16px auto 0;
  }

  .badge-number {
    font-size: 0.95rem;
  }

  .badge-label {
    font-size: 0.6rem;
  }

  .researcher-links {
    flex-direction: column;
  }

  .researcher-links a {
    text-align: center;
  }

  .researcher-section h2 {
    font-size: 1.2rem;
  }

  .researcher-content {
    font-size: 0.95rem;
  }

  .publication-title {
    font-size: 1.05rem;
  }

  .publication-authors {
    font-size: 0.875rem;
  }

  .publication-meta {
    font-size: 0.85rem;
  }
}

/* =========================
   PRINT STYLES
   ========================= */
@media print {
  .researcher-profile {
    max-width: 100%;
    padding: 0;
  }

  .researcher-card {
    border: 1px solid #000000;
    page-break-inside: avoid;
  }

  .publication-item {
    border: 1px solid #cccccc;
    page-break-inside: avoid;
  }

  .researcher-links a,
  .publication-link {
    color: #000000;
    border: 1px solid #000000;
  }

  .researcher-links a:hover,
  .publication-link:hover {
    background: none;
  }
}


/* =========================
   PUBLICATION SINGLE PAGE (Minimalist Redesign)
   ========================= */

.publication-profile {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

.publication-card {
    background: #ffffff;
    /* Removed heavy border, using subtle shadow/border combo */
    border: 1px solid #eaeaea;
    border-radius: 8px; /* Slightly smoother corners */
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

/* --- HEADER & LAYOUT --- */
.publication-header {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.publication-cover img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08); /* Lift the book cover slightly */
    border-radius: 4px;
}

/* --- BADGES (The "Small Info") --- */
.publication-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

/* The Minimalist Badge Style */
.meta-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #4a5568;
    padding: 4px 10px;
    border: 1px solid #cbd5e0; /* Neutral grey border */
    border-radius: 4px;
    background: transparent; /* No background color */
}

/* --- TYPOGRAPHY --- */
.publication-title-main {
    font-size: 2.2rem; /* Larger, cleaner */
    font-weight: 700;
    line-height: 1.2;
    color: #1a202c;
    margin: 0 0 20px 0;
}

.section-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #718096;
    margin: 0 0 16px 0;
    font-weight: 600;
}

/* --- AUTHOR CHIPS (Small & Minimalist) --- */
.publication-authors-visual {
    display: flex;
    flex-wrap: wrap; /* Wraps to next line if many authors */
    gap: 12px;       /* Space between authors */
    margin-bottom: 24px;
    align-items: center;
}

.author-chip {
    display: inline-flex;
    align-items: center; /* Vertically center image and text */
    gap: 10px;           /* Space between photo and name */
    text-decoration: none;
    color: #000;         /* Black text */
    font-size: 0.95rem;  /* Readable size */
    font-weight: 500;
    padding: 4px 12px 4px 4px; /* Padding for clickability */
    border: 1px solid #e0e0e0; /* Subtle border */
    border-radius: 50px;       /* Pill shape */
    background: #fff;
    transition: all 0.2s ease;
}

.author-chip:hover {
    background: #f5f5f5;
    border-color: #000;
}

/* The Small Photo */
.author-chip img {
    width: 32px;     /* Fixed small size */
    height: 32px;
    border-radius: 50%; /* Perfect circle */
    object-fit: cover;  /* Prevents stretching */
    display: block;
}

/* Fallback if no photo exists */
.author-placeholder-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
}

/* --- ACTION TOOLBAR --- */
.publication-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.primary-btn:hover {
    background: #333;
    color: #fff;
}

.export-group {
    font-size: 0.9rem;
    color: #718096;
}

.export-label {
    margin-right: 6px;
}

.action-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #a0aec0;
}

.action-link:hover {
    color: #000;
    border-bottom-style: solid;
}

.sep { margin: 0 4px; color: #cbd5e0; }

/* --- DIVIDER --- */
.section-divider {
    border: 0;
    border-top: 1px solid #eaeaea;
    margin: 40px 0;
}

/* --- ABSTRACT --- */
.publication-abstract {
    font-size: 0.95rem; /* Slightly larger for reading */
    line-height: 1.6;
    color: #2d3748;
    max-width: 800px;
    margin-bottom: 1rem;
}


/* 1. Section Headers (Publication Details & Abstract) */
.section-label {
    font-size: 1.25rem; /* Larger */
    font-weight: 700;   /* Bold */
    color: #000000;     /* Pure Black */
    margin: 0 0 24px 0;
    text-transform: none; /* Natural case is easier to read */
    letter-spacing: -0.01em;
    padding-bottom: 12px;
    border-bottom: 2px solid #000; /* Strong divider */
}

/* 2. Grid Container */
.publication-meta-grid {
    display: grid;
    grid-template-columns: 1fr; 
    border-top: none; /* Cleaner look without top border */
}

/* 3. The Rows */
.meta-row {
    display: grid;
    /* Increased label width slightly for better balance */
    grid-template-columns: 240px 1fr; 
    padding: 16px 0;
    /* Sharper divider line */
    border-bottom: 1px solid #e0e0e0; 
}

/* 4. Labels (The "dt") */
.meta-row dt {
    font-weight: 600;
    color: #000000; /* CHANGE: Was Grey -> Now Black */
    font-size: 0.95rem;
}

/* 5. Content (The "dd") */
.meta-row dd {
    margin: 0;
    color: #111111; /* CHANGE: Was Dark Grey -> Now Near Black */
    font-size: 1rem;
    line-height: 1.6;
}

/* Links inside details (e.g. DOI links) */
.meta-row dd a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000; /* distinct underline style */
    transition: all 0.2s;
}

.meta-row dd a:hover {
    background: #000;
    color: #fff;
}

.publication-abstract {
    color: #111111; /* CHANGE: Was Grey -> Now Near Black */
    font-size: 1.1rem; /* Comfortable reading size */
    line-height: 1.8;  /* Relaxed spacing */
    max-width: 100%;
}

/* Mobile Responsiveness for the Grid */
@media (max-width: 768px) {
    .meta-row {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 4px;
    }
    
    .meta-row dt {
        font-size: 0.85rem;
        opacity: 0.8;
    }
}


/* --- FOOTER GRID (Keywords & Citation) --- */
.publication-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #000; /* Distinct section separator */
}

.footer-label {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

/* Keyword Pills (Matches your Archive) */
.publication-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword-pill {
    font-size: 0.85rem;
    color: #4a5568;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.keyword-pill:hover {
    background: #edf2f7;
    color: #000;
    border-color: #cbd5e0;
}

/* Citation Box */
.citation-box {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 16px;
    font-size: 0.85rem;
    font-family: monospace; /* Looks like copy-paste text */
    color: #444;
    border-radius: 4px;
    line-height: 1.5;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .publication-card {
        padding: 24px;
    }

    .publication-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .publication-cover {
        max-width: 140px;
        margin: 0 auto;
    }

    .meta-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .publication-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}



/* =========================
   RESEARCHER ARCHIVE (GRID) - Plain & Professional
   ========================= */

/* Main Container */
.researcher-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #000;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

/* Grid Layout */
.researcher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Slightly narrower cols */
    gap: 32px;
    margin-bottom: 60px;
}

/* Individual Card - No Animation */
.researcher-archive-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    height: 100%;
    /* Only transition the border color, nothing else */
    transition: border-color 0.2s ease-in-out;
}

/* Hover State: Only change border color (No lift, no shadow) */
.researcher-archive-card:hover {
    border-color: #000; 
    transform: none;
    box-shadow: none;
}

/* Clickable Area */
.researcher-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
}

/* Photo Styling - SQUARE (Fixed) */
.archive-photo-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.archive-researcher-img {
    width: 180px;     /* Match your single page width */
    height: 180px;    /* Match your single page height */
    object-fit: cover;
    border-radius: 8px; /* Square with slight radius (matches single page) */
    display: block;
}

.archive-photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 8px; /* Square */
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.8rem;
    border: 1px solid #e0e0e0;
}

/* Text Info */
.archive-researcher-info {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.archive-researcher-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.archive-researcher-role {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin: 0 0 6px 0;
}

.archive-researcher-dept {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

/* View Profile Button */
.read-profile-btn {
    margin-top: auto;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2px;
    align-self: center;
}

.researcher-archive-card:hover .read-profile-btn {
    border-bottom-color: #000;
}

/* Pagination */
.archive-pagination {
    margin-top: 40px;
    text-align: center;
}

.archive-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    margin: 0 4px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}


/* =========================
   THOUGHTS & INSIGHTS SECTION
   ========================= */

.thoughts-section {
    margin-top: 60px; /* Extra space to separate from papers */
    padding-top: 40px;
    border-top: 1px solid #eee;
}

/* Grid Layout for Thoughts (Optional: remove grid-template-columns to make them stacked lists) */
.thoughts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.thought-card {
    background: #f9f9f9; /* Light grey background to distinguish from papers */
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 24px;
    transition: all 0.2s ease;
}

.thought-card:hover {
    background: #fff;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.thought-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.thought-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.thought-title a {
    text-decoration: none;
    color: #000;
}

.thought-excerpt {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-thought-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
}

.read-thought-link:hover {
    background: #000;
    color: #fff;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .thoughts-list {
        grid-template-columns: 1fr;
    }
}



/* =========================
   JOURNAL STYLE (Single Post)
   ========================= */

.journal-article-container {
    max-width: 740px; /* Narrower reading column for focus */
    margin: 60px auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.journal-header {
    text-align: left; /* Journals often align left or center. Left is more modern. */
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

/* Kicker (Top Meta) */
.journal-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #d0021b; /* Accent color (Classic Academic Red) or use #000 */
    margin-bottom: 16px;
}

.journal-date, .journal-read-time {
    color: #888;
    font-weight: 500;
}

/* Title */
.journal-title {
    font-size: 2.8rem;
    line-height: 1.15;
    color: #111;
    margin: 0 0 16px 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Subtitle / Excerpt */
.journal-subtitle {
    font-size: 1.35rem;
    line-height: 1.5;
    color: #555;
    font-weight: 300;
    margin-bottom: 24px;
    font-family: "Georgia", serif;
    font-style: italic;
}

/* --- AUTHOR BLOCK (Requested 4px Radius) --- */
.journal-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.by-text {
    font-size: 0.9rem;
    font-style: italic;
    color: #777;
    font-family: "Georgia", serif;
}

.journal-author-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #000;
    transition: opacity 0.2s;
}

.journal-author-chip:hover {
    opacity: 0.7;
}

/* The Image - 4px Radius */
.journal-author-chip img, 
.journal-author-chip .avatar {
    width: 44px;  /* Slightly larger for importance */
    height: 44px;
    border-radius: 4px; /* The requested 4px radius */
    object-fit: cover;
    border: 1px solid #eee;
}

/* Author Text Info */
.author-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
}

.author-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.05em;
}

/* --- FEATURED IMAGE --- */
.journal-featured-image {
    margin: 0 -40px 48px -40px; /* Break the grid slightly */
}

.journal-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* Consistent 4px radius */
}

.journal-featured-image figcaption {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* --- BODY TEXT (The "Journal" Feel) --- */
.journal-body {
    font-size: 1.15rem; /* Large, readable type */
    line-height: 1.7;
    color: #222;
}

.journal-body p {
    margin-bottom: 24px;
}

/* Drop Cap (First letter of first paragraph) */
.journal-body > p:first-of-type::first-letter {
    float: left;
    font-size: 3.8rem;
    line-height: 0.8;
    font-weight: 700;
    margin-right: 12px;
    margin-top: 4px;
    color: #000;
}

/* Blockquotes (Pull Quotes) */
.journal-body blockquote {
    border-left: 2px solid #000;
    margin: 40px 0;
    padding-left: 24px;
    font-style: italic;
    font-size: 1.4rem;
    color: #444;
}

/* Headings in content */
.journal-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: #111;
}

/* --- FOOTER --- */
.journal-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #000;
    text-align: center;
}

.journal-divider {
    font-family: serif;
    font-size: 1.5rem;
    letter-spacing: 10px;
    margin-bottom: 20px;
    color: #ccc;
}

.journal-citation {
    background: #f9f9f9;
    padding: 16px;
    font-size: 0.85rem;
    font-family: monospace;
    color: #555;
    border-radius: 4px;
    display: inline-block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .journal-article-container {
        margin: 30px auto;
    }
    
    .journal-title {
        font-size: 2.2rem;
    }
    
    .journal-featured-image {
        margin: 0 0 30px 0; /* Reset negative margins on mobile */
    }
}



.researcher-profile,          /* Single Researcher & Keyword Page */
.publication-profile,         /* Single Publication */
.researcher-archive-container,/* All Researchers Grid */
.journal-article-container,   /* Blog Posts */
.publication-archive {        /* Keyword Archives */
    min-height: 80vh;
    display: flex;
    flex-direction: column;
}