/* ==============================
   Stories & Novels Page Styles
   Scoped only with sn-* classes
   ============================== */

/* General Page Setup */
.sn-body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f9ff;
  color: #222;
  line-height: 1.6;
}

/* Header */
.sn-header {
  background: #002244;
  padding: 12px 20px;
}

.sn-navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.sn-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
}

.sn-brand img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}

/* Page Title */
.sn-container {
  text-align: center;
  padding: 40px 20px 20px 20px;
}

.sn-page-title {
  font-size: 2rem;
  color: #002244;
  margin: 0;
}

/* Sections */
.sn-block {
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.sn-block h2 {
  font-size: 1.5rem;
  color: #004488;
  margin-bottom: 20px;
  border-left: 5px solid #004488;
  padding-left: 10px;
}

/* Grid Layout */
.sn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.sn-grid a {
  display: block;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.sn-grid a:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.sn-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.sn-grid a:hover img {
  transform: scale(1.05);
}

/* Footer */
.sn-footer {
  background: #002244;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  margin-top: 40px;
  font-size: 0.9rem;
}
