/* Blog cards layout */
.blog-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07), 0 1.5px 4px rgba(97,11,74,0.08);
  padding: 1.5rem;
  width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.2s;
}

.blog-card:hover {
  box-shadow: 0 4px 16px rgba(97,11,74,0.15);
}

.blog-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #610b4a;
}

.blog-date {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 0.7rem;
}

.blog-snippet {
  flex: 1 0 auto;
  margin-bottom: 1rem;
  color: #333;
}

.read-more {
  align-self: flex-start;
  color: #610b4a;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.read-more:hover {
  color: #a03e7d;
  text-decoration: underline;
}

/* Company cards layout */
.company-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.company-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07), 0 1.5px 4px rgba(97,11,74,0.08);
  padding: 1.5rem;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: box-shadow 0.2s;
}

.company-card:hover {
  box-shadow: 0 4px 16px rgba(97,11,74,0.15);
}

.company-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.company-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #610b4a;
  font-size: 1.1rem;
}

.company-role {
  font-size: 0.95rem;
  color: #888;
}

.company-date {
  font-size: 0.85rem;
  color: #aaa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: #610b4a;
  color: white;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 5px;
}

/* Navbar layout: left-aligned logo, centered nav links */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.navbar-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.navbar-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.navbar-links .dot {
  margin: 0 0.5rem;
}

.logo {
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.logo-large {
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

header nav a:hover {
  text-decoration: underline;
}

homepage {
  font-size: 1.5rem;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
}

.signature {
  height: 40vmin;
  display: block;
  margin: 0 auto;
  pointer-events: none;
}

h1 {
  color: #610b4a;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* Remove underline and focus outline for anchor tags containing images */
a:has(img) {
  text-decoration: none;
  outline: none;
}

a:has(img):focus {
  outline: none;
}

footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

/* Centered image display for posters and featured content */
.image-display {
  text-align: center;
}

.image-display img {
  max-width: 100%;
  max-height: 60vh;
}

/* Hide logo on narrow screens */
@media (max-width: 324px) {
  .navbar-logo {
    width: 0;
    overflow: hidden;
  }
}
