
Style · CSS
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
 
/* =====================================
   VARIABLES AND BASE
===================================== */
 
:root {
  --ink: #18313a;
  --muted: #61757b;
  --teal: #1e746d;
  --mint: #cce7dc;
  --paper: #f8faf8;
  --line: #dce7e2;
  --white: #fff;
  --dark: #102b34;
}
 
* {
  box-sizing: border-box;
}
 
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
}
 
a {
  color: var(--teal);
  text-decoration: none;
}
 
a:hover {
  text-decoration: underline;
}
 
.wrap {
  width: min(1100px, calc(100% - 36px));
  margin: auto;
}
 
main {
  padding: 36px 0 60px;
}
 
/* =====================================
   HERO
===================================== */
 
.hero {
  background:
    radial-gradient(circle at 85% 10%, #2c8078 0, transparent 27%),
    linear-gradient(130deg, #102b34, #1b464b 70%, #245f5b);
  color: #fff;
  padding: 55px 0 42px;
  position: relative;
  overflow: hidden;
}
 
.hero:after {
  content: 'DNA  ·  RNA  ·  IMMUNOLOGY';
  position: absolute;
  right: -25px;
  bottom: 5px;
  font-size: clamp(20px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: .13em;
  color: #ffffff0b;
  white-space: nowrap;
}
 
.hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
 
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .72rem;
  font-weight: 700;
  color: #a8d8cc;
}
 
.hero h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 14px 0 10px;
  letter-spacing: -.04em;
}
 
.hero p {
  margin: 6px auto;
  max-width: 760px;
  color: #d5e7e3;
}
 
.hero .focus {
  color: #a8d8cc;
  font-size: .92rem;
  margin-top: 18px;
}
 
/* =====================================
   NAVIGATION
===================================== */
 
.nav {
  background: #1e746d;
  border-bottom: 1px solid #165c56;
  box-shadow: 0 2px 10px rgba(16, 43, 52, 0.18);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0;
}

.nav a {
  color: #e6f4ef;
  font-size: .9rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
}

.nav a.active,
.nav a.active:hover {
  background: #ffffff;
  color: #17615b;
}

/* Phones and small tablets: two tidy rows of four */
@media (max-width: 760px) {
  .nav-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 0;
  }

  .nav a {
    padding: 9px 4px;
    font-size: .8rem;
  }
}

@media (max-width: 380px) {
  .nav a {
    font-size: .74rem;
  }
}
 
/* =====================================
   SECTION HEADINGS
===================================== */
 
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin: 0 0 18px;
}
 
.section-head h2,
.page-title {
  font-family: Manrope, sans-serif;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
 
.section-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .92rem;
}
 
/* =====================================
   CARDS
===================================== */
 
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
 
.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
 
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px #173c3510;
}
 
.cover {
  height: 170px;
  background: linear-gradient(135deg, #173b45, #27786f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8e6dd;
  position: relative;
  overflow: hidden;
}
 
.cover:before,
.cover:after {
  content: '';
  position: absolute;
  border: 1px solid #bce8d940;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  transform: rotate(-20deg);
}
 
.cover:after {
  width: 120px;
  height: 240px;
  transform: rotate(50deg);
}
 
.cover span {
  font-size: 2rem;
  z-index: 1;
  font-weight: 800;
  letter-spacing: .06em;
}
 
.card-body {
  padding: 17px 18px 20px;
}
 
.tag {
  display: inline-block;
  color: var(--teal);
  background: #eaf5f0;
  border-radius: 30px;
  padding: 3px 9px;
  font-size: .72rem;
  font-weight: 700;
}
 
.card h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.35;
  font-size: 1.08rem;
  margin: 10px 0 6px;
}
 
.card p {
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}
 
.read {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: .87rem;
}
 
/* =====================================
   METRICS
===================================== */
 
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 42px;
}
 
.metric {
  background: #eaf4ef;
  border: 1px solid #d7e9e0;
  border-radius: 14px;
  padding: 19px;
  text-align: center;
}
 
.metric strong {
  font: 800 1.8rem Manrope, sans-serif;
  display: block;
  color: #1e665f;
}
 
.metric span {
  font-size: .8rem;
  color: #58716e;
}
 
.note {
  color: var(--muted);
  font-size: .8rem;
  margin-top: 10px;
}
 
/* =====================================
   PUBLICATIONS
===================================== */
 
.pub-list {
  display: grid;
  gap: 12px;
}
 
.pub {
  background: white;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 13px;
}
 
.pub h3 {
  font: 700 1rem/1.4 Manrope, sans-serif;
  margin: 0 0 7px;
}
 
.pub p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
}
 
.pub .doi {
  display: inline-block;
  margin-top: 9px;
  font-size: .83rem;
  font-weight: 700;
}
 
