/* === Base Reset === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f9f9f6;
    color: #1c1c1c;
    line-height: 1.6;
}

/* === Header and Nav === */
header {
    background: #1c3d2d;
    color: #ffffff;
    padding: 20px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    flex-wrap: wrap;
}

.header-title h1 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: 1px;
    color: #fff;
}

header nav {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 0;
}

nav a {
    color: #c5a300;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    text-decoration: underline;
    color: #fff;
}

/* Portal Button */
.portal-btn {
    display: inline-block;
    background: transparent;
    color: #c5a300;
    border: 2px solid #c5a300;
    padding: 8px 22px;
    border-radius: 24px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 18px;
    font-size: 1em;
    transition: background 0.2s, color 0.2s;
}

.portal-btn:hover {
    background: #c5a300;
    color: #1c3d2d;
}

/* === Hero Section === */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 60vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero .cta-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* === CTA Button === */
.cta-button {
    background: #c5a300;
    color: white;
    padding: 10px 22px;
    border: none;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background: #b59700;
}

.cta-button.alt {
    background: #ffffff;
    color: #1c3d2d;
    border: 1px solid #1c3d2d;
}

/* === Search Banner === */
.search-banner {
    background: #ffffff;
    padding: 30px 20px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.search-form input,
.search-form select,
.search-form button {
    padding: 10px;
    margin: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.search-form button {
    background-color: #1c3d2d;
    color: white;
    border: none;
}

/* === Section Titles === */
.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin: 50px 0 20px;
    color: #1c3d2d;
}

/* GRID LAYOUT */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

/* Grid container */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px;
}

/* Individual card styling */
.research-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-in-out;
}

.research-card:hover {
  transform: translateY(-4px);
}

/* Thumbnail image */
.research-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Text content */
.research-card h3 {
  font-size: 1.1rem;
  margin: 16px 16px 8px 16px;
}

.research-card .meta {
  font-size: 0.85rem;
  color: #666;
  margin: 0 16px 8px 16px;
}

.research-card .abstract {
  font-size: 0.9rem;
  margin: 0 16px 16px 16px;
  color: #444;
}

.research-card .read-more {
  margin: auto 16px 16px 16px;
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}


/* === Categories List === */
.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    list-style: none;
    padding: 20px 0;
}

.category-list li a {
    padding: 10px 16px;
    border: 1px solid #1c3d2d;
    color: #1c3d2d;
    border-radius: 4px;
    text-decoration: none;
    background: white;
    transition: 0.2s ease;
}

.category-list li a:hover {
    background: #1c3d2d;
    color: white;
}

/* === Quotes Section === */
.quotes {
    background: #eef2ed;
    padding: 50px 30px;
    display: grid;
    gap: 30px;
}

.quote blockquote {
    font-style: italic;
    color: #333;
    font-size: 1.1rem;
}

.quote cite {
    display: block;
    margin-top: 10px;
    color: #777;
}

/* === Carousel (Static for now) === */
.carousel-outer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 0 20px 40px;
    justify-content: center;
    align-items: center;
    width: max-content;
    margin: 0 auto;
}

