/* Movement Engineering Lab - Modernized Styles */
/* Universidad Catolica del Uruguay */

:root {
  --primary: #005492;
  --primary-strong: #003c6a;
  --secondary: #0d7db8;
  --tertiary: #5ba8d0;
  --accent: #4fc3d9;

  --text: #132033;
  --text-light: #4f6077;

  --background: #f3f7fb;
  --background-alt: #ebf2f9;
  --surface: #ffffff;
  --surface-soft: #f8fbff;

  --border: #d7e2ef;
  --border-card: #cfdae7;

  --shadow-sm: 0 2px 10px rgba(9, 36, 66, 0.08);
  --shadow-md: 0 12px 28px rgba(9, 36, 66, 0.14);
  --shadow-lg: 0 24px 50px rgba(8, 29, 56, 0.18);
  --shadow-primary: 0 16px 32px rgba(0, 84, 146, 0.2);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 7% 0%, rgba(91, 168, 208, 0.1), transparent 35%),
    radial-gradient(circle at 92% 20%, rgba(0, 84, 146, 0.08), transparent 30%),
    var(--background);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  line-height: 1.22;
  margin-bottom: 0.5em;
  letter-spacing: -0.015em;
  color: var(--primary-strong);
}

h1 { font-size: clamp(2.3rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.7rem, 2.7vw, 2.3rem); margin-top: 2.2rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary);
}

/* Layout */
main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 2.5rem;
  min-height: calc(100vh - 220px);
}

