/* Base Reset and Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  line-height: 1.5;
  color: #374151;
  background: linear-gradient(to bottom, #fce9fc, #fbeffc, #f0efff);
  min-height: 100vh;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Navigation */
header nav {
  background: #ffffff;
  padding: 1rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #f3f4f6;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
}

header nav .logo img {
  height: 2rem;
  width: auto;
}

header nav .nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

header nav .nav-links a,
header nav .nav-links button {
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

header nav .nav-links a:hover,
header nav .nav-links button:hover {
  color: #2563eb;
}

header nav .nav-links .btn-login {
  background: #2563eb;
  color: white;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 0.25rem;
  line-height: 1.25rem;
}

header nav .nav-links .btn-login:hover {
  background: #1d4ed8;
}

/* Dropdown Navigation */
header nav .nav-dropdown {
  position: relative;
}

header nav .nav-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
}

header nav .nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  padding-top: 0.5rem;
  background: transparent;
  min-width: 10rem;
  z-index: 50;
}

header nav .nav-dropdown:hover .dropdown-menu {
  display: block;
}

header nav .nav-dropdown .dropdown-menu::before {
  content: '';
  display: block;
  height: 0.5rem;
}

header nav .nav-dropdown .dropdown-menu-inner {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

header nav .nav-dropdown .dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}

header nav .nav-dropdown .dropdown-menu a:hover {
  background: #f9fafb;
  color: #2563eb;
}

/* Mobile Menu Toggle Button - Hidden by default, shown on mobile */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
}