/* =====================================
   GENERAL CONTENT PAGES
===================================== */
 
.content {
  max-width: 820px;
}
 
.content p,
.content li {
  color: #344f54;
}
 
.content h2 {
  font: 700 1.35rem Manrope, sans-serif;
  margin-top: 28px;
}
 
.content h3 {
  font: 700 1.08rem Manrope, sans-serif;
}
 
/* =====================================
   TIMELINE
===================================== */
 
.timeline {
  border-left: 2px solid #cce4da;
  margin: 25px 0 0 8px;
  padding-left: 24px;
  display: grid;
  gap: 24px;
}
 
.timeline-item {
  position: relative;
}
 
.timeline-item:before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  left: -30px;
  top: 9px;
}
 
.timeline h3 {
  margin: 0;
  font: 700 1.08rem Manrope, sans-serif;
}
 
.timeline .date {
  font-size: .8rem;
  color: var(--teal);
  font-weight: 700;
}
 
.timeline p {
  margin: 5px 0;
  color: var(--muted);
}
 
/* =====================================
   BLOG POST
===================================== */
 
.post-hero {
  height: 230px;
  border-radius: 18px;
  background: linear-gradient(130deg, #102b34, #24766d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cde9df;
  font: 800 clamp(2rem, 6vw, 4rem) Manrope, sans-serif;
  letter-spacing: .08em;
  margin: 20px 0 28px;
}
 
/* CMS-uploaded blog images */
 
.cover-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
 
.post-cover-image {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 16px;
  margin: 22px 0;
}
 
.post-body p {
  line-height: 1.8;
}
 
/* =====================================
   FOOTER
===================================== */
 
.footer {
  background: var(--dark);
  color: #c5d9d5;
  padding: 28px 0;
  font-size: .85rem;
}
 
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
 
.footer a {
  color: #a9dacf;
}
 
/* =====================================
   SMALL UTILITIES
===================================== */
 
.button {
  display: inline-block;
  border: 1px solid #b9d9ce;
  border-radius: 9px;
  padding: 9px 13px;
  font-weight: 700;
  font-size: .87rem;
}
 
.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0;
}
 
.pill {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 5px 11px;
  font-size: .82rem;
  background: #fff;
}
 
.callout {
  background: #edf6f1;
  border-left: 3px solid var(--teal);
  padding: 14px 17px;
  border-radius: 0 10px 10px 0;
  color: #355752;
}
 
.small {
  font-size: .85rem;
  color: var(--muted);
}
 
/* =====================================
   MOBILE
===================================== */
 
@media (max-width: 650px) {
  .grid {
    grid-template-columns: 1fr;
  }
 
  .cover {
    height: 150px;
  }
 
  .metrics {
    gap: 7px;
  }
 
  .metric {
    padding: 13px 6px;
  }
 
  .metric strong {
    font-size: 1.4rem;
  }
 
  .nav-inner {
    gap: 12px;
  }
 
  .nav a {
    font-size: .82rem;
  }
 
  .hero {
    padding: 42px 0 34px;
  }
 
  .section-head {
    align-items: start;
    flex-direction: column;
  }
}


/* =====================================
   FEATURED PROJECT
===================================== */

.featured-project-section {
  margin-top: 48px;
}

.featured-project-section .section-heading {
  text-align: center;
  margin-bottom: 26px;
}

.featured-project-section .section-heading h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
  margin-bottom: 8px;
}

.featured-project-section .section-subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: .95rem;
}

/* Main project card */

.featured-project-section .project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 35px;
  padding: 38px 42px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 10%, #347d75 0, transparent 35%),
    linear-gradient(130deg, #102b34, #1b464b 70%, #245f5b);
  color: #fff;
  box-shadow: 0 12px 32px rgba(16, 43, 52, .15);
  overflow: hidden;
}

/* Project text */

.featured-project-section .project-feature-text h3 {
  font-family: Manrope, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.2;
  color: #fff;
  margin: 0 0 8px;
}

.featured-project-section .project-tagline {
  color: #a8d8cc;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 16px;
}

.featured-project-section .project-feature-text > p:not(.project-tagline) {
  color: #d5e7e3;
  max-width: 720px;
  font-size: .94rem;
  line-height: 1.8;
  margin: 0;
}

/* Project category tags */

.featured-project-section .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.featured-project-section .project-tag {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #a8d8cc55;
  border-radius: 30px;
  background: #ffffff12;
  color: #e0f2eb;
  font-size: .78rem;
  font-weight: 600;
}

/* Project buttons */

.featured-project-section .project-feature-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 175px;
}