article {
  max-width: 980px;
  margin: 0 auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 110;
  color: #fff;
  background: linear-gradient(90deg, rgba(2, 44, 78, 0.95), rgba(0, 84, 146, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.header-content {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  color: #fff;
  text-decoration: none;
}

.logo {
  height: 48px;
  width: auto;
}

.site-title {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.site-title .title {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.site-title .subtitle {
  font-size: 0.82rem;
  opacity: 0.9;
}

nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

nav a {
  position: relative;
  color: #fff;
  opacity: 0.92;
  padding: 0.55rem 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

nav a:hover,
nav a.active {
  opacity: 1;
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.ucu-logo-link {
  display: flex;
  align-items: center;
}

.ucu-logo {
  height: 34px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.ucu-logo-link:hover .ucu-logo {
  opacity: 1;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.lang-switcher .lang-current {
  color: #fff;
  font-weight: 700;
}

.lang-switcher .lang-link {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.lang-switcher .lang-link:hover {
  color: #fff;
}

.lang-switcher .lang-sep {
  color: rgba(255, 255, 255, 0.45);
}

/* Footer */
footer {
  background: linear-gradient(140deg, #003456, #005492 70%, #0b72aa);
  color: #fff;
  padding: 3.2rem 2rem 1.15rem;
  margin-top: 4.25rem;
}

.footer-content {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-section a {
  display: block;
  color: rgba(224, 242, 255, 0.88);
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: #fff;
}

.footer-section .logo {
  height: 108px;
  width: auto;
  margin-bottom: 0.8rem;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  max-width: 1220px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  text-align: center;
  font-size: 0.88rem;
  opacity: 0.86;
}

.footer-bottom a {
  color: #ddf2ff;
}

/* Section Divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3.25rem 0;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.4rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(0, 84, 146, 0.25);
}

.button:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
  filter: brightness(1.03);
}

.button-light {
  background: #fff;
  color: var(--primary-strong);
  border: 1px solid rgba(0, 60, 106, 0.2);
  box-shadow: 0 10px 20px rgba(8, 29, 56, 0.14);
}

.button-light:hover {
  color: var(--primary-strong);
  background: #eff7ff;
}

.button i {
  font-size: 0.98rem;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--surface-soft);
  color: var(--primary);
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.link-button:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tag {
  display: inline-block;
  padding: 0.26rem 0.75rem;
  background: linear-gradient(145deg, #eef8ff, #e2f2fb);
  color: var(--primary-strong);
  border-radius: 999px;
  border: 1px solid #cce4f3;
  font-size: 0.83rem;
  font-weight: 600;
}

/* Cards */
.list-card {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.55rem;
  margin: 1.8rem 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-3px);
  border-color: #a9c7df;
  box-shadow: var(--shadow-md);
}

.card-image {
  height: 210px;
  overflow: hidden;
  background: var(--background-alt);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.06);
}

.card-content {
  padding: 1.45rem 1.35rem 1.5rem;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.card-title a {
  color: var(--primary-strong);
}

.card-subtitle {
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.card-description {
  color: var(--text-light);
  font-size: 0.95rem;
}

.card-tags,
.citation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

/* Portraits */
.list-portrait {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1.5rem;
  margin: 1.8rem 0;
}

.portrait {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.25rem 1rem 1rem;
  box-shadow: var(--shadow-sm);
}

.portrait a {
  display: block;
  color: inherit;
}

.portrait-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  margin: 0 auto 0.95rem;
  background: var(--background-alt);
  box-shadow: 0 10px 22px rgba(0, 84, 146, 0.16);
}

.portrait-name {
  font-size: 1.06rem;
  margin-bottom: 0.25rem;
}

.portrait-role {
  color: var(--text-light);
  font-size: 0.9rem;
}

.portrait-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

/* Citations */
.list-citation {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 1.8rem 0;
}

.citation {
  display: flex;
  gap: 1.4rem;
  padding: 1.35rem;
  border: 1px solid var(--border-card);
  border-left: 5px solid var(--primary);
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.citation.rich {
  flex-direction: row;
}

.citation-content {
  flex: 1;
}

.citation-title {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.citation-title a {
  color: var(--primary-strong);
}

.citation-authors {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}

.citation-meta {
  color: #5e7088;
  font-size: 0.88rem;
  font-style: italic;
}

.citation-description {
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.citation-image {
  width: 155px;
  flex-shrink: 0;
}

.citation-image img {
  width: 100%;
  border-radius: 10px;
}

/* Posts */
.list-post-excerpt {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.post-excerpt {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.post-title {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.post-meta time {
  margin-right: 1rem;
}

/* Search */
.search-box {
  position: relative;
  max-width: 450px;
  margin: 1rem 0;
}

.search-box input {
  width: 100%;
  padding: 0.72rem 1rem 0.72rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #95bddb;
  box-shadow: 0 0 0 3px rgba(13, 125, 184, 0.12);
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.search-info {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Figures */
figure {
  margin: 2rem 0;
}

figure img {
  max-width: 100%;
  border-radius: 12px;
}

figcaption {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Member Page */
.member-page .member-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.member-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.member-info .role {
  color: var(--text-light);
  font-size: 1.04rem;
}

.member-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Post Page */
.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.post-content {
  line-height: 1.8;
}

.post-content p {
  margin-bottom: 1.5rem;
}

/* Collaborators */
.collaborators-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.15rem;
  margin: 1.8rem 0;
}

.collaborator-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.collaborator-card:hover {
  transform: translateY(-2px);
  border-color: #acc9de;
  box-shadow: var(--shadow-md);
}

.collaborator-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collaborator-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.collaborator-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.collaborator-info h4 a {
  color: var(--primary-strong);
}

.collaborator-info .institution {
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.collaborator-info .description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(4, 49, 84, 0.86), rgba(0, 84, 146, 0.78) 55%, rgba(9, 118, 162, 0.74)),
    url('/images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: clamp(3.2rem, 6vw, 5.5rem) 2rem;
  margin: -2.5rem -2.5rem 2.3rem -2.5rem;
  text-align: left;
  border-radius: 0 0 24px 24px;
  box-shadow: var(--shadow-lg);
}

.hero::before {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 226, 255, 0.28), rgba(167, 226, 255, 0));
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  max-width: 760px;
  margin-bottom: 0.8rem;
}

.hero p {
  font-size: clamp(1.04rem, 1.75vw, 1.26rem);
  max-width: 760px;
  margin: 0 0 1.55rem;
  color: rgba(236, 247, 255, 0.94);
}

.hero .button {
  background: #fff;
  color: var(--primary-strong);
  box-shadow: 0 12px 22px rgba(3, 23, 42, 0.2);
}

.hero .button:hover {
  background: #e9f5ff;
}

.hero .button-light {
  background: rgba(245, 251, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(6px);
}

.hero .button-light:hover {
  color: #fff;
  background: rgba(245, 251, 255, 0.24);
}

.hero-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: rgba(237, 247, 255, 0.96);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-section {
  margin: 2rem 0;
}

.home-research-card .card-title {
  font-size: clamp(1.35rem, 2.2vw, 1.62rem);
  line-height: 1.25;
}

.home-research-card .card-subtitle {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--primary);
}

.home-research-card .card-description {
  font-size: 1rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin: 0;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--primary);
}

.section-link i {
  font-size: 0.85rem;
}

.home-impact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.impact-card {
  background: linear-gradient(145deg, #f7fcff, #eef7ff);
  border: 1px solid #cddff0;
  border-radius: 14px;
  padding: 1rem 1rem 0.92rem;
  box-shadow: var(--shadow-sm);
}

.impact-value {
  margin: 0;
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1;
  color: var(--primary-strong);
}

.impact-label {
  margin: 0.4rem 0 0;
  color: var(--text-light);
  font-size: 0.88rem;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.home-panel {
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.citation.featured {
  margin-top: 0.6rem;
  border-left-width: 6px;
}

.publication-empty {
  margin-top: 0.7rem;
  padding: 1rem;
  border-radius: 12px;
  background: #f5f9fd;
  border: 1px dashed #bcd2e6;
}

.publication-empty h3 {
  margin: 0;
  font-size: 1.05rem;
}

.publication-empty p {
  margin: 0.45rem 0 0;
  font-size: 0.94rem;
}

.post-excerpt.home-news-item {
  padding: 0.95rem 0 0.9rem;
}

.post-excerpt.home-news-item:first-child {
  padding-top: 0.4rem;
}

.post-excerpt.home-news-item .post-title {
  font-size: 1.15rem;
}

.post-excerpt.home-news-item .excerpt {
  margin-bottom: 0.4rem;
}

.home-portrait-card {
  min-height: 100%;
}

.home-cta {
  margin-top: 1.5rem;
  padding: 1.35rem;
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(2, 50, 86, 0.95), rgba(0, 84, 146, 0.9)),
    url('/images/background.jpg') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-cta h2 {
  color: #fff;
  margin: 0;
}

.home-cta p {
  margin: 0.45rem 0 0;
  color: rgba(235, 247, 255, 0.94);
  max-width: 760px;
}

.home-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* Tables - Mobile Responsive */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--background-alt);
  font-weight: 700;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero p,
  .hero .button {
    animation: rise-in 520ms ease both;
  }

  .hero p { animation-delay: 80ms; }
  .hero .button { animation-delay: 140ms; }

  .list-card .card,
  .list-portrait .portrait,
  .list-citation .citation {
    animation: rise-in 440ms ease both;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  main {
    padding: 1.35rem;
  }

  .hero {
    margin: -1.35rem -1.35rem 1.7rem -1.35rem;
    border-radius: 0 0 18px 18px;
    padding: 2.9rem 1.25rem;
  }

  .home-impact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.22rem; }

  .header-content {
    padding: 0.85rem 1rem;
  }

  .site-title .title {
    font-size: 1rem;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 0.3rem;
    padding: 0.6rem 0.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  nav.show {
    display: flex;
  }

  nav a {
    padding: 0.7rem 0;
  }

  nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .ucu-logo {
    height: 27px;
  }

  .footer-section .logo {
    height: 88px;
  }

  .hero {
    text-align: left;
    padding: 2.6rem 1rem;
    margin: -1.35rem -1.35rem 1.35rem -1.35rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-home .hero-actions {
    width: 100%;
  }

  .hero-home .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .home-impact {
    grid-template-columns: 1fr;
  }

  .list-card,
  .list-portrait,
  .collaborators-list {
    grid-template-columns: 1fr;
  }

  .home-panel {
    padding: 0.95rem;
  }

  .home-cta {
    padding: 1.1rem;
  }

  .home-cta-actions {
    width: 100%;
  }

  .home-cta-actions .button {
    width: 100%;
    justify-content: center;
  }

  .citation {
    flex-direction: column;
  }

  .citation-image {
    width: 100%;
  }

  .member-page .member-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