.carousel-item {
    min-width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-item img {
    width: 320px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

/* === Mission Section === */
.mission-block {
    background: #1c3d2d;
    color: white;
    text-align: center;
    padding: 60px 30px;
}

.mission-block h2 {
    margin-bottom: 20px;
}

.mission-block p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* === Final CTA === */
.final-cta {
    background: #f4f4f0;
    text-align: center;
    padding: 40px 20px;
    font-size: 1.1rem;
}

/* === Footer === */
footer {
    background: #1c3d2d;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* === Responsive === */
@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    header nav {
        margin-bottom: 8px;
    }
    .portal-btn {
        margin-left: 0;
        align-self: flex-end;
    }
}
@media (max-width: 600px) {
    .carousel-item img {
        width: 90vw;
        height: 140px;
    }
    .carousel-track {
        padding-bottom: 20px;
    }
    .hero-text {
        padding: 0 8px;
    }
    .card-grid {
        padding: 0 5px 20px;
    }
    .header-inner {
        padding: 0 3vw;
    }
    .hero h1 {
        font-size: 1.3rem;
    }
}

/* === Browse Archive Page === */
.browse-header {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin: 38px 0 14px;
}

.browse-header .fa-book-open {
    color: #c5a300;
    font-size: 2rem;
}

/* Filters */
.browse-filters {
    background: #fff;
    padding: 26px 16px 20px 16px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.browse-filters label {
    font-weight: 500;
    color: #1c3d2d;
    margin-right: 4px;
    display: flex;
    align-items: center;
}
.browse-filters input,
.browse-filters select {
    padding: 7px 10px;
    margin: 0 6px 0 3px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1em;
}
.browse-filters button.cta-button {
    margin-left: 8px;
    font-size: 1em;
    padding: 10px 20px;
}

/* Research Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 30px 40px;
    margin-top: 32px;
}

.research-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 270px;
}
.research-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.13);
}
.research-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
    display: block;
}
.research-card h3 {
    margin-bottom: 10px;
    color: #1c3d2d;
    font-size: 1.1rem;
}
.research-card .meta {
    font-size: 0.92rem;
    color: #777;
    margin-bottom: 12px;
}
.research-card .meta i {
    color: #c5a300;
    margin-right: 3px;
}
.research-card .abstract {
    font-size: 0.98rem;
    margin-bottom: 10px;
}
.research-card .read-more {
    font-weight: bold;
    color: #c5a300;
    text-decoration: none;
    margin-top: auto;
    display: inline-block;
}
.research-card .read-more i {
    margin-left: 4px;
    vertical-align: middle;
}

/* Empty state */
.browse-empty {
    padding: 38px 0;
    text-align: center;
    color: #777;
    font-size: 1.2em;
}
.browse-empty .fa-circle-exclamation {
    color: #c5a300;
    font-size: 2em;
    margin-bottom: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 36px 0 16px 0;
}
.pagination a,
.pagination span.page-info {
    color: #1c3d2d;
    background: #f9f9f6;
    border: 1px solid #ddd;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 1em;
    text-decoration: none;
    transition: background 0.22s;
}
.pagination a:hover {
    background: #c5a300;
    color: #fff;
    border-color: #c5a300;
}
.pagination .fa-chevron-left,
.pagination .fa-chevron-right {
    margin: 0 3px;
}

/* Responsive */
@media (max-width: 700px) {
    .browse-header {
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }
    .card-grid {
        padding: 0 10px 20px;
    }
    .browse-filters {
        gap: 8px;
        padding: 20px 5vw 10px 5vw;
    }
}

.view-container {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

.view-article {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.view-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.view-meta {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 24px;
}

.view-meta i {
    color: #888;
    margin-right: 6px;
}

.view-thumb {
    text-align: center;
    margin: 30px 0;
}

.view-thumb img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-label {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 30px 0 10px;
}

.view-abstract p {
    line-height: 1.7;
    font-size: 1.05rem;
    color: #333;
}

.view-download {
    margin: 40px 0 20px;
    text-align: center;
}

.download-button {
    display: inline-block;
    background: #1e4b43;
    color: #fff;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.download-button:hover {
    background: #163b34;
}

.citation-box {
    font-style: italic;
    background: #f9f9f9;
    padding: 16px;
    border-left: 4px solid #1e4b43;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
}

.back-button-wrapper {
    max-width: 960px;
    margin: 20px auto;
    padding: 0 20px;
}

.back-home-button {
    text-decoration: none;
    color: #1e4b43;
    font-weight: 500;
    font-size: 0.95rem;
}

.back-home-button:hover {
    text-decoration: underline;
}



/* === Abstract & Body === */
.view-abstract {
    margin-top: 30px;
}

.view-abstract p,
.view-body-text {
    font-size: 1.05rem;
    color: #222;
    line-height: 1.7;
}

/* === Section Labels === */
.section-label {
    font-size: 1.25rem;
    color: #1c3d2d;
    margin-bottom: 10px;
    margin-top: 30px;
}

/* === Tags === */
.view-tags .tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
}

.tag {
    background-color: #f9f6e8;
    color: #1c3d2d;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.9rem;
    border: 1px solid #c5a30033;
}

/* === Download Button === */
.view-download {
    margin-top: 30px;
    text-align: left;
}

.download-button {
    background: #c5a300;
    color: #ffffff;
    padding: 10px 20px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.download-button:hover {
    background: #b59700;
}

/* === Citation === */
.view-citation .citation-text {
    background: #fbfaf7;
    padding: 15px;
    font-size: 0.95rem;
    border-left: 4px solid #c5a300;
    font-style: italic;
    color: #333;
}

/* === Supplemental Files === */
.supplemental-list {
    list-style: none;
    padding-left: 0;
}

.supplemental-list li {
    margin-bottom: 10px;
}

.supplemental-list a {
    text-decoration: underline;
    color: #1c3d2d;
}

/* === Related Research === */
.view-related .related-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.related-list li {
    margin-bottom: 6px;
}

.related-list a {
    color: #1c3d2d;
    text-decoration: none;
    font-weight: 500;
}

.related-list a:hover {
    text-decoration: underline;
}

/* === Back Button Section === */
.back-button-section {
    background: #fdfcf8;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.back-button-wrapper {
    display: inline-block;
    margin: 0 auto;
}

.back-home-button {
    display: inline-block;
    background-color: #c5a300;
    color: #ffffff;
    padding: 12px 26px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.back-home-button:hover {
    background-color: #b59700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* === Page Title Block === */
.page-title-wrapper {
    max-width: 1000px;
    margin: 40px auto 30px auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 20px;
    background-color: #fdfcf8;
    border-left: 6px solid #c5a300;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-title-icon {
    font-size: 2.8rem;
    color: #1c3d2d;
    padding: 10px;
    background: #f9f6e8;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px #c5a30022;
}

.page-title-text h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #1c3d2d;
    font-weight: 700;
}

.page-title-text .subtitle {
    margin-top: 4px;
    font-size: 1rem;
    color: #444;
    font-weight: 400;
}

/* === Header === */
.site-header {
    background-color: #1c3d2d;
    padding: 16px 24px;
    color: white;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.site-logo:hover {
    text-decoration: underline;
}

.site-logo img {
    height: 62px;
    width: auto;
    display: block;
    
}

.main-nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* === Footer === */
.site-footer {
    margin-top: 40px;
    padding: 24px;
    background-color: #1c3d2d;
    text-align: center;
    font-size: 0.9rem;
    color: white;
    border-top: 1px solid #ddd;
}

.footer-links {
    margin-top: 8px;
}

.site-footer a,
.site-footer a:visited {
    color: white;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* === Submit Form === */
.submit-form-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
}

.submit-form {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.submit-form .form-group {
    flex: 1 1 48%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.submit-form .form-group.full-width {
    flex: 1 1 100%;
}

.submit-form label {
    font-weight: bold;
    margin-bottom: 6px;
}

.submit-form input,
.submit-form select,
.submit-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.submit-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-form button {
    margin-top: 20px;
    background-color: #1c3d2d;
    color: white;
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-form button:hover {
    background-color: #006e47;
}

/* === Responsive Adjustments === */
@media (max-width: 600px) {
    .submit-form {
        flex-direction: column;
    }

    .submit-form .form-group {
        min-width: 100%;
    }
}

/* === Enhanced Form Field Grid System === */
.form-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.form-col-50 {
    flex: 1 1 48%;
    min-width: 280px;
}

.form-col-33 {
    flex: 1 1 31%;
    min-width: 200px;
}

.form-col-100 {
    flex: 1 1 100%;
}

/* === Optional Field Descriptions and Help Text === */
.form-group small,
.field-description {
    color: #666;
    font-size: 0.85rem;
    margin-top: 4px;
    line-height: 1.4;
}

/* === Section Titles Within the Form === */
.form-section-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1c3d2d;
    margin: 30px 0 10px;
    border-left: 4px solid #c5a300;
    padding-left: 10px;
}

/* === Better File Upload Styling === */
input[type="file"] {
    border: 1px solid #ccc;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
}

input[type="file"]::file-selector-button {
    background: #c5a300;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
    background: #b59700;
}

/* === Tag Input or Multi-Input Field Simulation === */
.tag-input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    min-height: 48px;
}

.tag-input-group input {
    border: none;
    flex: 1;
    min-width: 120px;
    font-size: 0.95rem;
}

.tag-chip {
    background: #f1eacc;
    color: #1c3d2d;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-chip .remove-tag {
    cursor: pointer;
    font-weight: bold;
    color: #c00;
    font-size: 1rem;
}

/* === Error / Validation Message Styling === */
.form-error {
    color: #c00;
    font-size: 0.85rem;
    margin-top: 4px;
}

input:invalid,
textarea:invalid,
select:invalid {
    border-color: #c00;
}

/* ========== MODERN SUBMIT FORM STYLES ========== */
.submit-form-wrapper {
    max-width: 880px;
    margin: 60px auto;
    background: #ffffff;
    padding: 40px 36px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

/* Form Header */
.submit-form-wrapper .section-label {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1c3d2d;
    margin-bottom: 32px;
    border-left: 6px solid #c5a300;
    padding-left: 16px;
}

/* Layout */
.submit-form-wrapper .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.submit-form-wrapper .form-group {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
}

.submit-form-wrapper .form-group.full-width {
    flex: 1 1 100%;
}

/* Labels */
.submit-form-wrapper label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #002b1e;
    margin-bottom: 8px;
}

/* Inputs & Textarea */
.submit-form-wrapper input,
.submit-form-wrapper select,
.submit-form-wrapper textarea {
    background-color: #f8f9fa;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    color: #333;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.submit-form-wrapper textarea {
    min-height: 140px;
    resize: vertical;
}

/* Focus */
.submit-form-wrapper input:focus,
.submit-form-wrapper textarea:focus,
.submit-form-wrapper select:focus {
    border-color: #c5a300;
    box-shadow: 0 0 0 3px rgba(197, 163, 0, 0.18);
    outline: none;
}

/* File Uploads */
.submit-form-wrapper input[type="file"] {
    background: white;
    padding: 10px;
    font-size: 0.9rem;
}

/* Button */
.submit-form-wrapper .cta-button {
    background: #1c3d2d;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.25s ease;
}

.submit-form-wrapper .cta-button:hover {
    background: #006c42;
}

/* Responsive */
@media (max-width: 768px) {
    .submit-form-wrapper .form-row {
        flex-direction: column;
    }

    .submit-form-wrapper {
        padding: 24px 18px;
    }

    .submit-form-wrapper .cta-button {
        width: 100%;
    }
}




.paper-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fdfdfd;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', sans-serif;
}

.paper-back-btn-section {
    padding: 20px 0;
    text-align: center;
}

.paper-back-btn {
    font-size: 14px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
}

.paper-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* HEADER BLOCK */
.paper-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    background-color: #1c3d2d;
    padding: 24px;
    border-radius: 16px;
    color: #ffffff;
}

.paper-thumbnail-wrapper {
    flex: 0 0 160px;
}

.paper-thumbnail {
    width: 160px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff33;
}

.paper-header-text {
    flex: 1;
}

.paper-title {
    font-size: 28px;
    margin-bottom: 8px;
    color: #ffffff;
}

.paper-meta {
    font-size: 14px;
    color: #cceee0;
}

/* SECTION LABELS AND BODY */
.paper-section-label {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
}

.paper-body-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    white-space: pre-line;
}

/* DOWNLOAD BUTTON */
.paper-download-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #006644;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.paper-download-btn:hover {
    background: #1c3d2d;
}

/* CITATION TEXT */
.paper-citation-text {
    font-size: 15px;
    color: #444;
    font-style: italic;
}

.paper-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    background-color: #e6f0eb; /* soft green that contrasts with site header */
    padding: 24px;
    border-radius: 16px;
}

.paper-summary .paper-thumbnail-wrapper {
    flex: 0 0 160px;
}

.paper-summary .paper-thumbnail {
    width: 160px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #d1e7dd;
    background: white;
}

.paper-summary .paper-header-text {
    flex: 1;
}

.paper-summary .paper-title {
    font-size: 28px;
    margin-bottom: 8px;
    color: #1c3d2d;
}

.paper-summary .paper-meta {
    font-size: 14px;
    color: #336b57;
}


