/* Base layout */
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: white; /* bright blue background */
  color: #111111;      /* switch to subtle black text for readability */
}

/* Blog list header */
.blog-header {
  text-align: center;
  padding: 40px 20px;
  background-color: #181818;
  border-bottom: 1px solid #333333;
}

.blog-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  color: #021B1D;
  margin: 0 0 10px;
}

.blog-header p {
  margin: 0;
  color: #bbbbbb;
  font-size: 0.98rem;
}

p.lede {
  color: #111827; /* near-black */
}

/* Blog grid */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding: 40px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Blog cards */
.blog-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.18);
  overflow: hidden;
  max-width: 380px;
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fadeInUp 0.7s ease forwards;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.28);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 18px 20px 16px;
}

.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  margin: 0 0 8px;
  color: #010c0e;
}

.card-excerpt {
  font-size: 0.98rem;
  color: #010c0e;
  margin: 0 0 10px;
  line-height: 1.5;
}

.card-meta {
  font-size: 0.85rem;
  color: #010c0e;
  margin-bottom: 14px;
}

/* Actions / icons */
.card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
}

.icon {
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.9;
}

.icon:hover {
  transform: scale(1.18);
  opacity: 1;
}

.icon.heart::before {
  content: "♥";
  color: #ff4d6a;
  margin-right: 4px;
}

.icon.share::before {
  content: "⇪";
  margin-right: 4px;
}

/* Optional like counter if you add it */
.counter {
  font-size: 0.85rem;
  margin-left: 4px;
  color: #ffd700;
}

/* Single post layout */
.post-hero {
  text-align: center;
  padding: 40px 20px 24px;
  background-color: #181818;
  border-bottom: 1px solid #333333;
}

.post-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.1rem;
  color: #f3fbfd;
  margin: 0 0 12px;
}

.post-meta {
  font-size: 0.9rem;
  color: #f3fbfd;
  margin: 0;
}

.post-container {
  max-width: 800px;
  margin: 32px auto 60px;
  padding: 0 20px;
}

.post-body p {
  line-height: 1.7;
  font-size: 1rem;
  color: #010c0e;
  margin: 0 0 16px;
}

.post-body h2,
.post-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 24px 0 12px;
  color: #181818;
}

/* Footer */
.blog-footer {
  text-align: center;
  padding: 18px 20px;
  background-color: #181818;
  border-top: 1px solid #333333;
  font-size: 0.85rem;
  color: #ffffff;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Confetti canvas (if you use it) */
.confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .blog-header h1 {
    font-size: 2rem;
  }

  .card-image {
    height: 180px;
  }

  .post-hero h1 {
    font-size: 1.8rem;
  }
}

.ov-brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #3a2614;
}

.ov-logo-wrap {
  width: 26px;              /* was 42px */
  height: 26px;             /* was 42px */
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff7ea, #f1c27d);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.ov-logo-spin {
  width: 70%;               /* still scales nicely inside */
  height: 70%;
  object-fit: contain;
  animation: ov-spin 9s linear infinite;
  transform-origin: 50% 50%;
}

.ov-brand-rest {
  text-transform: lowercase;
}

/* spin animation */
@keyframes ov-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* sample project 1 */
    .ov-hero {
      min-height: 100vh;
      padding: 60px 20px;
      background: radial-gradient(
        circle at top left,
        #764ba2 0%,
        #141321 45%,
        #0b0b26 100%
      );
      display: flex;
      align-items: center;
      justify-content: center;
      color: #f7fafc;
    }

    .ov-hero-inner {
      max-width: 1100px;
      width: 100%;
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
      gap: 40px;
      align-items: center;
    }

    .ov-copy h1 {
      font-size: clamp(2.3rem, 4vw, 3.2rem);
      line-height: 1.1;
      margin-bottom: 16px;
    }

    .ov-copy p {
      font-size: 1rem;
      max-width: 540px;
      color: #cbd5f5;
      margin-bottom: 18px;
    }

    .ov-points {
      list-style: none;
      padding: 0;
      margin: 0 0 24px 0;
    }

    .ov-points li {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      font-size: 0.95rem;
      color: #e2e8ff;
    }

    .ov-points li::before {
      content: "✔";
      font-size: 0.8rem;
      color: #68d391;
    }

    .ov-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 26px;
      border-radius: 999px;
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: #f7fafc;
      font-weight: 600;
      font-size: 0.98rem;
      text-decoration: none;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
      transition: transform 0.15s ease, box-shadow 0.15s ease,
        background 0.15s ease;
      border: none;
    }

    .ov-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6);
      background: linear-gradient(135deg, #7f9cf5, #9f7aea);
    }

    .ov-cta:active {
      transform: translateY(0);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    }

    .ov-preview-card {
      background: rgba(15, 23, 42, 0.9);
      border-radius: 20px;
      padding: 24px 22px;
      border: 1px solid rgba(148, 163, 255, 0.4);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
      position: relative;
      overflow: hidden;
    }

    .ov-preview-card::before {
      content: "";
      position: absolute;
      inset: -40%;
      background: conic-gradient(
        from 220deg,
        #667eea,
        #f97316,
        #22c55e,
        #06b6d4,
        #667eea
      );
      opacity: 0.15;
      filter: blur(40px);
      z-index: -1;
    }

    .ov-preview-img {
      width: 100%;
      border-radius: 16px;
      margin-bottom: 14px;
      display: block;
      object-fit: cover;
    }

    .ov-preview-card h2 {
      font-size: 1.2rem;
      margin-bottom: 8px;
    }

    .ov-preview-card p {
      font-size: 0.95rem;
      color: #cbd5f5;
      margin-bottom: 16px;
    }

    .ov-preview-tag {
      display: inline-flex;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(99, 102, 241, 0.18);
      border: 1px solid rgba(129, 140, 248, 0.7);
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #e0e7ff;
    }

    @media (max-width: 768px) {
      .ov-hero {
        padding: 40px 18px;
      }

      .ov-hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .ov-preview-card {
        order: -1;
      }
    }

    .system-table {
      width: 100%;
      max-width: 800px;
      margin: 30px auto;
      border-collapse: collapse;
      font-family: 'Inter', sans-serif;
      background-color: #ecf9fd; /* bright blue background */
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      border-radius: 12px;
      overflow: hidden;
    }
    
    .system-table thead {
      background-color: #0077b6; /* deep blue header */
      color: #fff;
    }
    
    .system-table th,
    .system-table td {
      padding: 16px 20px;
      text-align: left;
      font-size: 0.95em;
      border-bottom: 1px solid #ccc;
    }
    
    .system-table th {
      font-weight: 600;
      letter-spacing: 0.5px;
    }
    
    .system-table tbody tr:last-child td {
      border-bottom: none;
    }
    
    .system-table tbody tr:hover {
      background-color: #d6f0ff; /* subtle hover effect */
    }