.featured-project-section .project-button {
  display: inline-block;
  padding: 11px 17px;
  border-radius: 9px;
  background: #cce7dc;
  border: 1px solid #cce7dc;
  color: #153b3b;
  text-align: center;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}

.featured-project-section .project-button:hover {
  background: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.featured-project-section .project-button-light {
  background: transparent;
  color: #fff;
  border-color: #a8d8cc;
}

.featured-project-section .project-button-light:hover {
  background: #ffffff18;
  color: #fff;
}

/* Tablet and mobile */

@media (max-width: 760px) {
  .featured-project-section .project-feature {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 26px;
  }

  .featured-project-section .project-feature-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .featured-project-section .project-feature {
    padding: 25px 20px;
  }

  .featured-project-section .project-feature-actions {
    flex-direction: column;
  }

  .featured-project-section .project-button {
    width: 100%;
  }
}


/* =====================================
   BLOG LISTING PAGE
===================================== */

.blog-heading {
  text-align: center;
  margin-bottom: 28px;
}

.blog-heading h2,
.blog-heading p {
  text-align: center;
}

.blog-main {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 45px;
}

.blog-heading {
  margin-bottom: 28px;
}

.blog-heading h2 {
  margin-bottom: 8px;
}

.blog-heading p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

/* Three columns on desktop */

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.blog-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-grid .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-grid .card-body .read {
  margin-top: auto;
  padding-top: 14px;
}

.blog-grid .cover {
  height: 185px;
}

.blog-grid .cover-image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-grid .card h3 {
  font-size: 1.08rem;
  line-height: 1.4;
  margin: 12px 0 8px;
}

.blog-grid .card p {
  line-height: 1.65;
}

/* Two columns on tablets */

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* One column on phones */

@media (max-width: 580px) {
  .blog-main {
    width: calc(100% - 30px);
    padding-top: 30px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-grid .cover {
    height: 190px;
  }
}


/* =====================================
   INDIVIDUAL BLOG ARTICLE PAGE
===================================== */

.article-main {
  width: min(1200px, calc(100% - 64px));
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 0 75px;
}

.blog-article {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

/* Article title */

.blog-article .page-title {
  font-family: Manrope, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.25;
  margin: 18px 0 12px;
  color: var(--ink);
}

/* Article introduction and metadata */

.blog-article > p {
  color: #344f54;
  font-size: 1.02rem;
  line-height: 1.85;
}

.blog-article > .small {
  color: var(--muted);
  font-size: .88rem;
}

/* Article cover image */

.blog-article .post-cover-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  margin: 25px 0 32px;
}

/* Article body */

.blog-article .post-body {
  width: 100%;
  max-width: 100%;
  color: #344f54;
  font-size: 1.04rem;
  line-height: 1.9;
}

.blog-article .post-body p {
  text-align: justify;
  text-justify: inter-word;
  margin: 0 0 20px;
  line-height: 1.9;
}

.blog-article .post-body h2 {
  font: 700 1.65rem/1.35 Manrope, sans-serif;
  color: var(--ink);
  margin: 38px 0 15px;
}

.blog-article .post-body h3 {
  font: 700 1.3rem/1.4 Manrope, sans-serif;
  color: var(--ink);
  margin: 30px 0 12px;
}

.blog-article .post-body ul,
.blog-article .post-body ol {
  padding-left: 28px;
  margin: 12px 0 22px;
  line-height: 1.85;
}

.blog-article .post-body li {
  margin-bottom: 7px;
}

.blog-article .post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 18px 0;
}

.blog-article .post-body blockquote {
  border-left: 4px solid var(--teal);
  margin: 24px 0;
  padding: 12px 22px;
  background: #edf6f1;
  border-radius: 0 10px 10px 0;
  color: #355752;
}

.blog-article .post-body a {
  text-decoration: underline;
}

.blog-article .post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .92rem;
}

.blog-article .post-body th,
.blog-article .post-body td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.blog-article .post-body th {
  background: #eaf4ef;
  color: var(--ink);
}

/* Mobile article layout */

@media (max-width: 650px) {
  .article-main {
    width: calc(100% - 32px);
    padding: 30px 0 50px;
  }

  .blog-article .post-body {
    font-size: .98rem;
    line-height: 1.8;
  }

  .blog-article .post-body p {
    line-height: 1.8;
  }

  .blog-article .post-body h2 {
    font-size: 1.4rem;
    margin-top: 30px;
  }

  .blog-article .post-body h3 {
    font-size: 1.18rem;
  }
}


/* BLOG ARTICLE METADATA */

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.view-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
}

.view-count span {
  font-size: 1rem;
}


/* HOMEPAGE RECENT BLOG VIEW COUNTS */

.recent-publication {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.recent-publication-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.recent-blog-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.recent-blog-views span {
  color: var(--teal);
}