.mobile-menu-toggle span {
  width: 2rem;
  height: 0.2rem;
  background: #374151;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.mobile-menu-toggle.active span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile-specific styles - only apply below 768px */
@media (max-width: 767px) {
  /* Show hamburger button on mobile */
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Hide nav links by default on mobile */
  header nav .nav-links {
    display: none;
    position: fixed;
    right: 0;
    top: 72px;
    height: calc(100vh - 72px);
    width: 100%;
    max-width: 300px;
    background: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    z-index: 90;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  
  /* Show nav when active */
  header nav .nav-links.active {
    display: flex;
  }
  
  header nav .nav-links > a,
  header nav .nav-links .nav-dropdown {
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
  }
  
  header nav .nav-links .nav-dropdown .dropdown-toggle {
    padding: 0;
    width: 100%;
    justify-content: space-between;
  }
  
  /* Mobile dropdown */
  header nav .nav-links .nav-dropdown .dropdown-menu {
    position: static;
    display: none;
    padding: 0;
    margin-top: 0.75rem;
    background: transparent;
  }
  
  header nav .nav-links .nav-dropdown.active .dropdown-menu {
    display: block;
  }
  
  header nav .nav-links .nav-dropdown .dropdown-menu-inner {
    box-shadow: none;
    border: none;
    background: #f9fafb;
    border-radius: 0.25rem;
  }
  
  /* Lock body scroll when mobile menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

/* Desktop styles - 768px and above */
@media (min-width: 768px) {
  header nav {
    padding: 1rem 1.25rem;
  }
  header nav .nav-links {
    display: flex;
  }
}

@media (min-width: 1024px) {
  header nav {
    padding: 1rem 1.5rem;
  }
}

/* Footer */
footer {
  background: #ffffff;
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

footer .footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 2rem;
}

footer .footer-logo {
  margin-bottom: 2rem;
}

footer .footer-logo img {
  height: 2rem;
  width: auto;
}

footer .footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

footer .footer-section h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

footer .footer-section ul {
  list-style: none;
}

footer .footer-section ul li {
  margin-bottom: 0.5rem;
}

footer .footer-section ul li a {
  color: #6b7280;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

footer .footer-section ul li a:hover {
  color: #111827;
}

footer .footer-section ul li a svg {
  width: 1rem;
  height: 1rem;
}

footer .footer-bottom {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer .footer-bottom-text {
  font-size: 0.875rem;
  color: #6b7280;
}

footer .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
}

footer .footer-bottom-links a {
  color: #6b7280;
  text-decoration: none;
}

footer .footer-bottom-links a:hover {
  color: #374151;
}

@media (min-width: 768px) {
  footer .footer-content {
    flex-direction: row;
  }
  
  footer .footer-logo {
    margin-bottom: 0;
  }
  
  footer .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Homepage Styles */
.hero-section {
  padding: 4rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text {
  z-index: 10;
}

.hero-text h1 {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 2.5rem;
  margin-bottom: 1.5rem;
  color: #1f2937;
  letter-spacing: -0.025em;
}

.hero-text p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
  max-width: 32rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.strato-button {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: background 0.2s;
  display: inline-block;
}

.strato-button:hover {
  background: #1d4ed8;
}

.strato-button-outline {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  color: #374151;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  transition: all 0.2s;
  display: inline-block;
}

.strato-button-outline:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 20rem;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 4rem 0 8rem 0;
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-text {
    width: 50%;
    padding-right: 3rem;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.025em;
  }
  
  .hero-image {
    width: 50%;
    height: 24rem;
  }
}

/* Featured Assets Section */
.featured-section {
  padding: 4rem 0;
}

.featured-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.assets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.asset-card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.asset-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.asset-card img {
  width: 100%;
  height: auto;
  max-height: 15rem;
  display: block;
  object-fit: contain;
  background: white;
  padding: 1.5rem;
}

.asset-card-content {
  padding: 1rem 1.5rem 1.5rem;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.asset-card-content p {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5rem;
}

.asset-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
}

.asset-card-link:hover {
  background: #f9fafb;
}

@media (min-width: 768px) {
  .assets-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* How It Works Section */
.how-it-works-section {
  padding: 4rem 0;
  background: #f6fafb;
  position: relative;
  overflow: hidden;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(0, 0, 0, 0.03) 35px, rgba(0, 0, 0, 0.03) 36px),
    repeating-linear-gradient(60deg, transparent, transparent 35px, rgba(0, 0, 0, 0.03) 35px, rgba(0, 0, 0, 0.03) 36px),
    repeating-linear-gradient(120deg, transparent, transparent 35px, rgba(0, 0, 0, 0.03) 35px, rgba(0, 0, 0, 0.03) 36px);
  opacity: 0.1;
  z-index: 0;
}

.how-it-works-section .container {
  position: relative;
  z-index: 10;
}

.how-it-works-section .process-label {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  color: #374151;
  font-size: 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.how-it-works-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1f2937;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step-card {
  padding: 1.5rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-card:hover {
  box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.1);
}

.step-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  background: #dbeafe;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.step-icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.step-number {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2563eb;
  margin-bottom: 0.5rem;
  letter-spacing: 0.025em;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

main h2 {
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
}

main h1 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
}

main p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

/* People Page */
.people-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.person-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}

.person-card:hover {
  box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.1);
}

.person-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.person-photo {
  display: flex;
  justify-content: center;
}

.person-photo img {
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  object-fit: cover;
}

.person-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.person-info h3 a {
  color: #1f2937;
  text-decoration: none;
}

.person-info h3 a:hover {
  color: #2563eb;
}

.person-role {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.person-description {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.person-social-links-index {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.person-social-links-index a {
  color: #6b7280;
  transition: color 0.2s;
}

.person-social-links-index a:hover {
  color: #2563eb;
}

.person-social-links-index .wikipedia-icon {
  width: 16px;
  height: 16px;
}

.person-interview-link {
  margin-top: 0.75rem;
}

.interview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.interview-link:hover {
  color: #1d4ed8;
}

.interview-svg {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .people-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .person-header {
    flex-direction: row;
    gap: 1.5rem;
  }
  
  .person-photo {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .people-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Blog/Articles Page */
.blog-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.blog-main {
  flex: 1;
}

.blog-main h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.blog-post-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}

.blog-post-card:hover {
  box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.1);
}

.blog-post-image {
  width: 100%;
  height: auto;
}

.blog-post-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.blog-post-content {
  padding: 2rem;
}

.blog-post-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  margin-top: 0;
  line-height: 1.3;
}

.blog-post-content h2 a {
  color: #1f2937;
  text-decoration: none;
}

.blog-post-content h2 a:hover {
  color: #2563eb;
}

.blog-post-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.blog-post-excerpt {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.blog-post-category {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.blog-read-more {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.blog-read-more:hover {
  color: #1d4ed8;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-section {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  margin-top: 0;
}

.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts-list li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.recent-posts-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-posts-list a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.5;
  display: block;
}

.recent-posts-list a:hover {
  color: #2563eb;
}

.sidebar-select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #374151;
  background: white;
  cursor: pointer;
}

.sidebar-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Person Detail Page Spacing */
.person-content {
  margin-top: 3rem;
}

/* Article Featured Image */
.article-featured-image {
  margin-bottom: 2rem;
}

.article-featured-image img {
  max-width: 50%;
  height: auto;
  display: block;
}

@media (min-width: 1024px) {
  .blog-container {
    flex-direction: row;
    gap: 3rem;
  }
  
  .blog-main {
    flex: 1;
    max-width: 66.666667%;
  }
  
  .blog-sidebar {
    width: 300px;
    flex-shrink: 0;
  }
}

/* Videos Page */
.videos-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}

.video-card:hover {
  box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.video-thumbnail a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.video-card:hover .video-thumbnail img {
  opacity: 0.8;
}

.video-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  font-size: 1.5rem;
  transition: all 0.2s;
  padding-left: 0.25rem;
  pointer-events: none;
}

.video-card:hover .play-button {
  background: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 1.5rem;
}

.video-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.video-info h3 a {
  color: #1f2937;
  text-decoration: none;
}

.video-card:hover .video-info h3 a {
  color: #2563eb;
}

.video-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.video-description,
.video-excerpt {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .video-card {
    flex-direction: row;
  }
  
  .video-thumbnail {
    width: 180px;
    padding-bottom: 0;
    height: auto;
    min-height: 101px;
  }
  
  .video-thumbnail a {
    position: relative;
    padding-bottom: 56.25%;
  }
  
  .video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Article and Video Detail Pages */
.back-link {
  margin-bottom: 2rem;
}

.back-link a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.back-link a:hover {
  color: #2563eb;
}

article header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

article header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  margin-bottom: 1rem;
}

article .content-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

article .content-meta a {
  color: #6b7280;
  text-decoration: none;
}

article .content-meta a:hover {
  color: #2563eb;
}

article .article-description {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.75;
  margin-top: 1.5rem;
  font-style: italic;
}

article .article-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}

article .article-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

article .article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

article .article-content p {
  margin-bottom: 1.25rem;
}

article .article-content ul,
article .article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

article .article-content li {
  margin-bottom: 0.5rem;
}

article .article-content a {
  color: #2563eb;
  text-decoration: underline;
}

article .article-content a:hover {
  color: #1d4ed8;
}

article .article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

article .article-content blockquote {
  border-left: 4px solid #e5e7eb;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #6b7280;
  font-style: italic;
}

article .article-content code {
  background: #f3f4f6;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

article .article-content pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

article .article-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

article .article-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.875rem;
}

article .article-tags .tag {
  display: inline-block;
  background: #f3f4f6;
  color: #4b5563;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-right: 0.5rem;
}

@media (min-width: 768px) {
  article header h1 {
    font-size: 2.5rem;
  }
}

/* Category count styling */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 0.75rem;
}

.category-list a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-list a:hover {
  color: #2563eb;
}

.category-count {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

/* Back-links indent fix */
.back-links-list {
  padding-left: 1.5rem;
}
